System and method for acquiring performance MAP of permanent magnet synchronous motor

By designing a simulation system that contains the maximum torque current ratio control algorithm and the weak magnetic algorithm, the problem of complexity and uncertainty of the permanent magnet synchronous motor MAP table is solved, and the rapid acquisition of the MAP table and the progress of product development progress are realized promote.

CN119341424APending Publication Date: 2025-01-21YIBIN COWIN AUTO CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411423954.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the prior art, the optimal solution MAP table acquisition of permanent magnet synchronous motors depends on physical trench calibration, the process is complex and there are uncertainties, which affects the product development cycle and progress.

Method used

Design a simulation system, including the maximum torque current ratio control algorithm module, 2R/3S current coordinate converting module, motor body module, weak magnetic algorithm module, and phase current vector given module. Get.

Benefits of technology

Through simulation, the motor performance MAP table is obtained, and data support and reference are provided, reducing the firing of the physical tables, shortening the calibration cycle, and improving product development progress.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341424A_ABST
    Figure CN119341424A_ABST
Patent Text Reader

Abstract

The invention discloses a system and a method for acquiring performance MAP of a permanent magnet synchronous motor. The system comprises a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a flux weakening algorithm module and a phase current vector Is given module. A rotating speed and a phase current vector value are given according to a certain step length, then an optimal distribution included angle is scanned so as to realize a maximum torque-current ratio control algorithm, an optimal rotating speed-torque-current corresponding relation MAP table of the motor in a full-speed range is obtained in combination with a flux weakening algorithm module, and then the optimal torque-current ratio control algorithm is obtained through data fitting and script processing. And processing the motor performance MAP data obtained by simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor testing, and in particular to a system and method for acquiring a performance MAP of a permanent magnet synchronous motor. Background Art

[0002] With the rapid development of automobile technology and the implementation of the energy conservation and emission reduction policy advocated by the world, new energy vehicles are the inevitable direction of future development. The key components of new energy vehicles are drive motors and motor controllers. Most of the drive motors currently used are permanent magnet synchronous motors. For the development of permanent magnet synchronous motors and controllers, there will be a lot of motor calibration work involved in the process from scheme to product. The most important of these is the calibration of parameters directly related to the controller. The most important of these parameters is the optimal solution MAP table for the corresponding relationship between torque, speed, and current. After the MAP table is calibrated, it is embedded in the motor controller to realize the productization of the controller and motor. Therefore, this MAP table is particularly important for motor control.

[0003] At present, in the industry, the method of obtaining the above-mentioned optimal solution MAP table is mostly carried out on the test bench by physical calibration of the motor and the controller. This physical calibration method is completely completed in a state of trial and error because there is no method as a guide and no data as support. There are many uncertainties, which will seriously affect the product development cycle and progress. Therefore, it is urgent to find a solution to improve the efficiency of motor bench calibration and speed up the product development progress. There is no relevant technical disclosure in the existing technology. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a system and method for obtaining a permanent magnet synchronous motor performance MAP, which can quickly complete the acquisition of permanent magnet synchronous motor performance MAP data.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is: a system for obtaining the performance MAP of a permanent magnet synchronous motor, comprising: a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a weak magnetic algorithm module and a phase current vector Is given module; wherein:

[0006] The motor body module is a parameterized motor ECE model constructed as a control object;

[0007] The phase current vector Is setting module is used to set the phase current vector Is according to the set step size, and when the maximum torque current ratio control algorithm module scans the optimal torque output value, the phase current vector Is set value is switched to 0;

[0008] The maximum torque current ratio control algorithm module is used to continuously distribute the direct-axis current and the quadrature-axis current by scanning the angle between the given phase current vector Is and the quadrature axis through a fixed step length, and determine the direct-axis current and the quadrature-axis current corresponding to the maximum value of the motor output torque under a certain speed and a given value of the phase current vector Is as the optimal quadrature and direct-axis current distribution solution under this speed and phase current vector value, so as to obtain the optimal MAP relationship between torque-current-speed;

[0009] The 2R / 3S current coordinate transformation module is used to convert the AC and DC axis currents allocated by the maximum torque current ratio control algorithm module into the three-phase input current of the motor to drive the permanent magnet synchronous motor body to operate;

[0010] The magnetic field weakening algorithm module is used to realize the optimal magnetic field weakening control of the motor in the magnetic field weakening stage of the motor in combination with the optimal AC and DC axis current distribution solution obtained by the maximum torque current ratio control algorithm module.

[0011] The motor body module includes: a stator resistance and inductance module, an ECE module, a speed input and torque output module;

[0012] The stator resistance and inductance module is used to describe the actual stator resistance and inductance values ​​of the motor; the ECE module is based on simulation software, which performs parametric scanning on the three-dimensional or two-dimensional model of the motor and then extracts an ECE model for describing the motor body; the speed input and torque output module is used to give the motor speed and sample the torque output value.

[0013] The 2R / 3S current coordinate transformation module includes a 2R / 3S coordinate transformation module and a motor rotor position angle module; the 2R / 3S coordinate transformation module is used to inversely transform the quadrature-axis current and the direct-axis current from a two-phase rotating coordinate system to a three-phase stationary coordinate system; the motor rotor position angle module is used to detect the rotor position of the permanent magnet synchronous motor.

[0014] The maximum torque current ratio control algorithm MTPA module includes a phase current vector I s sign judgment module, an optimal distribution angle scanning module, a direct axis current I d distribution module, and a quadrature axis current I q distribution module;

[0015] The phase current vector Is sign judgment module is used to judge the positive and negative signs of a given phase current vector Is, thereby judging the working mode of the motor;

[0016] The optimal distribution angle scanning module is used to scan the angle between the given phase current vector Is and the quadrature axis with a fixed step length to obtain the optimal distribution angle; the direct axis current Id distribution module is used to distribute the direct axis current according to the product of the given phase current vector Is and the sine value of the optimal distribution angle;

[0017] The quadrature-axis current Iq distribution module is used to distribute the quadrature-axis current according to the product of a given phase current vector Is and the cosine value of the optimal distribution angle.

[0018] The phase current vector Is given module includes a phase current vector Is actual given value module, a phase current vector Is given value assignment module, and a phase current vector Is given value switching module;

[0019] The phase current vector Is actual given value module is used to give the actual phase current vector Is value during simulation;

[0020] The phase current vector Is given value assignment module is used to assign the phase current vector Is to 0 when the given value of the phase current vector Is is 0, so that the output torque is equal to 0 N.M;

[0021] The phase current vector Is given value switching module is used to switch the given value of the phase current vector Is to 0 when an optimal torque output value is scanned at a certain phase current vector Is given value, so that the torque output value is equal to 0N.M.

[0022] The magnetic field weakening algorithm module includes a voltage vector Vs calculation module and a VsMax setting module;

[0023] The voltage vector Vs calculation module is used to calculate the voltage space vector value Vs by synthesizing the voltage values ​​of the quadrature and direct axes through a calculation formula;

[0024] The VsMax setting module is used to set the maximum value of the voltage vector.

[0025] The system also includes a data fitting and processing script module, which is used to process the motor performance MAP data obtained by simulation and output a target current instruction table required by the controller current management module.

[0026] The system also includes a current management module, which is used to integrate the target current instruction table output by the data fitting and processing script, so as to output the current instruction value according to the torque instruction table lookup.

[0027] Each module in the system is pre-built in the simulation software, and then the speed and phase current vector value are given according to a certain step size, and then the optimal distribution angle is scanned to realize the maximum torque-current ratio control algorithm, and combined with the weak magnetic algorithm module, the optimal speed-torque-current correspondence MAP table of the motor in the full speed range is obtained, and then the motor performance MAP data obtained by simulation is processed through data fitting and processing scripts.

[0028] A method for obtaining a MAP of a permanent magnet synchronous motor performance is provided, wherein a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a weak magnetic algorithm module and a phase current vector Is given module are simulated and implemented in a simulation software;

[0029] Through the maximum torque-current ratio control algorithm module, 2R / 3S current coordinate transformation module, motor body module, weak magnetic algorithm module and phase current vector Is given module, the speed and phase current vector value are given according to a certain step size, and then the optimal distribution angle is scanned to realize the maximum torque-current ratio control algorithm. In combination with the weak magnetic algorithm module, the optimal speed-torque-current correspondence MAP table of the motor in the full speed range is obtained, and then the motor performance MAP data obtained by simulation is processed through data fitting and processing scripts.

[0030] The advantages of the present invention are: based on the above-designed simulation method, the speed and the phase current vector value can be given according to a certain step length, and then the optimal distribution angle can be scanned to realize the maximum torque current ratio control algorithm (MTPA), and combined with the weak magnetic algorithm module, the optimal speed-torque-current correspondence MAP table of the motor in the full speed range is obtained, and the correspondence MAP table is used as the data support and reference for the physical bench calibration, so that the calibration work is no longer in a groping state, thereby greatly shortening the calibration cycle and improving the product development progress. In addition, in the above-mentioned simulation circuit, a parameterized motor ECE model is used as the control object. Since the ECE model of the motor body is extracted by intensive parameterized scanning, it can truly parameterize and reflect the performance of the motor body, and has been extracted into a digitized table. It only needs to look up the table on the motor body, which can not only well reflect the performance of the motor body, but also greatly improve the simulation speed, which is conducive to quickly obtaining the MAP table. And through data fitting and processing scripts, the motor performance MAP data obtained by simulation is processed, and the target current instruction table required by the controller current management module is quickly output, which is then integrated and embedded into the controller current management module, and the target current instruction value is output according to the torque instruction table lookup. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The following is a brief description of the contents expressed in the drawings of the present invention and the symbols in the drawings:

[0032] Figure 1 This is a system simulation architecture diagram corresponding to the solution obtained by MAP of the present invention.

[0033] The reference numerals in the figure are respectively: 1. Optimal allocation angle scanning module; 2. Cross-axis current distribution module; 3. Direct-axis current distribution module; 4. Phase current vector sign judgment module; 5. 2R / 3S coordinate transformation module; 6. Motor rotor position angle module; 7. Stator resistance and inductance module; 8. ECE module; 9. Speed ​​input and torque output module; 10. Voltage vector calculation module; 11. VsMax setting module; 12. Phase current vector Is given value assignment module; 13. Phase current vector Is actual given value module; 14. Phase current vector Is given value switching module; 15. Data fitting and processing script module; 16. Current management module. DETAILED DESCRIPTION

[0034] The specific implementation of the present invention will be further explained in detail below by describing the optimal embodiment with reference to the accompanying drawings.

[0035] This embodiment provides a solution to improve the efficiency of motor bench calibration and speed up product development. By inventing a simulation circuit for obtaining a permanent magnet synchronous motor performance MAP table, which is used to obtain the torque-current-speed optimal solution MAP table (mapping relationship table) of the permanent magnet synchronous motor, the permanent magnet synchronous motor performance MAP data acquisition can be completed quickly. A current data fitting processing script program is developed simultaneously, and the processed data is embedded in the controller current management module to look up the table to output the required target current instruction, so as to quickly complete the bench calibration and performance verification of the permanent magnet synchronous motor performance.

[0036] The present invention relates to the field of permanent magnet synchronous motors, and specifically to a simulation method for obtaining a permanent magnet synchronous motor performance MAP, which is used to obtain a torque-current-speed optimal solution MAP table (mapping relationship table) of a permanent magnet synchronous motor, and provide data support and guidance for physical bench calibration work. A motor performance data processing script program is developed to obtain a target current instruction table required by a controller current management module, thereby improving the calibration work efficiency and accelerating the product development progress.

[0037] The technical solution provided by this embodiment is:

[0038] A simulation method for obtaining a performance MAP of a permanent magnet synchronous motor comprises: a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a magnetic weakening algorithm module and a phase current vector Is given module;

[0039] The motor body module is a parameterized motor ECE model built as a control object;

[0040] The phase current vector Is setting module is used to set the phase current vector Is according to a certain step size, and when the maximum torque current ratio control algorithm module scans the optimal torque output value, the phase current vector Is setting value is switched to 0;

[0041] The maximum torque current ratio control algorithm module is used to continuously distribute the direct-axis current and the quadrature-axis current by scanning the angle between the given phase current vector Is and the quadrature axis through a fixed step length, and determine the direct-axis current and the quadrature-axis current corresponding to the maximum value of the motor output torque under a certain speed and a given value of the phase current vector Is as the optimal quadrature and direct-axis current distribution solution under this speed and phase current vector value, so as to obtain the mapping relationship between torque, current and speed;

[0042] 2R / 3S current coordinate transformation module, used to convert the AC and DC axis currents allocated by the maximum torque current ratio control algorithm module into the three-phase input current of the motor to drive the permanent magnet synchronous motor to operate;

[0043] The magnetic field weakening algorithm module is used to achieve optimal magnetic field weakening control of the motor in the magnetic field weakening stage by combining the optimal AC and DC axis current distribution solution obtained by the maximum torque current ratio control algorithm module.

[0044] As a further optimization, the motor body module includes: stator resistance and inductance module, ECE module, speed input and torque output module; the stator resistance and inductance module is used to describe the actual stator resistance and inductance value of the motor; the ECE module is based on simulation software, through parametric scanning of the three-dimensional or two-dimensional model of the motor, and then extracts an ECE model for describing the motor body;

[0045] The speed input and torque output modules are used to set the motor speed and sample the torque output value.

[0046] As a further optimization, the 2R / 3S current coordinate transformation module includes a 2R / 3S coordinate transformation module and a motor rotor position angle module; the 2R / 3S coordinate transformation module is used to inversely transform the quadrature-axis current and the direct-axis current from a two-phase rotating coordinate system to a three-phase stationary coordinate system; the motor rotor position angle module is used to detect the rotor position of the permanent magnet synchronous motor.

[0047] As a further optimization, the maximum torque current ratio control algorithm (MTPA) module includes a phase current vector Is sign judgment module, an optimal distribution angle scanning module, a direct axis current (Id) distribution module, and a quadrature axis current (Iq) distribution module;

[0048] The phase current vector Is sign judgment module is used to judge the positive and negative signs of the given phase current vector Is, thereby judging the working mode of the motor. The optimal distribution angle scanning module is used to scan the angle between the given phase current vector Is and the quadrature axis with a fixed step length to obtain the optimal distribution angle; the direct-axis current (Id) distribution module is used to distribute the direct-axis current according to the product of the given phase current vector Is and the sine value of the optimal distribution angle; the quadrature-axis current (Iq) distribution module is used to distribute the quadrature-axis current according to the product of the given phase current vector Is and the cosine value of the optimal distribution angle.

[0049] As a further optimization, the phase current vector I s given module includes a phase current vector I s actual given value module, a phase current vector I s given value assignment module, and a phase current vector I s given value switching module;

[0050] The phase current vector Is actual given value module is used to give the actual phase current vector Is value during simulation;

[0051] The phase current vector Is given value assignment module is used to assign the phase current vector Is to 0 when the given value of the phase current vector Is is 0, so that the output torque is equal to 0N.M;

[0052] The phase current vector Is given value switching module is used to switch the given value of the phase current vector Is to 0 when an optimal torque output value is scanned out at a certain phase current vector Is given value, so that the torque output value is equal to 0N.M.

[0053] As a further optimization, the weak magnetic algorithm module includes a voltage vector Vs calculation module and a VsMax setting module; the voltage vector Vs calculation module is used to obtain the voltage space vector value Vs by synthesizing the voltage values ​​of the quadrature and direct axes through a calculation formula;

[0054] The VsMax setting module is used to set the maximum value of the voltage vector VsMax=Vdc / sqrt(3), where Vdc is the DC bus voltage and Sqrt is a square root function used to obtain the square root of the number 3.

[0055] As further optimization, data fitting and processing scripts, current management module;

[0056] Data fitting and processing scripts are used to process the motor performance MAP data obtained through simulation and output the target current instruction table required by the controller current management module;

[0057] The current management module is used to integrate the target current instruction table output by the data fitting and processing script, so as to output the current instruction value according to the torque instruction table lookup.

[0058] The present invention aims to propose a simulation circuit for obtaining a permanent magnet synchronous motor performance MAP table, and obtain the motor performance MAP table data (mainly the optimal solution of the torque-current-speed relationship) through simulation to provide data support and guidance for the physical bench calibration work, thereby improving the calibration work efficiency and accelerating the product development progress.

[0059] like Figure 1 As shown, the simulation circuit in the present invention includes: a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a weak magnetic algorithm module and a phase current vector Is given module, a motor performance MAP data fitting and current management module;

[0060] In specific implementation, the maximum torque current ratio control algorithm module contains an optimal distribution angle scanning module 1, a quadrature axis current distribution module 2, a direct axis current distribution module 3, and a phase current vector Is sign judgment module 4;

[0061] The 2R / 3S current coordinate transformation module includes a 2R / 3S coordinate transformation module 5 and a motor rotor position angle module 6;

[0062] The motor body module includes a stator resistance and inductance module 7, an ECE module 8, and a speed input and torque output module 9;

[0063] The magnetic field weakening algorithm module includes a voltage vector Vs calculation module 10 and a VsMax setting module 11;

[0064] The phase current vector Is given module comprises a phase current vector Is given value assignment module 12, a phase current vector Is actual given value module 13, and a phase current vector Is given value switching module 14;

[0065] The motor performance MAP data fitting and current management module includes a data fitting and processing script 15 and a current management module 16 .

[0066] The specific functions of each module are described as follows:

[0067] The optimal allocation angle scanning module 1 is used to scan the angle between the given phase current vector Is and the quadrature axis with a fixed step length to obtain the optimal allocation angle;

[0068] The quadrature axis current (Iq) distribution module 2 is used to distribute the quadrature axis current according to the product of the given phase current vector Is and the cosine value of the optimal distribution angle;

[0069] The direct axis current (I d) distribution module 3 is used to distribute the direct axis current according to the product of the given phase current vector Is and the sine value of the optimal distribution angle;

[0070] The phase current vector Is sign judgment module 4 is used to judge the positive and negative signs of the given phase current vector Is, thereby judging the working mode of the motor; thereby judging whether the motor is in the motoring mode or the generating mode;

[0071] The 2R / 3S coordinate transformation module 5 is used to inversely transform the quadrature-axis current and the direct-axis current from the two-phase rotating coordinate system to the three-phase stationary coordinate system;

[0072] The motor rotor position angle module 6 is used to detect the rotor position of the permanent magnet synchronous motor;

[0073] The stator resistance and inductance module 7 is used to describe the actual stator resistance and inductance values ​​of the motor;

[0074] The ECE module 8 is based on simulation software, which performs parametric scanning on a three-dimensional or two-dimensional model of the motor and then extracts an ECE model for describing the motor body;

[0075] The speed input and torque output module 9 is used to set the motor speed and sample the torque output value;

[0076] The voltage vector Vs calculation module 10 is used to calculate the voltage space vector value Vs by synthesizing the voltage values ​​of the quadrature and direct axes through a calculation formula;

[0077] The VsMax setting module 11 is used to set the maximum value of the voltage vector VsMax=Vdc / sqrt(3), where Vdc is the DC bus voltage;

[0078] The phase current vector Is given value assignment module 12 is used to assign the phase current vector Is to 0 when the given value of the phase current vector Is is 0, so that the output torque is equal to 0 N.M;

[0079] The phase current vector Is actual given value module 13 is used to give the actual phase current vector Is value during simulation;

[0080] The phase current vector Is given value switching module 14 is used to switch the given value of the phase current vector Is to 0 when an optimal torque output value is scanned at a certain phase current vector Is given value, so that the torque output value is equal to 0 N.M.

[0081] Data fitting and processing script 15, used to process the motor performance MAP data obtained by simulation and output the target current instruction table required by the controller current management module;

[0082] The current management module 16 is used to integrate the target current instruction table output by the data fitting and processing script, so as to output the current instruction value according to the torque instruction table lookup.

[0083] When designing the above simulation circuit, firstly, based on the simulation software, the ECE model module 8 of the permanent magnet synchronous motor body is extracted by intensive parameterized scanning, and the stator resistance and inductance module 7 and the speed input and torque output module 9 are built. The stator resistance and inductance module 7 is to parameterize the stator resistance and inductance parameters of the motor, and the speed input and torque output module 9 is to set the sampling of the input speed of the motor and the output torque value of the motor, so as to build the parameterized permanent magnet synchronous motor body as the control object. Next, the optimal distribution angle scanning module 1, the direct axis current (I d) distribution module 3, the quadrature axis current (I q) distribution module 2 and the phase current vector I s sign judgment module 4 are built, thereby realizing the maximum torque current ratio control algorithm (MTPA). The phase current vector I s sign judgment module 4 is to determine the positive and negative signs of the phase current vector input, thereby determining the positive and negative signs of the quadrature axis current (I q), and judging whether the motor is in the electric or generating state. The optimal distribution angle scanning module 1 is to scan the angle between the given phase current vector Is and the quadrature axis (q axis) with a fixed step length, and continuously distribute the direct axis current (Id) and the quadrature axis current (Iq) through the direct axis current (Id) distribution module 3 and the quadrature axis current (Iq) distribution module 2. The distributed direct and quadrature axis currents are used as the input of the 2R / 3S current coordinate transformation module, and the ABC three-phase input current of the motor is transformed through the 2R / 3S coordinate transformation module 5 as the three-phase input of the motor to drive the motor to run. Under the condition of a certain speed and a given value of the phase current vector Is, the direct axis current (Id) and the quadrature axis current (Iq) corresponding to the maximum output torque are the optimal distribution solutions for the given current under this speed and phase current vector value, thus realizing the maximum torque current ratio control algorithm (MTPA) control. When the software realizes the parameterized scanning, the given values ​​of the speed and the phase current vector are all completed by automatic scanning with a certain step length, and the parameter scanning work is completed by the software itself.

[0084] As the motor speed increases, after reaching the motor base speed point, the control algorithm needs to enter the weak magnetic control to solve the problem of back electromotive force exceeding the bus voltage, and combine the optimal direct- and AC-axis current solution obtained by the maximum torque current ratio control algorithm (MTPA) to achieve optimal control over the entire motor range. The weak magnetic algorithm module contains a voltage vector Vs calculation module 10 and a VsMax setting module 11. The voltage vector Vs calculation module 10 calculates the direct axis (Vd) and quadrature axis (Vq) voltage component values ​​through a formula, and then synthesizes the voltage vector Vs from the direct axis (Vd) and quadrature axis (Vq) voltage components. The VsMax setting module 11 is the maximum value of the voltage space vector, and its value is equal to the bus voltage Vdc / sqrt(3). When the voltage vector Vs is greater than or equal to VsMax, it means that the motor operating point exceeds the voltage limit circle, which is not allowed when the motor is running. When the voltage vector Vs is equal to VsMax, it means that at a given speed and phase current vector Is, the maximum torque value under this given parameter state is scanned, and the correspondingly allocated AC and DC axis currents are also the optimal solution. In this way, the optimal torque-current relationship is obtained, and the motor is satisfied to work within the voltage limit circle, thus realizing the optimal weak magnetic control of the motor. The phase current vector Is given module contains a phase current vector Is given value assignment module 12, a phase current vector Is actual given value module 13, and a phase current vector Is given value switching module 14. The phase current vector Is actual given value module 13 is the given value during normal parameter scanning. In the weak magnetic stage of the motor, when the voltage vector Vs=VsMax, it means that the motor is running at the limit state. The torque output at this time is the moment when the motor outputs the maximum torque under this speed and current input condition. Because the software will select the maximum value point when sorting and selecting data, it is necessary to switch Is from the given value to the state of Is=0 through the phase current vector Is given value switching module 14, so that the software can select the AC-DC axis current relationship corresponding to the maximum torque point. After the motor performance map data is scanned, the motor performance map data obtained by simulation can be processed through the data fitting and processing script 15 to provide the target current instruction table required by the controller current management module 16. Through the above-designed simulation method, the parametric scanning simulation of the new energy permanent magnet synchronous motor can be realized based on the simulation software, and the motor torque-speed-current optimal solution MAP table can be obtained, which provides data support and reference for the physical bench calibration of the motor and controller, speeds up the calibration speed, and shortens the product development cycle.

[0085] The key concept of the present invention is the method proposed by the above invention, which relates to the field of permanent magnet synchronous motors. It discloses a simulation method for obtaining a permanent magnet synchronous motor performance MAP table, which obtains motor performance MAP table data through simulation, provides data support and guidance for physical bench calibration work, thereby improving the calibration work efficiency and accelerating product development progress. The simulation circuit includes: a maximum torque current ratio control algorithm module, a 2R / 3S current coordinate transformation module, a motor body module, a weak magnetic algorithm module and a phase current vector Is given module;

[0086] The simulation circuit of the present invention can set the given speed and the given phase current vector value according to a certain step size, and then scan the optimal distribution angle to realize the maximum torque-current ratio control algorithm, and combine with the weak magnetic algorithm module to obtain the optimal speed-torque-current correspondence MAP table of the motor in the full speed range, and then process the motor performance MAP data obtained by simulation through data fitting and processing scripts, and provide the target current instruction table required by the controller current management module as data support and reference for physical bench calibration, and then make corrections according to the actual results, thereby shortening the development cycle of electric drive products.

[0087] Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.

Claims

1. A system for obtaining MAP of permanent magnet synchronous motor performance, characterized in that: include: Maximum torque current ratio control algorithm module, 2R / 3S current coordinate transformation module, motor body module, weak magnetic algorithm module and phase current vector Is given module; among them: The motor body module is a parameterized motor ECE model constructed as a control object; The phase current vector Is setting module is used to set the phase current vector Is according to the set step size, and when the maximum torque current ratio control algorithm module scans the optimal torque output value, the phase current vector Is set value is switched to 0; The maximum torque-to-current ratio control algorithm module is used to continuously distribute the direct-axis current and the quadrature-axis current by scanning the angle between the given phase current vector Is and the quadrature axis through a fixed step length, and determine the direct-axis current and the quadrature-axis current corresponding to the maximum value of the motor output torque under a certain speed and a given value of the phase current vector Is as the optimal quadrature-direct-axis current distribution solution under this speed and phase current vector value, so as to obtain a mapping relationship between torque-current-speed; The 2R / 3S current coordinate transformation module is used to convert the AC and DC axis currents allocated by the maximum torque current ratio control algorithm module into the three-phase input current of the motor to drive the permanent magnet synchronous motor body to operate; The magnetic field weakening algorithm module is used to realize the optimal magnetic field weakening control of the motor in combination with the optimal AC-DC axis current distribution solution obtained by the maximum torque current ratio control algorithm module during the magnetic field weakening control stage of the motor.

2. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The motor body module includes: a stator resistance and inductance module, an ECE module, a speed input and torque output module; The stator resistance and inductance module is used to describe the actual stator resistance and inductance values ​​of the motor; the ECE module is based on simulation software, which performs parametric scanning on the three-dimensional or two-dimensional model of the motor and then extracts an ECE model for describing the motor body; the speed input and torque output module is used to give the motor speed and sample the torque output value.

3. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The 2R / 3S current coordinate transformation module includes a 2R / 3S coordinate transformation module and a motor rotor position angle module; the 2R / 3S coordinate transformation module is used to inversely transform the quadrature-axis current and the direct-axis current from a two-phase rotating coordinate system to a three-phase stationary coordinate system; the motor rotor position angle module is used to detect the rotor position of the permanent magnet synchronous motor.

4. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The maximum torque current ratio control algorithm MTPA module includes a phase current vector Is sign judgment module, an optimal distribution angle scanning module, a direct axis current Id distribution module, and a quadrature axis current Iq distribution module; The phase current vector Is sign judgment module is used to judge the positive and negative signs of a given phase current vector Is, thereby judging the working mode of the motor; The optimal distribution angle scanning module is used to scan the angle between the given phase current vector Is and the quadrature axis with a fixed step length to obtain the optimal distribution angle; the direct axis current Id distribution module is used to distribute the direct axis current according to the product of the given phase current vector Is and the sine value of the optimal distribution angle; The quadrature-axis current Iq distribution module is used to distribute the quadrature-axis current according to the product of a given phase current vector Is and the cosine value of the optimal distribution angle.

5. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The phase current vector Is given module includes a phase current vector Is actual given value module, a phase current vector Is given value assignment module, and a phase current vector Is given value switching module; The phase current vector Is actual given value module is used to give the actual phase current vector Is value during simulation; The phase current vector Is given value assignment module is used to assign the phase current vector Is to 0 when the given value of the phase current vector Is is 0, so that the output torque is equal to 0 N.M; The phase current vector Is given value switching module is used to switch the given value of the phase current vector Is to 0 when an optimal torque output value is scanned at a certain phase current vector Is given value, so that the torque output value is equal to 0N.M.

6. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The magnetic field weakening algorithm module includes a voltage vector Vs calculation module and a VsMax setting module; The voltage vector Vs calculation module is used to calculate the voltage space vector value Vs by synthesizing the voltage values ​​of the quadrature and direct axes through a calculation formula; The VsMax setting module is used to set the maximum value of the voltage vector.

7. A system for acquiring MAP performance of a permanent magnet synchronous motor according to claim 1, characterized in that: The system also includes a data fitting and processing script module, which is used to process the motor performance MAP data obtained by simulation and output a target current instruction table required by the controller current management module.

8. A system for obtaining MAP performance of a permanent magnet synchronous motor according to claim 7, characterized in that: The system also includes a current management module, which is used to integrate the target current instruction table output by the data fitting and processing script, so as to output the current instruction value according to the torque instruction table lookup.

9. A system for acquiring MAP performance of a permanent magnet synchronous motor according to any one of claims 1 to 8, characterized in that: Each module in the system is pre-built in the simulation software, and then the speed and phase current vector value are given according to a certain step size, and then the optimal distribution angle is scanned to realize the maximum torque-current ratio control algorithm, and combined with the weak magnetic algorithm module, the optimal speed-torque-current correspondence MAP table of the motor in the full speed range is obtained, and then the motor performance MAP data obtained by simulation is processed through data fitting and processing scripts.

10. A method for obtaining a MAP of a permanent magnet synchronous motor performance, characterized in that: The maximum torque current ratio control algorithm module, 2R / 3S current coordinate transformation module, motor body module, weak magnetic algorithm module and phase current vector Is given module are simulated and implemented in the simulation software; Through the maximum torque-current ratio control algorithm module, 2R / 3S current coordinate transformation module, motor body module, weak magnetic algorithm module and phase current vector Is given module, the speed and phase current vector value are given according to a certain step size, and then the optimal distribution angle is scanned to realize the maximum torque-current ratio control algorithm. In combination with the weak magnetic algorithm module, the optimal speed-torque-current correspondence MAP table of the motor in the full speed range is obtained, and then the motor performance MAP data obtained by simulation is processed through data fitting and processing scripts.