Automatic calibration method and system for permanent magnet synchronous motor

By importing preset calibration files and space vector pulse width modulation and field weakening control solutions, the problem of time-consuming manual input and motor temperature rise in the calibration of permanent magnet synchronous motors is solved, an efficient and accurate calibration process is achieved, and the adjustment of the motor is expanded. speed range and dynamic performance.

CN118641950APending Publication Date: 2024-09-13浙江万里扬股份有限公司杭州分公司 +1

Patent Information

Application Number
CN202411110560.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The existing automatic calibration method of permanent magnet synchronous motor has problems such as manual input of command values, which is time-consuming and labor-intensive, and the motor heating and voltage exceeding the limit lead to inaccurate calibration results, and the efficiency and accuracy are low.

Method used

By importing preset calibration files, determining calibration restrictions and test lattice, rapid input and automatic control of idq command values ​​are achieved, avoiding manual errors, and using space vector pulse width modulation and field weakening control schemes to improve voltage utilization and dynamic performance.

Benefits of technology

It significantly improves the efficiency and accuracy of calibration, reduces motor temperature and current fluctuations, expands the speed range of the motor, and improves dynamic performance and control system flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118641950A
    Figure CN118641950A
Patent Text Reader

Abstract

The invention discloses an automatic calibration method and system for a permanent magnet synchronous motor, and relates to the field of permanent magnet synchronous motor calibration. The method comprises the following steps: determining a calibration limiting condition and a calibration test dot matrix according to a preset calibration file; controlling the system to enter a calibration state according to the tested target voltage and target rotating speed; controlling the feedback current to reach a target value according to an instruction value of the calibration test dot matrix; collecting test data according to the calibration limiting conditions and processing system abnormal conditions; and the system traverses all the test points and outputs a test result. According to the technical scheme, rapid input of the idq instruction value in the calibration process of the permanent magnet synchronous motor can be achieved, it is guaranteed that the calibration result has high precision by limiting the calibration condition, and the high scientific research value is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of permanent magnet synchronous motor calibration, and in particular to a permanent magnet synchronous motor automatic calibration method and system. Background Art

[0002] With the continuous growth of the global population and the continuous consumption of traditional fossil fuels, environmental and energy problems are becoming increasingly severe. Electric energy, as an environmentally friendly secondary energy source, can replace traditional internal combustion engine fossil fuels to drive the motor to output mechanical energy. New energy vehicles driven by electric energy have the advantages of energy saving, environmental protection, and pollution-free. In recent years, the new energy vehicle industry has shown a rapid development momentum. The motor and its drive system are the core components of the powertrain of new energy vehicles. The permanent magnet synchronous motor has become the main drive motor of new energy vehicles due to its high power density and wide speed regulation range. In order to give full play to the performance of the permanent magnet synchronous motor, it is necessary to calibrate the corresponding relationship between the motor torque and current in advance, obtain the point corresponding to the maximum torque current ratio below the base speed, and obtain the point corresponding to the maximum torque voltage ratio above the base speed. At present, the permanent magnet synchronous motor is generally calibrated manually. The whole working process is extremely cumbersome and inefficient, and there are errors caused by human factors, and the accuracy of the motor calibration data is low. Therefore, the development of a simple and efficient permanent magnet synchronous motor automatic calibration method is imminent.

[0003] Most of the existing automatic calibration methods for permanent magnet synchronous motors have defects in some aspects. The automatic calibration method based on the full-speed domain lookup table avoids the problem of motor loss of control that may occur during the calibration process by presetting the change process of the current vector angle, and improves the calibration efficiency by reducing the proportion of manual operations; this method ignores the problem of current loss of control when the motor is running at high speed, and the calculation of converting the voltage lookup table to the current lookup table under the voltage control framework is too complicated, and there is a risk of voltage instability. The automatic calibration method based on the torque-free measurement process gets rid of the dependence of traditional calibration methods on power analyzers and torque sensor hardware equipment, reduces the calibration cost, and simplifies the torque acquisition process by estimating the torque value; this method requires a complex current vector control algorithm as support, and is too dependent on the change of the current vector angle, which affects the stability of the calibration. Therefore, based on this problem, the present application proposes a method and system for automatic calibration of permanent magnet synchronous motors. Summary of the invention

[0004] Technical issues In order to solve the above problems, the purpose of the present invention is to provide a permanent magnet synchronous motor automatic calibration method and system, which not only solves the time-consuming and labor-intensive problem of manually inputting command values ​​in the traditional calibration process, but also avoids the occurrence of inaccurate calibration results caused by motor temperature rise and voltage over-limit, realizes the simplification and automation of the calibration process, and significantly improves the efficiency and accuracy of motor calibration.

[0005] Technical Solution In order to achieve the above-mentioned objectives, the present invention provides a method and system for automatic calibration of a permanent magnet synchronous motor, which realizes the rapid input of IDQ command values ​​during the calibration process of the permanent magnet synchronous motor by importing a preset calibration file, and ensures that the calibration results have high precision by limiting the calibration conditions, thereby reducing labor costs and improving the accuracy of the calibration results.

[0006] In a first aspect, the present invention provides a method for automatic calibration of a permanent magnet synchronous motor, comprising: Determine the calibration restriction conditions and calibration test point array according to the preset calibration file; wherein the calibration restriction conditions include the start and pause conditions of the test and the calibration control information; The control system enters a calibration state according to the target voltage and target speed tested; Control the feedback current to reach the target value according to the command value of the calibration test point matrix; Control the system process according to the calibration constraint conditions, suspend the calibration process when the system does not meet the calibration constraint conditions, and collect test data when the system meets the voltage utilization constraint conditions; The system traverses all test points and outputs the test results.

[0007] Furthermore, the format of the preset calibration file includes an Excel format.

[0008] Furthermore, the start and pause conditions of the test include bus voltage conditions, motor speed conditions, motor temperature conditions and electronic control temperature conditions.

[0009] Furthermore, the calibration control information includes voltage utilization limit, idq step size, delay time for allowing torque sampling after current stabilization, feedback current judgment error, feedback voltage condition judgment error, and feedback speed condition judgment error.

[0010] Furthermore, the calibration test point matrix is ​​specifically a matrix of IDQ test points. The calibration test point matrix can be generated with the aid of a formula in an Excel table cell and is composed of MTPA or MTPV.

[0011] Furthermore, the method imports a preset calibration file into the upper computer software so that the system can obtain calibration constraints and calibration test points; it avoids the tedious process of manually inputting IDQ command values ​​one by one, and significantly improves the efficiency of calibration; it reduces the intervention of human operation through automated input, and avoids the occurrence of inaccurate calibration data due to manual input errors.

[0012] Furthermore, the calibration restriction conditions and calibration test point arrays are stored in the upper computer software in the form of log files.

[0013] Furthermore, the method ensures that the current change amplitude between adjacent test points is minimized by sorting the imported idq dot matrix table and recording the number of dot matrix entries; thus, the method improves the calibration speed and accuracy of the permanent magnet synchronous motor.

[0014] Furthermore, the calibration test dot matrix specifically saves the sorted idq dot matrix table and the number of dot matrix entries in the form of a log file in the upper computer software.

[0015] Furthermore, the method provides the voltage required for the test to the motor under test through a high-voltage electrical cabinet, and controls the rotation speed of the motor under test to reach a target value of the test through a test bench control system.

[0016] Furthermore, before the calibration process starts, the host computer software collects system feedback parameters and compares the system feedback parameters with the calibration start conditions to determine whether the current system operating environment meets the operating conditions required for the calibration process. If the conditions are met, the system enters the calibration state.

[0017] Furthermore, the system feedback parameters include bus voltage, motor speed, motor temperature and electronic control temperature.

[0018] Furthermore, the host computer obtains the IDQ command value of the next test point according to the log file, and obtains the stage value of the IDQ command through step-limited calculation, and the stage value of the IDQ command is transmitted to the motor controller through the bus; the method performs a cyclic step calculation on the command value of the test point until the IDQ current fed back by the motor controller is consistent with the IDQ command value, and the judgment standard of the cyclic step calculation is determined according to the calibration control information.

[0019] Furthermore, if the IDQ current fed back by the motor controller reaches the target value and the voltage utilization does not exceed the limit of the calibration control information, the host computer collects the test data and increments the number of completed test points after waiting for the delay time for torque sampling specified in the calibration control information to stabilize the current; if the voltage utilization of the IDQ current fed back by the motor controller exceeds the limit of the calibration control information before reaching the target value, the system immediately ends the calibration of the test point, and the host computer writes "voltage utilization exceeds the limit" in the log file of the test point and also increments the number of completed test points. The test data includes torque, actual current and voltage utilization, which are stored in the log file. By limiting the voltage utilization, it reduces the fluctuation of motor current and magnetic field strength and improves the dynamic performance of the motor.

[0020] Furthermore, the output file of the test data has the same format as the preset calibration file.

[0021] Furthermore, during the calibration process, the host computer collects system feedback parameters in real time. When the system feedback parameters exceed the calibration allowable range, the host computer sends an instruction to the motor controller to remove the current to suspend the system calibration process. The host computer then continues to collect system feedback parameters until the system meets the starting conditions required for calibration.

[0022] Furthermore, during the calibration process, the host computer updates the log file in real time, and the completeness of the log file is the progress of the entire calibration process; when the system determines that the start conditions required for calibration are met and the calibration process is not completed, the host computer automatically reads the information of the test point executed when the calibration process is interrupted and restarts the calibration process from this test point until all test points are traversed.

[0023] Furthermore, the method is based on a space vector pulse width modulation scheme to improve the voltage utilization rate of the calibration process. It synthesizes a voltage vector close to an ideal circular rotating magnetic field by linearly combining the basic voltage vectors of the three-phase inverter to accurately control the speed and torque of the motor. It can more effectively utilize the DC bus voltage, achieve accurate control of the motor output voltage, improve the voltage utilization rate, and thus improve the efficiency of the motor; compared with the traditional sinusoidal pulse width modulation scheme, the torque pulsation is reduced and the motor's motion performance is improved.

[0024] Furthermore, the method is based on a weak magnetic field control scheme to strengthen the control of the motor under high-speed operation, which offsets part of the permanent magnet magnetic field by increasing the reverse component of the direct-axis current. It can continue to increase the speed after the motor reaches the rated speed, thereby expanding the speed regulation range of the motor and meeting a wider range of application needs; in the weak magnetic field high-speed area, the natural transition between different modulation areas is achieved by optimizing the voltage vector and phase, which increases the output voltage of the inverter, thereby enhancing the motor's load-carrying capacity under a constant speed.

[0025] In a second aspect, the present invention further provides a permanent magnet synchronous motor automatic calibration system, the system is based on the method described in the first aspect, and comprises: A permanent magnet synchronous motor equipped with a resolver; The motor controller is used to receive the ID and IQ instructions sent by the bus and send system feedback parameters and electric control fault information to the bus; High-voltage electrical cabinet, used to provide high-voltage current to the motor under test and the motor controller; A test bench for sending the torque of the motor under test to the bus; The test host computer is used for importing the preset calibration files, process management and exporting the test results.

[0026] In a third aspect, the present invention further provides a computer device, comprising a processor and a memory, wherein the processor is communicatively connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, and when the processor executes the computer program, the aforementioned permanent magnet synchronous motor automatic calibration method is implemented.

[0027] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the aforementioned permanent magnet synchronous motor automatic calibration method is implemented.

[0028] The present invention determines calibration restriction conditions and calibration test dot matrix according to a preset calibration file, which avoids the cumbersome process of manually inputting IDQ command values ​​one by one, and significantly improves the efficiency of calibration; the system enters the calibration state according to the target voltage and target speed of the test; the feedback current is controlled to reach the target value according to the command value of the calibration test dot matrix; the test data is collected and the system abnormal conditions are processed according to the calibration restriction conditions, and the fluctuation of the motor resistance and magnetic circuit permeability caused by the change of the motor temperature is reduced by setting a constant calibration temperature, and the fluctuation of the motor current and magnetic field strength is reduced by limiting the voltage utilization rate, thereby improving the accuracy and reliability of the measurement results. The calibration method and system not only solve the problem of time-consuming and labor-intensive manual input of command values ​​in the traditional calibration process, but also avoid the occurrence of inaccurate calibration results caused by motor temperature rise and voltage over-limit, realize the simplification and automation of the calibration process, and significantly improve the efficiency and accuracy of motor calibration.

[0029] Beneficial Effects By implementing the permanent magnet synchronous motor automatic calibration method and system provided by the present invention, the following technical effects are achieved: (1) The present invention imports an IDQ test dot matrix table to realize the rapid input of IDQ command values, thereby avoiding the tedious process of manually inputting IDQ command values ​​one by one and significantly improving the efficiency of calibration; reduces the intervention of human operation through automated input and avoids the occurrence of inaccurate calibration data due to manual input errors; and ensures that the current conversion amplitude between adjacent test points is minimized by sorting the imported IDQ dot matrix table and recording the number of dot matrix entries, thereby improving the calibration speed and accuracy of the permanent magnet synchronous motor.

[0030] (2) The present invention sets a calibration motor temperature to reduce the impact of motor temperature rise on the calibration result, and limits the voltage utilization rate to reduce the fluctuation of motor parameters. It sets a constant calibration temperature to reduce the fluctuation of motor resistance and magnetic circuit permeability caused by motor temperature changes, thereby improving the accuracy and reliability of the measurement result; it performs multiple tests under the same temperature conditions to ensure the consistency of the measurement result, ensure the long-term stability of the motor parameters, and meet the requirements of high-precision control; it limits the voltage utilization rate to reduce the fluctuation of motor current and magnetic field strength, thereby improving the dynamic performance of the motor.

[0031] (3) The present invention is based on a space vector pulse width modulation scheme to improve the voltage utilization rate of the calibration process. The basic voltage vector of the three-phase inverter is synthesized by linearly combining the voltage vector of the three-phase inverter to accurately control the speed and torque of the motor. It can more effectively utilize the DC bus voltage, realize accurate control of the motor output voltage, improve the voltage utilization rate, and thus improve the efficiency of the motor. Its digital implementation is easy and can improve the flexibility and reliability of the motor control system. Compared with the traditional sinusoidal pulse width modulation scheme, the torque pulsation is low and the motor's motion performance is high.

[0032] (4) The present invention is based on a weak magnetic field control scheme to strengthen the control of the motor under high-speed operation state. By increasing the reverse component of the direct-axis current to offset part of the permanent magnet magnetic field, the motor can continue to increase the speed after reaching the rated speed, thereby expanding the speed regulation range of the motor and meeting a wider range of application needs; in the weak magnetic field high-speed area, the natural transition of different modulation areas is achieved by optimizing the voltage vector and phase, thereby improving the output voltage of the inverter, thereby enhancing the motor's load-carrying capacity under a certain speed; under a certain load torque, the weak magnetic field speed regulation area of ​​the permanent magnet synchronous motor can be expanded to increase the operating range of the motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to make the above-mentioned permanent magnet synchronous motor automatic calibration method and system of the present invention more obvious and easy to understand, the drawings required for use in the specific implementation of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying creative labor.

[0034] Figure 1 A schematic diagram showing steps of a method for automatic calibration of a permanent magnet synchronous motor; Figure 2 A schematic diagram showing the architecture of a permanent magnet synchronous motor automatic calibration system; Figure 3 A schematic diagram showing a flow chart of an automatic calibration method for a permanent magnet synchronous motor; Figure 4Schematic diagram showing the effect of space vector pulse width modulation scheme. DETAILED DESCRIPTION

[0035] In order to facilitate understanding of the embodiments of the present invention, the abbreviations and key terms that may be involved in the embodiments of the present invention are first explained or defined. For undefined abbreviations or key terms, they are commonly understood by those skilled in the art.

[0036] idq: current command value in synchronous rotating coordinate system; MTPA: Maximum torque to current ratio; MTPV: Maximum torque to voltage ratio.

[0037] The present invention will be further described below in conjunction with the accompanying drawings.

[0038] Embodiment 1: A method for automatic calibration of a permanent magnet synchronous motor is provided. Figure 1 As shown, the method includes: determining the calibration restriction conditions and calibration test point matrix according to the preset calibration file; controlling the system to enter the calibration state according to the target voltage and target speed of the test; controlling the feedback current to reach the target value according to the command value of the calibration test point matrix; collecting test data and processing system abnormal conditions according to the calibration restriction conditions; the system traverses all test points and outputs the test results. The method flow chart is shown in Figure 3 shown.

[0039] The permanent magnet synchronous motor automatic calibration method provided by the present invention specifically includes: Determine the calibration restriction conditions and calibration test points according to the preset calibration file; Before the test begins, the host computer imports a preset calibration file to enable the system to obtain calibration restrictions and calibration test dot matrix. The format of the preset calibration file includes an excel format, which is used to preset various preset parameters required for automatic calibration of the permanent magnet synchronous motor. Among them, the calibration restrictions include the start and pause conditions of the test and the calibration control information, which are saved in the host computer software in the form of a log file; the start and pause conditions of the test include bus voltage conditions, motor speed conditions, motor temperature conditions and electronic control temperature conditions; the calibration control information includes voltage utilization limit, idq step size, delay time for torque sampling after current stabilization, feedback current judgment error, feedback voltage condition judgment error, feedback speed condition judgment error. The calibration test dot matrix is ​​specifically a dot matrix of idq test points, which is generated with the assistance of the formula in the excel table cell, and the dot matrix table is composed of MTPA or MTPV.

[0040] The host computer sorts the imported idq dot matrix table and records the number of dot matrix entries to ensure the minimum current change between adjacent test points, thereby improving the calibration speed of the permanent magnet synchronous motor. The sorted idq dot matrix table and the number of dot matrix entries are saved in the host computer software in the form of a log file.

[0041] The control system enters a calibration state according to the target voltage and target speed tested; Before the calibration process starts, the high-voltage cabinet provides the motor under test with the voltage required for the test, and the test bench control system controls the speed of the motor under test to reach the target value of the test. At this time, the host computer software collects the system feedback parameters and compares the system feedback parameters with the calibration start conditions to determine whether the current system operating environment meets the operating conditions required for the calibration process. If the conditions are met, the system enters the calibration state; the system feedback parameters include bus voltage, motor speed, motor temperature and electronic control temperature.

[0042] Control the feedback current to reach the target value according to the command value of the calibration test point matrix; The idq dot matrix table includes the command value of the test point, the upper computer obtains the command value of the test point according to the log file, the command value of the test point is calculated through step limit to obtain the stage value of the idq command, and the stage value of the idq command is transmitted to the motor controller through the bus; the method performs cyclic step calculation on the command value of the test point until the idq current fed back by the motor controller is consistent with the idq command value, and the judgment standard of the cyclic step calculation is determined according to the calibration control information.

[0043] Collect test data and handle system abnormalities according to calibration constraints; If the idq current fed back by the motor controller reaches the target value and the voltage utilization does not exceed the limit of the calibration control information, the host computer will collect the test data and increment the number of completed test points after waiting for the delay time for torque sampling specified in the calibration control information to stabilize the current; if the voltage utilization of the idq current fed back by the motor controller exceeds the limit of the calibration control information before reaching the target value, the system will immediately end the calibration of the test point, and the host computer will write "voltage utilization exceeds the limit" in the log file of the test point and also increment the number of completed test points. The test data includes torque, actual current and voltage utilization, which are stored in the log file. The output file of the test data has the same format as the preset calibration file used as input.

[0044] During the calibration process, the host computer collects system feedback parameters in real time. When the system feedback parameters exceed the calibration allowable range, the host computer sends a command to the motor controller to remove the current to suspend the system calibration process. The host computer then continues to collect system feedback parameters until the system meets the startup conditions required for calibration.

[0045] The system traverses all test points and outputs test results; During the calibration process, the host computer updates the log file in real time. The completeness of the log file is the progress of the entire calibration process. When the system meets the startup conditions required for calibration and the calibration process is not completed, the host computer automatically reads the information of the test point executed when the process is interrupted and restarts the calibration process from this test point until all test points are traversed.

[0046] Embodiment 2: On the basis of the above-mentioned embodiment, a space vector pulse width modulation scheme is added to improve the voltage utilization rate of the calibration process, which synthesizes a voltage vector close to an ideal circular rotating magnetic field by linearly combining the basic voltage vectors of the three-phase inverter to accurately control the speed and torque of the motor; In the space vector pulse width modulation scheme, the three-phase voltage , , It can be expressed as two orthogonal DC voltage vectors and ;

[0047]

[0048]

[0049] in, Indicates the electrical angle of the motor; This is achieved by controlling the voltage vector to switch between six possible states, which can be represented as 000, 001, 010, 011, 100 and 101. Each state corresponds to a voltage vector, and these vectors form a hexagon in the voltage space. Its purpose is to calculate the duration of each voltage vector to synthesize the required and ; For example, assuming the rated power , rated voltage , rated current , rated speed , the number of pole pairs , motor resistance , phase inductance ; Reference voltage vector of the motor , which is a certain proportion of the motor rated voltage: ; Reference current vector: , , Usually starts from 0; Modulation Index: ,in Indicates the DC bus voltage of the motor controller; Calculate three-phase voltage , , , assuming , ;

[0050]

[0051]

[0052] According to the space vector pulse width modulation scheme, the effect diagram is as follows Figure 4 As shown in the figure, the torque pulsation amplitude of periodic changes caused by unbalanced rotating parts or uneven force during the calibration process can be gradually reduced from the highest 17.56% to 0, thereby improving the accuracy of the measurement results. The addition of a modulation scheme can more effectively utilize the DC bus voltage, achieve precise control of the motor output voltage, improve the voltage utilization rate, and thus improve the efficiency of the motor; compared with the traditional sinusoidal pulse width modulation scheme, the torque pulsation is reduced and the motor's motion performance is improved.

[0053] Embodiment 3: On the basis of the above-mentioned embodiment, a weak magnetic field control scheme is added to strengthen the control of the motor under high-speed operation state, which offsets part of the permanent magnet magnetic field by increasing the reverse component of the direct-axis current, and generates the required torque by gradually reducing the quadrature-axis current and maintaining sufficient direct-axis current; Back EMF calculation: ,in Indicates the frequency of the motor, Indicates the number of pole pairs of the motor, represents the quadrature-axis inductance of the motor, represents the direct axis current; The target speed of the weak magnetic control should be higher than the rated speed of the motor; This is achieved by reducing the quadrature axis current: ,in , represents the weakening factor of field weakening control, represents the weakened quadrature axis current, represents the quadrature axis current before weakening; According to the weak magnetic control scheme, the rated speed of the motor increased by about 6% during the calibration process, which effectively widened the operating speed range of the motor; the efficiency of the motor increased by about 3%, and the energy loss was reduced; the temperature rise of the motor during operation was reduced by about 11%, and the heat loss of the motor was reduced; the system control response time was shortened by 20%, and the response speed of the motor control system was improved; the load capacity of the motor increased by about 5%. The effect of the weak magnetic control scheme is shown in Table 1. Therefore, it can be seen that the weak magnetic control scheme can continue to increase the speed after the motor reaches the rated speed, thereby expanding the speed regulation range of the motor and meeting a wider range of application needs; in the weak magnetic high-speed area, the natural transition of different modulation areas is achieved by optimizing the voltage vector and phase, which increases the output voltage of the inverter, thereby enhancing the motor's load-carrying capacity under a constant speed.

[0054] Table 1. Summary of the effects of weak magnetic control scheme

[0055] The permanent magnet synchronous motor automatic calibration method and system provided by the present invention can realize fast current command setting, feedback current collection, voltage utilization collection, temperature collection, torque collection and output of test results. The method sets the calibration motor temperature to reduce the influence of motor temperature rise on the calibration result, and limits the voltage utilization to reduce the fluctuation of motor parameters. It can significantly shorten the time required for calibration, improve the calibration efficiency, and ensure the consistency and reliability of calibration data.

[0056] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media containing computer-usable program code.

[0057] The present invention can provide computer program instructions to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce means for implementing the system.

[0058] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions of the system.

[0059] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions of the system.

Claims

1. A permanent magnet synchronous motor automatic calibration method, characterized in that: include: Determine the calibration restriction conditions and calibration test point array according to the preset calibration file; wherein the calibration restriction conditions include the start and pause conditions of the test and the calibration control information; The control system enters a calibration state according to the target voltage and target speed tested; Controlling the feedback current to reach a target value according to the command value of the calibration test point matrix; Controlling the system process according to the calibration restriction condition, suspending the calibration process when the system does not meet the calibration restriction condition, and collecting test data when the system meets the voltage utilization restriction condition; The system traverses all test points and outputs the test results.

2. The method for automatic calibration of a permanent magnet synchronous motor according to claim 1, characterized in that: The start and pause conditions of the test include bus voltage conditions, motor speed conditions, motor temperature conditions and electric control temperature conditions; and / or The calibration control information includes voltage utilization rate limit, IDQ step size, delay time for allowing torque sampling after current stabilization, judgment error of feedback current, judgment error of feedback voltage condition, and judgment error of feedback speed condition; and / or The calibration test point matrix is ​​generated with the aid of a formula in an Excel table cell and is composed of MTPA or MTPV.

3. The method for automatic calibration of a permanent magnet synchronous motor according to claim 1 or 2, characterized in that: The method imports the preset calibration file into the host computer software so that the system can obtain the calibration restriction conditions and calibration test point array.

4. The method for automatic calibration of a permanent magnet synchronous motor according to claim 3, characterized in that: The method ensures that the current change amplitude between adjacent test points is minimal by sorting the imported idq dot matrix table and recording the number of dot matrix entries.

5. The method for automatic calibration of a permanent magnet synchronous motor according to claim 3, characterized in that: The host computer software compares the system feedback parameters collected during the calibration process according to the start and pause conditions of the test; When the system determines that the suspension conditions of the test are met, the system calibration process is suspended. When the system determines that the start conditions of the test are met again, it automatically reads the information of the test point executed when the calibration process is interrupted and restarts the calibration process from this test point until all test points are traversed. The upper computer software collects test data according to the calibration control information and increases the number of completed test points.

6. The method for automatic calibration of a permanent magnet synchronous motor according to claim 1 or 2, characterized in that: The host computer obtains the idq command value of the next test point according to the log file, and obtains the stage value of the idq command through step-limited calculation. The method performs cyclic step-size calculation on the command value of the test point until the idq current fed back by the motor controller is consistent with the idq command value.

7. The method for automatic calibration of a permanent magnet synchronous motor according to claim 1 or 2, characterized in that: The method is based on a space vector pulse width modulation scheme to improve the voltage utilization rate of the calibration process. It synthesizes a voltage vector close to an ideal circular rotating magnetic field by linearly combining basic voltage vectors of a three-phase inverter to accurately control the speed and torque of the motor.

8. The method for automatic calibration of a permanent magnet synchronous motor according to claim 1 or 2, characterized in that: The method is based on a flux weakening control scheme to enhance the control of the motor under high-speed operation, which offsets part of the permanent magnet magnetic field by increasing the reverse component of the direct-axis current.

9. A permanent magnet synchronous motor automatic calibration system, characterized in that: When the system is running, the method described in any one of claims 1 to 8 is implemented: The system comprises: A permanent magnet synchronous motor equipped with a resolver; The motor controller is used to receive the ID and IQ instructions sent by the bus and send the system feedback parameters and electric control fault information to the bus; A high voltage electric cabinet, used for providing high voltage current to the motor under test and the motor controller; A test bench for sending the torque of the motor under test to the bus; The test host computer is used for importing the preset calibration files, process management and exporting the test results.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed, the method for automatic calibration of a permanent magnet synchronous motor according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Novel method for flux weakening calibration of permanent-magnet synchronous motor controller for blade electric vehicle

    CN107046386A

  • Calibration method and device for direct axis inductance and quadrature axis inductance of permanent magnet synchronous motor stator

    CN108181587A

  • Calibration method and control method for permanent magnet synchronous motor, and bench test control system

    CN110289792A

  • Process method for realizing vector control current parameter generation and calibration of electric vehicle driving motor

    CN110417317A

  • Automatic calibration method and system for permanent magnet synchronous motor MTPV algorithm, and storage medium

    CN111049447A

Cited By

  • Motor fault diagnosis method and motor controller

    CN119471373A