A self-calibration device and calibration method for NVH harmonics in electric vehicles

By using an electric vehicle NVH harmonic self-calibration device and method, personalized harmonic suppression parameters are optimized for each vehicle, solving the harmonic noise problem caused by individual vehicle differences, and achieving optimal NVH performance and efficient adaptation to production line calibration.

CN123111718APending Publication Date: 2026-11-17CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611618155.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-20
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In the existing technology, due to the individual differences in the characteristics of the motor tooth slots, yokes, magnets and gear clearances of each vehicle, the method of using uniform fixed parameters cannot effectively suppress the differences in harmonic noise, resulting in some vehicles not achieving optimal NVH performance.

Method used

The electric vehicle NVH harmonic self-calibration device and method are adopted. Through the test host, noise acquisition device, signal conversion device and whole vehicle test bench, personalized harmonic suppression parameters are optimized for each vehicle. The harmonic current amplitude and phase angle are used for step-by-step optimization, and a two-dimensional map table is generated and stored in the motor controller to realize NVH optimization for each vehicle.

Benefits of technology

It achieves automatic optimization of the optimal harmonic suppression parameters based on the individual differences of each vehicle, ensuring that the harmonic noise of each vehicle achieves the best suppression effect and continuously exerts the suppression effect across the entire operating range without the need for real-time calculation, thus adapting to the cycle time requirements of the vehicle assembly line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123111718A_ABST
    Figure CN123111718A_ABST
Patent Text Reader

Abstract

This invention proposes a self-calibration device and method for NVH harmonics in electric vehicles, belonging to the field of vehicle harmonic calibration technology. It includes: a test host for writing harmonic injection parameters to the motor controller of the vehicle under test, receiving noise data, and determining harmonic suppression parameters based on the noise data; a noise collector for collecting noise signals during motor operation; a signal conversion device for converting the noise signals collected by the noise collector and transmitting them to the test host; and a vehicle test bench for supporting the vehicle under test and operating it under set conditions. The test host is also communicatively connected to the motor controller and vehicle controller of the vehicle under test, optimizing the harmonic injection parameters with the goal of minimizing noise, and writing the optimized harmonic suppression parameters into the non-volatile memory of the motor controller. This invention can automatically optimize the optimal harmonic suppression parameters for the individual differences of each vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of vehicle harmonic calibration technology, and particularly relates to an NVH harmonic self-calibration device and calibration method for electric vehicles. Background Technology

[0002] The harmonic calibration of electric vehicle noise, vibration, and harshness (NVH) is usually achieved by calibrating the direct-axis current id and quadrature-axis current iq of the drive motor to suppress the harmonic noise of the vehicle's drive motor and gear meshing noise. The motor calibration parameters are then written into the motor controller as firmware before the vehicle rolls off the production line.

[0003] However, due to individual differences in the characteristics of motor tooth slots, yokes, magnets, and gear clearances of each vehicle, the required harmonic suppression parameters also vary. Using standardized parameters cannot solve the problem of differences in harmonic noise between different vehicles, resulting in some vehicles not achieving optimal NVH performance. Summary of the Invention

[0004] To overcome the shortcomings of the prior art, this invention proposes an NVH harmonic self-calibration device and calibration method for electric vehicles, in order to solve the problem that individual differences exist in the characteristics of motor tooth slots, yokes, magnets and gear clearances of each vehicle, which makes it impossible for motor controllers using a uniform fixed parameter scheme to eliminate the differences in harmonic noise between different vehicles, and the NVH performance of some vehicles cannot reach the optimal level.

[0005] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: In a first aspect, the present invention discloses an NVH harmonic self-calibration device for electric vehicles, comprising: The test host is used to write harmonic injection parameters to the motor controller of the vehicle under test, receive noise data, and determine harmonic suppression parameters based on the noise data. A noise collector is used to collect noise signals during the operation of a drive motor. A signal conversion device, which is communicatively connected to the noise collector and the test host, is used to convert the noise signal collected by the noise collector and transmit it to the test host. A vehicle test bench is used to carry the vehicle under test and make the vehicle under test run under set working conditions; the vehicle test bench is a vehicle drum test bench, which carries the vehicle under test and controls the vehicle under test to run at a set speed. The test host is also connected to the motor controller and vehicle controller of the vehicle under test. It optimizes the harmonic injection parameters with the goal of minimizing noise and writes the optimized harmonic suppression parameters into the non-volatile memory of the motor controller.

[0006] In a further technical solution, the signal conversion device is an analog-to-CAN converter, used to convert the noise signal output by the noise collector into CAN protocol data and then transmit it to the test host.

[0007] In a further technical solution, the noise collector is positioned near the drive motor of the vehicle under test to collect near-field noise signals during the operation of the drive motor.

[0008] In a further technical solution, the test host communicates with the motor controller of the vehicle under test through a calibration protocol to write harmonic injection parameters to the motor controller and write the optimized harmonic suppression parameters to the non-volatile memory of the motor controller.

[0009] In a further technical solution, the set operating conditions are determined by writing a set torque command to the motor controller and a set vehicle speed command to the vehicle test bench. The test host converts the vehicle speed into the corresponding motor frequency based on the received motor speed to determine the frequency range of harmonic injection.

[0010] A further technical solution involves the harmonic injection parameters including harmonic current amplitude and harmonic current phase angle. By injecting the harmonic current amplitude and harmonic current phase angle into the motor controller, noise data under the corresponding operating conditions is collected, and optimization is performed with the goal of minimizing noise to obtain harmonic suppression parameters. Alternatively, the harmonic injection parameters include harmonic direct-axis current and harmonic quadrature-axis current. Harmonic suppression parameters are obtained by directly injecting harmonic direct-axis current and harmonic quadrature-axis current into the motor controller for optimization.

[0011] A further technical solution is that the optimization adopts a step-by-step optimization method: first, fix the harmonic current amplitude, and perform a traversal optimization of the harmonic current phase angle to obtain the harmonic current phase angle that minimizes noise; then, fix the harmonic current phase angle, and perform a traversal optimization of the harmonic current amplitude to obtain the harmonic current amplitude that minimizes noise.

[0012] In a further technical solution, the harmonic suppression parameters are stored in the form of a two-dimensional map table. The two-dimensional map table records the harmonic suppression parameters corresponding to each operating point, with motor torque and motor speed as the dimensions. When the motor controller is running, it looks up the corresponding harmonic suppression parameters in the table based on the current torque and speed.

[0013] In a further technical solution, the harmonic suppression parameters are written into the non-volatile memory of the motor controller via the XCP calibration protocol.

[0014] In a further technical solution, the test host receives fault alarm information from the vehicle controller in real time. When it receives fault alarm information that reaches the level of derating or power-down, it stops the harmonic injection parameter optimization process and controls the vehicle test bench to stop running.

[0015] Secondly, this invention discloses a method for self-calibrating NVH harmonics in electric vehicles, comprising: The vehicle under test is placed on a vehicle test bench, and communication connections are established between the test host and the motor controller and vehicle controller of the vehicle under test, as well as the signal transmission path between the test host and the noise acquisition unit. The vehicle under test is controlled to operate under set conditions. The noise signal of the drive motor is collected by a noise collector to obtain the noise reference data when no harmonics are injected. Harmonic injection parameters are injected into the motor controller, noise data under the corresponding operating conditions are collected, and the harmonic injection parameters are optimized with the goal of minimizing noise to obtain harmonic suppression parameters. The harmonic suppression parameters are written into the non-volatile memory of the motor controller, so that the motor controller can call the harmonic suppression parameters during operation; The vehicle test bench is a vehicle drum test bench, used to carry the vehicle under test and control the vehicle under test to run at a set speed.

[0016] In a further technical solution, the noise collector is positioned near the drive motor of the vehicle under test to collect near-field noise signals during the operation of the drive motor.

[0017] In a further technical solution, the test host communicates with the motor controller of the vehicle under test through a calibration protocol to write harmonic injection parameters to the motor controller and write the optimized harmonic suppression parameters to the non-volatile memory of the motor controller.

[0018] In a further technical solution, the set operating conditions are determined by writing a set torque command to the motor controller and a set vehicle speed command to the vehicle test bench. The test host converts the vehicle speed into the corresponding motor frequency based on the received motor speed to determine the frequency range of harmonic injection.

[0019] A further technical solution involves the harmonic injection parameters including harmonic current amplitude and harmonic current phase angle. By injecting the harmonic current amplitude and harmonic current phase angle into the motor controller, noise data under the corresponding operating conditions is collected, and optimization is performed with the goal of minimizing noise to obtain harmonic suppression parameters. Alternatively, the harmonic injection parameters include harmonic direct-axis current and harmonic quadrature-axis current. Harmonic suppression parameters are obtained by directly injecting harmonic direct-axis current and harmonic quadrature-axis current into the motor controller for optimization.

[0020] A further technical solution is that the optimization adopts a step-by-step optimization method: first, fix the harmonic current amplitude, and perform a traversal optimization of the harmonic current phase angle to obtain the harmonic current phase angle that minimizes noise; then, fix the harmonic current phase angle, and perform a traversal optimization of the harmonic current amplitude to obtain the harmonic current amplitude that minimizes noise.

[0021] In a further technical solution, the harmonic suppression parameters are stored in the form of a two-dimensional map table. The two-dimensional map table records the harmonic suppression parameters corresponding to each operating point, with motor torque and motor speed as the dimensions. When the motor controller is running, it looks up the corresponding harmonic suppression parameters in the table based on the current torque and speed.

[0022] In a further technical solution, the harmonic suppression parameters are written into the non-volatile memory of the motor controller via the XCP calibration protocol.

[0023] In a further technical solution, the test host receives fault alarm information from the vehicle controller in real time. When it receives fault alarm information that reaches the level of derating or power-down, it stops the harmonic injection parameter optimization process and controls the vehicle test bench to stop running.

[0024] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention performs personalized NVH harmonic self-calibration for each vehicle, automatically optimizing the optimal harmonic suppression parameters based on the individual differences in motor tooth grooves, yokes, magnet characteristics, and gear clearances. This fundamentally solves the problem that fixed parameter schemes cannot adapt to individual vehicle differences, achieving NVH optimization with a one-vehicle-one-policy approach, and ensuring that harmonic noise of each vehicle can achieve the best suppression effect.

[0025] This invention stores harmonic suppression parameters in the non-volatile memory of the motor controller in the form of a two-dimensional Map table, and retrieves them during operation based on real-time torque and speed. This enables continuous harmonic suppression across the entire operating range without requiring real-time optimization calculations and without increasing the computational burden on the motor controller.

[0026] This invention adopts a step-by-step optimization method, which decomposes the traversal of the two-dimensional parameter space into two serial one-dimensional traversals, effectively reducing the amount of optimization calculation and calibration time, so that the entire calibration process can adapt to the cycle time requirements of the vehicle production line.

[0027] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0028] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0029] Figure 1 This is a schematic diagram of the structure of the electric vehicle NVH harmonic self-calibration device described in Embodiment 1 of the present invention.

[0030] Figure 2 This is a block diagram of vector control based on a permanent magnet synchronous motor as described in Embodiment 1 of the present invention.

[0031] Figure 3 This is a flowchart illustrating the electric vehicle NVH harmonic self-calibration method described in Embodiment 2 of the present invention.

[0032] Figure 4 This is a schematic diagram of the two-dimensional Map table of current phase angle in the electric vehicle NVH harmonic self-calibration method described in Embodiment 2 of the present invention.

[0033] Figure 5 This is a schematic diagram of the two-dimensional Map table of current amplitude in the electric vehicle NVH harmonic self-calibration method described in Embodiment 2 of the present invention.

[0034] In the diagram, 1 is the test host, 2 is the signal conversion device, 3 is the noise collector, 4 is the vehicle controller, 5 is the motor controller, 6 is the drive motor, and 7 is the vehicle drum test stand. Detailed Implementation

[0035] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0036] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations of the present invention.

[0037] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0038] Example 1 In one or more embodiments, an NVH harmonic self-calibration device for electric vehicles is disclosed, such as Figure 1 As shown, it includes a test host 1, a signal conversion device 2, a noise collector 3, a vehicle controller 4, a motor controller 5, a drive motor 6, and a vehicle test bench.

[0039] Test host 1 is used to write harmonic injection parameters to the motor controller 5 of the vehicle under test, receive noise data, and determine harmonic suppression parameters based on the noise data; Noise collector 3 is placed near the drive motor 6 of the vehicle under test to collect noise signals during the operation of the drive motor. The signal conversion device 2 is communicatively connected to the noise collector 3 and the test host 1, and is used to convert the noise signal collected by the noise collector 3 and transmit it to the test host 1. The vehicle test bench, specifically the vehicle drum test bench 7, is used to support the vehicle under test and make the vehicle under test run under set working conditions. The test host 1 is also connected to the motor controller 5 and the vehicle controller 4 of the vehicle under test. It optimizes the harmonic injection parameters with the goal of minimizing noise and writes the optimized harmonic suppression parameters into the non-volatile memory of the motor controller.

[0040] Through the aforementioned device, the test host acts as the core control unit, integrating noise acquisition, parameter optimization, and calibration into a closed-loop system. It can automatically optimize the optimal harmonic suppression parameters for the individual differences of each vehicle, achieving NVH improvement tailored to each vehicle.

[0041] Specifically, the test host 1 establishes communication connections with the signal conversion device 2, the vehicle controller 4, and the motor controller 5 via the CAN bus. The test host 1 communicates with the motor controller 5 via the XCP (Universal Measurement and Calibration Protocol) to achieve real-time writing of harmonic injection parameters and reliable storage of calibration results. The test host 1 also communicates with the vehicle drum test bench 7 via the vehicle communication interface, sending vehicle speed commands to the test bench 7 to control the vehicle under test to operate stably at the set speed.

[0042] Furthermore, the test host 1 communicates with the motor controller 5 of the vehicle under test via a calibration protocol to write harmonic injection parameters to the motor controller 5 and write the optimized harmonic suppression parameters to the non-volatile memory of the motor controller. Using the calibration protocol for communication enables precise reading and writing of the internal parameters of the motor controller, ensuring the real-time delivery of harmonic injection parameters and the reliable storage of the final harmonic suppression parameters.

[0043] Furthermore, the test host 1 is also used to receive fault alarm information from the vehicle controller of the vehicle under test, and to stop the harmonic injection parameter optimization process upon receiving the fault alarm information, while simultaneously controlling the vehicle test bench to stop operating. By monitoring the fault alarm information of the vehicle controller in real time, the calibration process can be stopped in time when the vehicle experiences derating or power-down faults, preventing the continued application of harmonic injection current under abnormal conditions and ensuring the safety of the vehicle and calibration equipment.

[0044] Furthermore, the signal conversion device 2 is an analog-to-CAN converter, used to convert the noise signal output by the noise collector into CAN protocol data for transmission to the test host 1. Using an analog-to-CAN converter allows the analog signal output by the noise collector to be converted into standard CAN bus protocol data, facilitating the sharing of the same CAN bus with the test host and other vehicle controllers, thus simplifying the hardware connection architecture.

[0045] Furthermore, the noise collector 3 is positioned near the drive motor 6 of the vehicle under test to collect near-field noise signals during the operation of the drive motor 6. Placing the noise collector near the drive motor effectively improves the signal-to-noise ratio of the collected signal, reduces environmental noise interference, and allows the optimization results to more accurately reflect the harmonic noise characteristics of the drive motor itself.

[0046] In one embodiment, the noise collector 3 is positioned approximately 10 cm away from the drive motor 6 to collect near-field noise signals from the drive motor 6. This improves the signal-to-noise ratio of the noise data, reduces environmental noise interference, and allows the optimization results to more accurately reflect the harmonic noise characteristics of the drive motor 6 itself. The noise collector 3 outputs a noise signal, which is an analog signal. This analog signal is converted into CAN protocol data by an analog-to-CAN converter and then transmitted to the test host 1 via the CAN bus. The analog-to-CAN converter converts the noise signal into standard CAN bus protocol data, enabling the noise collector 3 to share the same CAN bus with the test host 1 and other vehicle controllers, simplifying the hardware connection architecture.

[0047] Furthermore, the vehicle controller 4 communicates with the test host 1 via the CAN bus. On one hand, it receives torque commands from the test host 1 through the XCP calibration protocol and controls the vehicle to operate at the set torque. On the other hand, it sends vehicle fault alarm information to the test host 1 in real time for safety monitoring during the calibration process. The motor controller 5 communicates with the test host 1 via the CAN bus, receives harmonic injection parameters written by the test host 1 through the XCP calibration protocol, and calls harmonic suppression parameters stored in non-volatile memory during operation.

[0048] Furthermore, the vehicle rotary test stand 7 is used to carry the vehicle under test and control the vehicle to run at a set speed. The rotary test stand can provide controlled speed conditions for the vehicle under test without actual driving, and is suitable for use in the vehicle assembly line process. After calibration, the auxiliary device can be removed to free up the workstation.

[0049] Furthermore, the operating conditions are determined by writing a set torque command to the motor controller 5 and a set vehicle speed command to the vehicle drum test bench 7. The test host 1 converts the vehicle speed into the corresponding motor electrical frequency based on the received motor speed to determine the frequency range of harmonic injection. Since the test host receives the motor speed, while the vehicle test bench is set with vehicle speed, a conversion formula is needed to determine the electrical frequency range corresponding to the harmonic injection, thereby ensuring that the harmonic injection parameters accurately correspond to the actual operating conditions.

[0050] Furthermore, the harmonic injection parameters include the harmonic current amplitude *is* and the harmonic current phase angle *γ*. By injecting the harmonic current amplitude *is* and the harmonic current phase angle *γ* into the motor controller, noise data under the corresponding operating conditions is collected, and optimization is performed with the goal of minimizing noise to obtain the harmonic suppression parameters. Alternatively, the harmonic injection parameters include the harmonic direct-axis current *idharm* and the harmonic quadrature-axis current *iqharm*. The harmonic suppression parameters are obtained by directly injecting *idharm* and *iqharm* into the motor controller and performing optimization. Harmonic current injection can be achieved using either polar coordinates (*is* and *γ*) or rectangular coordinates (*idharm* and *iqharm*), and the two can be converted to each other through trigonometric function relationships, allowing for flexible selection based on the actual calibration system implementation method.

[0051] Furthermore, the optimization adopts a step-by-step optimization method: first, the harmonic current amplitude is is fixed, and the harmonic current phase angle γ is optimized through a traversal to obtain the harmonic current phase angle γ that minimizes noise; then, the harmonic current phase angle γ is fixed, and the harmonic current amplitude is is optimized through a traversal to obtain the harmonic current amplitude is that minimizes noise. The step-by-step optimization method decomposes the traversal of the two-dimensional parameter space into two one-dimensional traversals, which can effectively reduce the optimization calculation workload, shorten the calibration time, and is suitable for the production line cycle time requirements.

[0052] Furthermore, the harmonic suppression parameters are stored in the form of a two-dimensional map table. This map table records the harmonic suppression parameters corresponding to each operating point, with motor torque and motor speed as the dimensions. During operation, the motor controller looks up the corresponding harmonic suppression parameters based on the current torque and speed. Storing the harmonic suppression parameters in the non-volatile memory of the motor controller in the form of a two-dimensional map table can cover the harmonic suppression requirements across the entire operating range. The motor controller can retrieve the parameters based on real-time torque and speed without real-time calculation, resulting in rapid response and no increase in the controller's computational burden.

[0053] In one implementation, such as Figure 2 As shown, the vector control block diagram and harmonic injection principle of the present invention based on a permanent magnet synchronous motor (PMSM) are as follows. The vehicle controller 4 issues a torque command, or an acceleration command n. The torque command is converted by a PI regulator and then passed through a torque controller. Based on the Minimum Torque Per Ampere (MTPA) or Minimum Torque Per Voltage (MTPV) rule, a lookup table is used to obtain the corresponding direct-axis current command `id` and quadrature-axis current command `iq`. The `id` and `iq` obtained from the lookup table are compared with the `id` and `iq` fed back from the current sensor. The current regulator then calculates the rotor voltages `Uq` and `Ud` using the flux linkage rate of change and inductance parameters. These inductance parameters include the direct-axis inductance `Ld`, the quadrature-axis inductance `Lq`, the stator and rotor flux linkage `ψf`, and the motor speed `We`. `Uq` and `Ud` are then combined with the motor position angle `θ` using a Park inverse transform to obtain the stator voltages `Uα` and `Uβ`. These are then processed using a Space Vector Pulse Width Modulation (SVPWM) algorithm to obtain three-phase symmetrical currents `iu`, `iv`, and `iw`, which drive the Insulated Gate Bipolar Transistor (IGBT) inverter power module, ultimately driving the permanent magnet synchronous motor `PMSM` to rotate and provide power to the electric vehicle.

[0054] exist Figure 2 In this context, n represents the motor's feedback speed, torque controller is the motor controller's torque control state, MTPA represents the motor controller's minimum current calibration rule, MTPV represents the motor controller's minimum voltage calibration rule, Ld is the motor's direct-axis inductance, Lq is the motor's quadrature-axis inductance, IGBT refers to the inverter power module, and PMSM refers to the permanent magnet synchronous motor.

[0055] Based on the aforementioned vector control framework, this invention superimposes harmonic injection parameters into the current control loop.

[0056] Specifically, the harmonic current amplitude is and harmonic current phase angle γ are transformed into the harmonic direct-axis current idharm and the harmonic quadrature-axis current iqharm through trigonometric function relationships, i.e., idharm = is·cos(γ) and iqharm = is·sin(γ). idharm and iqharm are superimposed on the current command of the current control loop, and together with iu, iv, and iw collected by the three-phase current sensors, they participate in the calculation of the current equation and voltage equation. The noise signal collected by noise collector 3 is converted into CAN protocol data by an analog-to-CAN converter and then sent to test host 1. Test host 1 uses the lowest noise level as the closed-loop target, and traverses the harmonic current phase angle γ and harmonic current amplitude is at a set precision interval to find the harmonic suppression parameters that minimize noise.

[0057] In some implementations, the harmonic injection parameters can be used directly instead of polar coordinates representing the harmonic current amplitude *is* and phase angle *γ*. The harmonic direct-axis current *idharm* and the harmonic quadrature-axis current *iqharm* can be used as calibration parameters. A two-dimensional optimization of *idharm* and *iqharm* in a Cartesian coordinate system can achieve the same harmonic suppression effect. The two parameter forms can be converted between each other using trigonometric functions, allowing for flexible selection based on the specific implementation of the calibration system.

[0058] In another implementation, the specific model and location of the noise collector 3 can be flexibly adjusted according to the actual calibration site and vehicle structure. It is not limited to being placed about 10cm directly above the drive motor 6, as long as it can effectively collect the harmonic noise of the electric drive system.

[0059] The entire device of this invention adopts a modular design. After calibration, auxiliary devices such as noise collectors and analog-to-CAN converters can be quickly disassembled to free up the workstation. The vehicle test bench can use existing drum test benches, without the need for large-scale modification of the production line. It has strong engineering operability and is suitable for mass production vehicle off-line processes.

[0060] It is understood that, without conflict, the technical features of the foregoing embodiments can be combined with each other. The parameter values ​​described in the above specific embodiments, such as the arrangement distance of the noise collector 3, the traversal step size of γ, the traversal range of is, the torque step size, and the frequency step size, are all exemplary values. Those skilled in the art can make appropriate adjustments according to the motor characteristics of the actual vehicle model and the production line cycle requirements, without deviating from this technical solution.

[0061] Example 2 In one or more embodiments, a method for self-calibrating NVH harmonics in electric vehicles is disclosed, such as Figure 3 As shown, it includes the following steps: Step 101: Device preparation stage.

[0062] The vehicle to be calibrated is placed on the vehicle drum test bench 7. A noise collector 3 is positioned near the drive motor 6 and connected to a signal conversion device 2 (analog-to-CAN converter). This establishes a CAN bus communication connection between the test host 1 and the signal conversion device 2, the motor controller 5, and the vehicle controller 4, as well as a control communication connection between the test host 1 and the vehicle drum test bench 7. In one embodiment, the noise collector 3 is approximately 10 cm away from the drive motor 6.

[0063] Step 102: Communication and Control Confirmation Phase.

[0064] Before formal calibration, test host 1 needs to confirm that the following communication and control functions are normal: First, confirm that the test host 1 can normally receive the noise data from the noise collector 3 through the analog-to-CAN port converter; Second, confirm that the test host 1 can write the set torque command to the motor controller 5 through the XCP calibration protocol, and control the whole vehicle to run at the set torque. Third, confirm that the test host 1 can write the harmonic current phase angle γ and harmonic current amplitude is to the non-volatile memory of the motor controller 5 through the XCP calibration protocol, and confirm that the motor controller 5 can call the written γ value and is value during operation. Fourth, confirm that the test host 1 can control the vehicle drum test stand 7 to run at the set vehicle speed through vehicle communication.

[0065] In one implementation, the vehicle speed step is 5 km / h.

[0066] Step 103: Raw NVH baseline data acquisition stage.

[0067] Without any harmonic parameters injected, the test host 1 controls the vehicle under test to operate according to the set conditions. Noise signals from the drive motor 6 are collected by the noise collector 3 to obtain noise baseline data for subsequent noise comparison after harmonic injection. The operating condition setting method is as follows: The test host 1 writes a set torque command to the motor controller 5 via the XCP calibration protocol, and simultaneously writes a set vehicle speed command to the vehicle drum test bench 7 via vehicle communication. Since the test host 1 receives the motor speed n, while the vehicle drum test bench 7 sets the vehicle speed V, a conversion is needed to determine the electrical frequency range for harmonic injection. The conversion relationship between motor speed and electrical frequency is n=60. f / p, where n is the motor speed in revolutions per minute, f is in Hz (times per second), and p is the number of pole pairs of the motor; the conversion relationship between vehicle speed and motor speed is V=0.377nr / i0, where V represents vehicle speed in km / h, r represents wheel radius in meters, and i0 represents the total speed ratio between the motor and the wheel, which is a constant.

[0068] In one embodiment, the calibration conditions cover a vehicle speed range of 0 to 60 km / h with a speed step of 5 km / h; and a torque range of 0 to 200 Nm with a torque step of 10 Nm.

[0069] Step 104: Harmonic current phase angle γ optimization stage.

[0070] Under various operating conditions, the harmonic current phase angle γ is optimized through a traversal process. The test host 1 sequentially injects different γ values ​​into the motor controller 5 via the XCP calibration protocol, and simultaneously receives noise data collected by the noise collector 3 in real time through an analog-to-CAN port converter. With the goal of minimizing noise, the harmonic current phase angle γ corresponding to the lowest noise level is found for each operating condition.

[0071] In one implementation, the traversal range of γ is from 1° to 360°, and the traversal step size is 1°. That is, at each operating point, 360 phase angle values ​​of 1°, 2°...360° are injected sequentially, the noise amplitude corresponding to each phase angle is recorded, and the γ value corresponding to the lowest noise is taken as the optimal phase angle of that operating point.

[0072] Step 105: Harmonic current amplitude optimization stage.

[0073] The test host 1, with the optimal harmonic current phase angle γ obtained in step 104 fixed, iterates through and optimizes the harmonic current amplitude is. The test host 1 sequentially injects different is values ​​into the motor controller 5 through the XCP calibration protocol, and at the same time receives noise data collected by the noise collector 3 in real time. With the goal of minimizing noise, it finds the harmonic current amplitude is with the lowest noise at each operating point.

[0074] In one implementation, the traversal range of is is from 0A to 0.1A, and the traversal step size is 0.01A. That is, 11 amplitudes are injected in sequence, namely 0A, 0.01A, 0.02A...0.1A. The noise amplitude corresponding to each amplitude is recorded, and the is value corresponding to the lowest noise is taken as the optimal amplitude for that operating point.

[0075] The above step-by-step optimization method decomposes the traversal of the two-dimensional parameter space (harmonic current amplitude is and harmonic current phase angle γ) into two serial one-dimensional traversals. The phase angle is determined first and then the amplitude is determined, which effectively reduces the amount of optimization calculation and shortens the calibration time, so that the whole calibration process can adapt to the cycle requirements of the vehicle production line.

[0076] Step 106: Harmonic suppression parameters are written to non-volatile memory.

[0077] The optimal harmonic current phase angle γ and harmonic current amplitude is obtained from each operating point in steps 104 and 105 are organized into two-dimensional Map tables and written into the non-volatile memory of the motor controller 5 through the XCP calibration protocol. The motor controller 5 can then look up and call the tables during operation.

[0078] like Figure 4 and Figure 5 As shown, the two-dimensional map table uses motor torque and motor speed (or electrical frequency) as two dimensions: the horizontal axis represents torque, ranging from 0 to 200 Nm in one implementation, with a step size of 10 Nm, and a total of 21 columns; the vertical axis represents electrical frequency, ranging from 0 to 420 Hz in one implementation, with a step size of 30 Hz, and a total of 15 rows; each grid cell records the optimal γ value for the corresponding operating point (e.g., ...). Figure 4 (as shown) or the optimal is value (such as) Figure 5 (As shown). When the motor controller 5 is running, it looks up the corresponding γ and is in the table according to the current actual torque and speed to participate in the harmonic injection calculation, thereby continuously suppressing harmonic noise in the entire operating range without the need for real-time optimization calculation, and without increasing the computational burden of the motor controller 5.

[0079] Step 107: Reset and removal from the platform stage.

[0080] After the calibration procedure is completed, the noise collector 3 and auxiliary devices such as the analog-to-CAN converter are disassembled, the relevant communication connections are disconnected, the vehicle drum test stand 7 is stopped, the vehicle to be calibrated is driven off the vehicle drum test stand 7, and the workstation is made available for the next vehicle on the production line to be calibrated.

[0081] Throughout the calibration process, the test host 1 continuously receives fault alarm information from the vehicle controller 4 via the CAN bus. When the test host 1 receives a fault alarm indicating derating or power-down, it immediately stops the harmonic injection parameter optimization process and controls the vehicle drum test bench 7 to stop operating via vehicle communication. Simultaneously, it sends a stop command to the vehicle controller 4 to halt the vehicle's operation, preventing the continued application of harmonic injection current while the vehicle is faulty, thus ensuring the safety of the vehicle and calibration equipment. Because the test host 1 monitors the fault alarm information of the vehicle controller 4 in real time, fault response does not rely on manual intervention and can terminate the calibration process immediately upon the occurrence of an abnormal state.

[0082] By receiving fault alarm information from the vehicle controller in real time during the calibration process, and automatically stopping the calibration process and controlling the chassis to stop operating when the derating or power-down level is reached, the safety of the vehicle and equipment during the calibration process is ensured from both hardware and software perspectives, and harmonic injection current is avoided from being applied to the vehicle when a fault exists.

[0083] In another implementation, the torque range and vehicle speed range in step 103, the traversal range and step size of γ in step 104, and the traversal range and step size of is in step 105 can all be flexibly set according to the motor parameters of the specific vehicle model, the characteristics of the vehicle as a whole, and the requirements for calibration time and accuracy. The smaller the traversal step size, the higher the optimization accuracy, but the longer the required calibration time; a trade-off between accuracy and efficiency can be made according to the production line cycle time requirements.

[0084] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A self-calibration device for NVH harmonics in electric vehicles, characterized in that, include: The test host is used to write harmonic injection parameters to the motor controller of the vehicle under test, receive noise data, and determine harmonic suppression parameters based on the noise data. A noise collector is used to collect noise signals during the operation of a drive motor. A signal conversion device, which is communicatively connected to the noise collector and the test host, is used to convert the noise signal collected by the noise collector and transmit it to the test host. A vehicle test bench is used to carry the vehicle under test and make the vehicle under test run under set working conditions; the vehicle test bench is a vehicle drum test bench, which carries the vehicle under test and controls the vehicle under test to run at a set speed. The test host is also connected to the motor controller and vehicle controller of the vehicle under test. It optimizes the harmonic injection parameters with the goal of minimizing noise and writes the optimized harmonic suppression parameters into the non-volatile memory of the motor controller. The test host receives fault alarm information from the vehicle controller in real time. When it receives a fault alarm information that reaches the level of derating or power-down, it stops the harmonic injection parameter optimization process and controls the vehicle test bench to stop running.

2. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The signal conversion device is an analog-to-CAN converter, used to convert the noise signal output by the noise collector into CAN protocol data and then transmit it to the test host.

3. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The noise collector is positioned near the drive motor of the vehicle under test to collect near-field noise signals during the operation of the drive motor.

4. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The test host communicates with the motor controller of the vehicle under test through a calibration protocol to write harmonic injection parameters to the motor controller and write the optimized harmonic suppression parameters to the non-volatile memory of the motor controller.

5. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The set operating conditions are determined by writing a set torque command to the motor controller and a set vehicle speed command to the vehicle test bench. The test host converts the vehicle speed into the corresponding motor frequency based on the received motor speed to determine the frequency range of harmonic injection.

6. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The harmonic injection parameters include harmonic current amplitude and harmonic current phase angle. By injecting the harmonic current amplitude and harmonic current phase angle into the motor controller, noise data under the corresponding operating conditions is collected, and optimization is performed with the goal of minimizing noise to obtain harmonic suppression parameters. Alternatively, the harmonic injection parameters include harmonic direct-axis current and harmonic quadrature-axis current. Harmonic suppression parameters are obtained by directly injecting harmonic direct-axis current and harmonic quadrature-axis current into the motor controller and performing optimization.

7. The NVH harmonic self-calibration device for electric vehicles as described in claim 6, characterized in that, The optimization adopts a step-by-step optimization method: first, fix the harmonic current amplitude, and then perform a traversal optimization of the harmonic current phase angle to obtain the harmonic current phase angle that minimizes noise. Then, the phase angle of the harmonic current is fixed, and the amplitude of the harmonic current is optimized by iterative search to obtain the harmonic current amplitude that minimizes noise.

8. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The harmonic suppression parameters are stored in the form of a two-dimensional Map table. The two-dimensional Map table records the harmonic suppression parameters corresponding to each operating point with motor torque and motor speed as the dimensions. When the motor controller is running, it looks up the corresponding harmonic suppression parameters according to the current torque and speed.

9. The NVH harmonic self-calibration device for electric vehicles as described in claim 1, characterized in that, The harmonic suppression parameters are written into the non-volatile memory of the motor controller via the XCP calibration protocol.

10. A method for self-calibrating NVH harmonics in electric vehicles, characterized in that, include: The vehicle under test is placed on a vehicle test bench, and communication connections are established between the test host and the motor controller and vehicle controller of the vehicle under test, as well as the signal transmission path between the test host and the noise acquisition unit. The vehicle under test is controlled to operate under set conditions. The noise signal of the drive motor is collected by a noise collector to obtain the noise reference data when no harmonics are injected. Harmonic injection parameters are injected into the motor controller, noise data under the corresponding operating conditions are collected, and the harmonic injection parameters are optimized with the goal of minimizing noise to obtain harmonic suppression parameters. The harmonic suppression parameters are written into the non-volatile memory of the motor controller, so that the motor controller can call the harmonic suppression parameters during operation; The vehicle test bench is a vehicle drum test bench, which is used to carry the vehicle under test and control the vehicle under test to run at a set speed. The test host receives fault alarm information from the vehicle controller in real time. When it receives a fault alarm information that reaches the level of derating or power-down, it stops the harmonic injection parameter optimization process and controls the vehicle test bench to stop running.

11. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The noise collector is positioned near the drive motor of the vehicle under test to collect near-field noise signals during the operation of the drive motor.

12. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The test host communicates with the motor controller of the vehicle under test through a calibration protocol to write harmonic injection parameters to the motor controller and write the optimized harmonic suppression parameters to the non-volatile memory of the motor controller.

13. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The set operating conditions are determined by writing a set torque command to the motor controller and a set vehicle speed command to the vehicle test bench. The test host converts the vehicle speed into the corresponding motor frequency based on the received motor speed to determine the frequency range of harmonic injection.

14. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The harmonic injection parameters include harmonic current amplitude and harmonic current phase angle. By injecting the harmonic current amplitude and harmonic current phase angle into the motor controller, noise data under the corresponding operating conditions is collected, and optimization is performed with the goal of minimizing noise to obtain harmonic suppression parameters. Alternatively, the harmonic injection parameters include harmonic direct-axis current and harmonic quadrature-axis current. Harmonic suppression parameters are obtained by directly injecting harmonic direct-axis current and harmonic quadrature-axis current into the motor controller and performing optimization.

15. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 14, characterized in that, The optimization adopts a step-by-step optimization method: first, fix the harmonic current amplitude, and then perform a traversal optimization of the harmonic current phase angle to obtain the harmonic current phase angle that minimizes noise. Then, the phase angle of the harmonic current is fixed, and the amplitude of the harmonic current is optimized by iterative search to obtain the harmonic current amplitude that minimizes noise.

16. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The harmonic suppression parameters are stored in the form of a two-dimensional Map table. The two-dimensional Map table records the harmonic suppression parameters corresponding to each operating point with motor torque and motor speed as the dimensions. When the motor controller is running, it looks up the corresponding harmonic suppression parameters according to the current torque and speed.

17. The method for self-calibrating NVH harmonics of an electric vehicle as described in claim 10, characterized in that, The harmonic suppression parameters are written into the non-volatile memory of the motor controller via the XCP calibration protocol.