Current compensation method of permanent magnet synchronous motor and permanent magnet synchronous motor

By obtaining the change rate of the rotor magnetic flux and calculating the compensation coefficient of the interstic axis component current, the closed-loop control of current at different temperatures or aging conditions is achieved, the problem of inaccurate torque output of permanent magnet synchronous motors is solved, and the performance stability of the tram is improved and control accuracy.

CN119010699APending Publication Date: 2024-11-22DONGFENG MOTOR GRP
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411006469.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Under different temperatures or under motor aging, the torque output of the permanent magnet synchronous motor is inaccurate, which makes it difficult to ensure the stability and reliability of the tram performance, and it is difficult to achieve accurate control based on direct feedback control based on torque sensors.

Method used

By obtaining the rotor magnetic flux change rate, the compensation coefficient of the intersection component current is calculated, and the target straight-axis component current and the target intersection component current are obtained based on the compensation coefficient, the reference parallel-axis component current and the reference intersection component current are used to perform current closed-loop control To maintain the stability of torque output.

Benefits of technology

Effectively maintain the output torque of the tram under different temperatures or aging conditions, improving the performance stability and control accuracy of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010699A_ABST
    Figure CN119010699A_ABST
Patent Text Reader

Abstract

The invention discloses a current compensation method of a permanent magnet synchronous motor and the permanent magnet synchronous motor, relates to the technical field of motors, and discloses the current compensation method of the permanent magnet synchronous motor, comprising the following steps: acquiring a rotor flux linkage change rate, a reference direct-axis component current and a reference quadrature-axis component current; and if the rotor flux linkage change rate is greater than a preset value, acquiring a compensation coefficient of the quadrature-axis component current to compensate the current. And inputting the compensated direct-axis component current and quadrature-axis component current as instruction current to carry out current closed-loop control. The change of the electric vehicle under different temperatures or aging conditions is represented through the change of the rotor flux linkage, and the compensation coefficient of the quadrature-axis component current is calculated based on the change rate of the rotor flux linkage. And based on the compensation coefficient, the reference direct-axis component current and the reference quadrature-axis component current, a compensated target direct-axis component current and a compensated target quadrature-axis component current are obtained to serve as instruction currents for current closed-loop control, and the output torque of the electric vehicle is kept unchanged under the condition of different temperatures or aging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor technology, and in particular to a current compensation method for a permanent magnet synchronous motor and a permanent magnet synchronous motor. Background Art

[0002] Faced with the increasingly severe energy shortage and environmental pollution problems around the world, new energy vehicles are vigorously promoting their development. At the same time, they are also faced with the problem of how to reduce their energy consumption during use.

[0003] In automotive motor control systems, permanent magnet synchronous motors, especially built-in permanent magnet synchronous motors, have been widely used due to their high power density, high efficiency and small size. Electromagnetic torque is an important external characteristic variable of the motor. In most automotive applications, it needs to be controlled quickly and accurately to meet people's performance requirements for the car. However, due to considerations such as cost, accuracy, reliability, installation, signal processing and response bandwidth, electromagnetic torque direct feedback control based on torque sensors is often difficult to achieve. Summary of the invention

[0004] The main purpose of the present application is to provide a current compensation method for a permanent magnet synchronous motor and a permanent magnet synchronous motor, aiming to solve the technical problem of inaccurate torque output of electric vehicles under different temperatures or under normal aging of the motor.

[0005] To achieve the above-mentioned objectives, the present application proposes a current compensation method for a permanent magnet synchronous motor, the method comprising: obtaining the rotor flux change rate; obtaining a reference direct-axis component current and a reference quadrature-axis component current according to the requested torque; if the rotor flux change rate is greater than a first preset value, obtaining a compensation coefficient for the quadrature-axis component current; obtaining a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient for the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; and inputting the target direct-axis component current and the target quadrature-axis component current as command currents for current closed-loop control.

[0006] In one embodiment, obtaining the rotor flux change rate includes: obtaining the direct-axis inductance and initial rotor flux under a preset rotor temperature, a preset direct-axis component current, and a preset reference quadrature-axis component current; obtaining the current rotor flux based on the direct-axis inductance; and calculating the rotor flux change rate based on the initial rotor flux and the current rotor flux.

[0007] In one embodiment, the method of obtaining a reference direct-axis component current and a reference quadrature-axis component current according to a requested torque includes: performing conventional MTPA calibration at rated voltage, preset temperature, and preset speed to obtain a one-dimensional table lookup of the requested torque and the direct-axis component current; performing sweep calibration at rated voltage, preset temperature, and preset speed to obtain a two-dimensional table lookup of the requested torque and the direct-axis component current and the quadrature-axis component current output; obtaining the requested torque; obtaining a reference direct-axis component current according to the requested torque and the one-dimensional table lookup; and obtaining a reference quadrature-axis component current according to the reference direct-axis component current and the two-dimensional table lookup.

[0008] In one embodiment, the compensation coefficient of the quadrature-axis component current is obtained, including: obtaining feedback direct-axis component current and feedback quadrature-axis component current; obtaining estimated total torque and estimated permanent magnet torque according to the two-dimensional table lookup, the feedback direct-axis component current and the feedback quadrature-axis component current; and obtaining the compensation coefficient of the quadrature-axis component current according to the rotor flux change rate, the estimated total torque and the estimated permanent magnet torque.

[0009] In one embodiment, the method of obtaining the target direct-axis component current and the target quadrature-axis component current based on the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current includes: calculating the target quadrature-axis component current based on the compensation coefficient of the quadrature-axis component current and the reference quadrature-axis component current; judging whether the total torque has changed based on the target quadrature-axis component current; if the total torque remains unchanged, the reference direct-axis component current is the target direct-axis component current; if the total torque changes, obtaining the target direct-axis component current based on the compensation coefficient of the quadrature-axis component current and the reference direct-axis component current.

[0010] In one embodiment, before obtaining the reference quadrature-axis component current according to the reference direct-axis component current and the two-dimensional table lookup, the method further includes: obtaining an active magnetic weakening control current; and obtaining a magnetic weakening superposition direct-axis component current as a new reference direct-axis component current according to the active magnetic weakening control current and the reference direct-axis component current.

[0011] In addition, to achieve the above-mentioned purpose, the present application also proposes a current compensation device for a permanent magnet synchronous motor, the device comprising: a parameter acquisition module, used to obtain the rotor flux change rate; obtain a reference direct-axis component current and a reference quadrature-axis component current according to the requested torque; if the rotor flux change rate is greater than a first preset value, obtain the compensation coefficient of the quadrature-axis component current; obtain the target direct-axis component current and the target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; a control module, used to input the target direct-axis component current and the target quadrature-axis component current as the command current for current closed-loop control.

[0012] In addition, to achieve the above-mentioned objectives, the present application also proposes a permanent magnet synchronous motor, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the current compensation method of the permanent magnet synchronous motor as described above.

[0013] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the current compensation method of the permanent magnet synchronous motor as described above are implemented.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the current compensation method of the permanent magnet synchronous motor as described above are implemented.

[0015] One or more technical solutions proposed in this application have at least the following technical effects:

[0016] The change of the electric vehicle under different temperatures or aging conditions is characterized by the change of the rotor magnetic flux, and the compensation coefficient of the quadrature-axis component current is calculated based on the change rate of the rotor magnetic flux. The compensated target direct-axis component current and the target quadrature-axis component current are obtained based on the compensation coefficient, the reference direct-axis component current and the reference quadrature-axis component current as the command current for current closed-loop control, so as to maintain the output torque of the electric vehicle unchanged under different temperatures or aging conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A flow chart of a current compensation method for a permanent magnet synchronous motor according to a first embodiment of the present invention;

[0020] Figure 2 A further detailed flow chart of the current compensation method for a permanent magnet synchronous motor provided in the first embodiment of the present application;

[0021] Figure 3A flow chart of step S30 provided in Embodiment 2 of the current compensation method for a permanent magnet synchronous motor of the present application;

[0022] Figure 4 This is a schematic diagram of the module structure of the current compensation device of the permanent magnet synchronous motor according to an embodiment of the present application;

[0023] Figure 5 Schematic diagram of the equipment structure of the hardware operating environment involved in the current compensation method of the permanent magnet synchronous motor in the embodiment of the present application.

[0024] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0025] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0026] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0027] At present, temperature-based torque compensation is a common and effective method in motor torque compensation schemes. This compensation method mainly takes into account that during the operation of the motor, due to the increase in temperature, the physical properties of its internal materials (such as resistivity, magnetic permeability, etc.) will change, which will in turn affect the electromagnetic properties of the motor, and ultimately lead to a deviation between the actual output torque and the theoretical value or nominal value. In order to maintain the stability of the motor's performance and ensure the accuracy and reliability of the system operation, it is necessary to compensate for this torque change caused by temperature.

[0028] The temperature-based torque compensation scheme usually includes the following steps: First, it is necessary to install temperature sensors on or around the motor to monitor the operating temperature of the motor in real time. These sensors can be thermocouples, thermistors or integrated temperature sensors, etc., which can accurately convert temperature into electrical signal output. Through experimental or theoretical analysis, a mathematical relationship model between motor temperature and output torque is established. This model needs to take into account multiple factors such as the specific structure, material properties, and working environment of the motor. According to the temperature value monitored in real time and the established temperature-torque relationship model, the torque value that needs to be compensated for the motor at the current temperature is calculated. The calculated torque compensation value is applied to the control system of the motor, and the output torque of the motor is corrected by adjusting the control parameters (such as current, voltage, etc.) to achieve the expected target value.

[0029] However, faced with the technical problem of inaccurate actual torque output of electric vehicles under different temperatures or under normal aging of the motor, direct feedback control of electromagnetic torque based on torque sensors is often difficult to achieve, while torque compensation based on temperature sensors is directly affected by precision and response speed and affects the accuracy of torque compensation.

[0030] Therefore, in order to solve this problem, the main solution of the embodiment of the present application is: obtain the rotor flux change rate; obtain the reference direct-axis component current and the reference quadrature-axis component current according to the requested torque; if the rotor flux change rate is greater than the first preset value, obtain the compensation coefficient of the quadrature-axis component current; obtain the target direct-axis component current and the target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; input the target direct-axis component current and the target quadrature-axis component current as the command current for current closed-loop control.

[0031] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a permanent magnet synchronous motor, etc. The following takes a permanent magnet synchronous motor as an example to illustrate this embodiment and the following embodiments.

[0032] Based on this, the present application embodiment provides a current compensation method for a permanent magnet synchronous motor, referring to Figure 1 , Figure 1 A flow chart of a current compensation method for a permanent magnet synchronous motor according to the present invention.

[0033] In this embodiment, the current compensation method of the permanent magnet synchronous motor includes steps S10 to S50:

[0034] Step S10, obtaining the rotor flux change rate.

[0035] It can be understood that the rotor flux change rate represents the degree of change of the permanent magnet synchronous motor rotor flux, and the rotor flux change rate depends on the initial rotor flux and the current rotor flux. Among them, the rotor flux will change due to load changes and temperature changes, so the rotor flux change rate can represent the working condition of the tram at different temperatures or the normal aging of the motor.

[0036] For further information, see Figure 2 , Figure 2 A further detailed flowchart diagram of the first embodiment of the current compensation method for the permanent magnet synchronous motor of the present application is provided.

[0037] In this embodiment, a feasible implementation method for obtaining the rotor flux change rate is provided, and step S10 includes steps S11 to S13:

[0038] Step S11, obtaining the direct-axis inductance and the initial rotor flux at a preset rotor temperature, a preset direct-axis component current, and a preset reference quadrature-axis component current.

[0039] It should be noted that obtaining the direct-axis inductance and the initial rotor flux at the preset rotor temperature, the preset direct-axis component current and the preset reference quadrature-axis component current is achieved through simulation.

[0040] It can be understood that the simulation process is as follows. First, select a suitable motor model that can simulate the electromagnetic and thermal behavior of the motor. Set the temperature of the rotor to T0, and ensure that the simulation environment can consider the impact of temperature on the motor parameters. Set the preset direct-axis component current and the preset reference quadrature-axis component current to fixed values, which are the key input parameters of the simulation. After setting all parameters, run the simulation to simulate the operating state of the motor under the specified conditions. Extract key parameters such as direct-axis inductance, quadrature-axis inductance, and initial rotor flux from the simulation results.

[0041] Step S12, obtaining the current rotor flux according to the direct-axis inductance.

[0042] It should be noted that the current rotor flux can be obtained through the voltage equation: U q =ω e Ψ d =ω e (L d I d +Ψ f1 ) is obtained, where U q is the quadrature axis voltage, ω e is the angular frequency, Ψ d is the direct axis flux, L d is the direct-axis inductance, I d is the fixed preset direct axis component current, Ψ f1 is the current rotor flux. By substituting the value into the corresponding measuring instrument, the current rotor flux can be obtained.

[0043] Step S13, calculating the rotor flux change rate according to the initial rotor flux and the current rotor flux.

[0044] It should be noted that when the initial rotor flux and the current rotor flux are obtained, the rotor flux change rate x = (Ψ f1 -Ψ f0 ) / Ψ f0 , where Ψ f0 is the initial rotor flux, and the rotor flux change rate is the ratio of the difference between the current rotor flux and the initial rotor flux to the initial rotor flux.

[0045] In this embodiment, by providing specific steps for obtaining the rotor flux change rate, the initial rotor flux is obtained through simulation experiments, and the current rotor flux is obtained through the flux voltage equation, so as to obtain a more accurate rotor flux change rate.

[0046] The above is only a feasible implementation of step S20 provided in this embodiment, and this embodiment does not specifically limit the specific implementation of step S10.

[0047] Step S20 , obtaining a reference direct-axis component current and a reference quadrature-axis component current according to the requested torque.

[0048] It should be noted that the requested torque usually depends on the engine speed and throttle opening. The engine speed refers to the number of revolutions per minute of the engine, usually in rpm (revolutions per minute). This value can be directly measured by the engine speed sensor. The throttle opening determines the load or power demand of the engine. The requested torque can be calculated by the vehicle power controller based on the algorithm.

[0049] It can be understood that the direct-axis component current and the quadrature-axis component current are intrinsically linked to the requested torque as part of power control, so after obtaining the requested torque, the reference direct-axis component current and the reference quadrature-axis component current corresponding to the requested torque can be obtained. When the temperature is appropriate and the machine is not aged, the reference direct-axis component current and the reference quadrature-axis component current are input as the command current for current closed-loop control, and the power equipment can obtain the corresponding requested torque command.

[0050] For further information, see Figure 2 , providing a feasible implementation method for obtaining a reference direct-axis component current and a reference quadrature-axis component current, step S20 includes steps S21 to S23:

[0051] Step S21 , performing conventional MTPA calibration at rated voltage, preset temperature, and preset speed to obtain a one-dimensional table lookup of requested torque and direct-axis component current.

[0052] It can be understood that in the conventional maximum torque / current ratio (MTPA) calibration process of a permanent magnet synchronous motor (PMSM), the goal is to find the direct-axis component current that can produce the corresponding requested torque under given voltage, temperature and speed conditions. This is because the direct-axis component current is more critical in MTPA control.

[0053] It should be noted that during the MTPA calibration process, the direct-axis current corresponding to different requested torques is recorded, and the requested torque is used as the index and the direct-axis current is used as the value to construct a one-dimensional lookup table. In this way, as long as the requested torque is known during operation, the corresponding direct-axis current value can be quickly found by looking up the table.

[0054] Step S22, performing sweep point calibration at rated voltage, preset temperature, and preset speed to obtain a two-dimensional lookup table of requested torque and output quadrature-axis component current of direct-axis component current.

[0055] It can be understood that the scanning point calibration is performed under the rated voltage, preset temperature, and preset speed to obtain the quadrature-axis component current output at the corresponding point of the requested torque and the direct-axis component current, and establish a two-dimensional lookup table. In this way, during operation, as long as the requested torque and the direct-axis component current are known, the corresponding quadrature-axis component current can be quickly found by looking up the table.

[0056] Step S23, obtaining the requested torque.

[0057] Step S24, obtaining a reference direct-axis component current according to the requested torque and the one-dimensional table lookup.

[0058] Step S25 , obtaining a reference quadrature-axis component current according to the reference direct-axis component current and the two-dimensional table lookup.

[0059] Furthermore, before obtaining the reference quadrature-axis component current according to the reference direct-axis component current and the two-dimensional table lookup, the method further includes: obtaining an active magnetic weakening control current; and obtaining a weak magnetic superposition direct-axis component current as a new reference direct-axis component current according to the active magnetic weakening control current and the reference direct-axis component current.

[0060] It should be noted that when the permanent magnet synchronous motor speed is too high, active flux weakening control is usually superimposed. In order to achieve stable operation of the motor at a higher speed, the air gap flux of the motor needs to be reduced to maintain voltage balance. Flux weakening control achieves this goal by adjusting the direct axis demagnetization current component.

[0061] It can be understood that when active flux weakening control occurs, the reference direct-axis component current obtained by querying the one-dimensional chart according to the requested torque should be superimposed on the active flux weakening control current to form a new reference direct-axis component current, and the corresponding reference component current is obtained by querying the two-dimensional chart.

[0062] In this embodiment, a feasible method for obtaining the reference direct-axis component current and the reference quadrature-axis component current is provided, and a pre-calibration experiment is performed to make the reference value in the permanent magnet synchronous motor current compensation process more accurate, thereby facilitating subsequent compensation based on the reference value.

[0063] The above are only feasible implementations of step S20 provided in this embodiment, and this embodiment does not specifically limit the specific implementation of step S20.

[0064] Step S30: if the rotor flux change rate is greater than a first preset value, a compensation coefficient of the quadrature-axis component current is obtained.

[0065] Step S40 , obtaining a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current, and the reference quadrature-axis component current.

[0066] It should be noted that if the rotor flux change rate is greater than the first preset value, it means that the permanent magnet synchronous motor is operating at an unconventional temperature or the motor is aging. At this time, the compensation coefficient of the quadrature-axis component current is obtained.

[0067] In this embodiment, according to the permanent magnet synchronous motor torque formula: T e =1.5*N p I q [Ψ f +(Ψ f -L d )I d ] Set the compensation coefficient y of the quadrature axis component current to the rotor flux change rate x. At this time, the target quadrature axis component current I q1 =I q0 / (1+y), where I q0 is the reference quadrature component current. It can be seen that in order to ensure that the torque remains unchanged, the target DC component current I also needs to be adjusted. d1 =I d0 / (1+x), where I d0 is the reference direct axis component current.

[0068] Step S50 , inputting the target direct-axis component current and the target quadrature-axis component current as command currents to perform current closed-loop control.

[0069] It can be understood that the target current is compared with the reference current to calculate the current error. The current error is input into the proportional-integral (PI) regulator, and the PI regulator outputs a control voltage (or duty cycle) according to the size and change trend of the error to adjust the output voltage of the inverter, thereby reducing the current error. According to the output of the PI regulator, the switching state of the inverter is controlled to generate the required voltage vector and drive the motor to operate according to the target current. Accurate control of the motor's torque and flux is achieved, thereby achieving efficient and stable operation.

[0070] In this embodiment, the change of the electric vehicle under different temperatures or aging conditions is characterized by the change of the rotor magnetic flux, and the compensation coefficient of the quadrature-axis component current is calculated based on the change rate of the rotor magnetic flux. The compensated target direct-axis component current and target quadrature-axis component current are obtained based on the compensation coefficient, the reference direct-axis component current and the reference quadrature-axis component current as the command current for current closed-loop control, so as to maintain the output torque of the electric vehicle unchanged under different temperatures or aging conditions.

[0071] Based on the embodiment 1 of the present application, the embodiment 2 of the present application is proposed. The contents that are the same or similar to the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. Figure 3 A schematic flow chart of step S30 provided in Embodiment 2 of the current compensation method for a permanent magnet synchronous motor of the present application.

[0072] Step S30 of the current compensation method of the permanent magnet synchronous motor includes steps A10 and A30:

[0073] Step A10, obtaining the feedback direct-axis component current and the feedback quadrature-axis component current.

[0074] It should be noted that the feedback direct-axis component current and the feedback quadrature-axis component current are the direct-axis component current and quadrature-axis component current of the permanent magnet synchronous motor in the current working condition, and can be measured by corresponding instruments.

[0075] Step A20, obtaining the estimated total torque and the estimated permanent magnet torque according to the two-dimensional table lookup, the feedback direct-axis component current, and the feedback quadrature-axis component current.

[0076] It can be understood that the corresponding torque, i.e., the estimated total torque, can be obtained by looking up a two-dimensional lookup table based on the above-mentioned feedback direct-axis component current and feedback quadrature-axis component current. The estimated total torque and the predicted torque that can be achieved by the current feedback direct-axis component current and the feedback quadrature-axis component current.

[0077] Furthermore, the input feedback direct axis component current is 0, and the torque obtained by querying the two-dimensional chart of the feedback quadrature axis component current at this time is the estimated permanent magnet torque. When the feedback direct axis component current is 0, the electromagnetic torque of the motor is mainly generated by the interaction between the quadrature axis component current and the magnetic field generated by the permanent magnet, and the estimated permanent magnet torque is the torque when the feedback quadrature axis component current acts.

[0078] Step A30, obtaining a compensation coefficient of the quadrature-axis component current according to the rotor flux change rate, the estimated total torque and the estimated permanent magnet torque.

[0079] It can be understood that the compensation coefficient of the quadrature axis component current is set to y = xT m / T, where x is the rotor flux change rate, T is the estimated total torque and T m To estimate the permanent magnet torque, the target quadrature axis current I q1 =I q0 / (1+x), substitute into the permanent magnet synchronous motor torque formula: T e =1.5*N p I q [Ψ f +(Ψ f -L d )I d], in order to ensure the torque remains unchanged, the target direct-axis component current should remain unchanged as the reference direct-axis component current.

[0080] Furthermore, step S40 of the current compensation method of the permanent magnet synchronous motor includes calculating the target quadrature-axis component current based on the compensation coefficient of the quadrature-axis component current and the reference quadrature-axis component current; judging whether the total torque has changed based on the target quadrature-axis component current; if the total torque remains unchanged, the reference direct-axis component current is the target direct-axis component current; if the total torque changes, obtaining the target direct-axis component current based on the compensation coefficient of the quadrature-axis component current and the reference direct-axis component current.

[0081] In this embodiment, another method for calculating the target quadrature-axis component current compensation coefficient is provided. By superimposing the estimated ratio of permanent magnet torque to the estimated total torque, adjustment is performed based on the permanent magnet synchronous motor torque formula to maintain the output torque of the tram unchanged under different temperatures or aging conditions.

[0082] In addition, the present application also provides a current compensation device for a permanent magnet synchronous motor, please refer to Figure 4 The device includes: a parameter acquisition module 10, used to obtain the rotor flux change rate; obtain a reference direct-axis component current and a reference quadrature-axis component current according to the requested torque; if the rotor flux change rate is greater than a first preset value, obtain a compensation coefficient of the quadrature-axis component current; obtain a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; a control module 20, used to input the target direct-axis component current and the target quadrature-axis component current as the command current for current closed-loop control.

[0083] The current compensation device of the permanent magnet synchronous motor provided in the present application adopts the current compensation method of the permanent magnet synchronous motor in the above embodiment, which can solve the technical problem of inaccurate torque output of the electric vehicle under different temperatures or under normal aging of the motor. Compared with the prior art, the beneficial effects of the current compensation device of the permanent magnet synchronous motor provided in the present application are the same as the beneficial effects of the current compensation method of the permanent magnet synchronous motor provided in the above embodiment, and the other technical features in the current compensation device of the permanent magnet synchronous motor are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0084] The present application provides a permanent magnet synchronous motor, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the current compensation method of the permanent magnet synchronous motor in the above-mentioned embodiment one.

[0085] Reference below Figure 5 , which shows a schematic diagram of the structure of a permanent magnet synchronous motor suitable for implementing the embodiment of the present application. The permanent magnet synchronous motor in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The permanent magnet synchronous motor shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0086] like Figure 5 As shown, the permanent magnet synchronous motor may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the permanent magnet synchronous motor are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the permanent magnet synchronous motor to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a permanent magnet synchronous motor with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0087] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0088] The permanent magnet synchronous motor provided in the present application adopts the current compensation method of the permanent magnet synchronous motor in the above embodiment, which can solve the technical problem of inaccurate torque output of electric vehicles under different temperatures or under normal aging of the motor. Compared with the prior art, the beneficial effects of the permanent magnet synchronous motor provided in the present application are the same as the beneficial effects of the current compensation method of the permanent magnet synchronous motor provided in the above embodiment, and the other technical features in the permanent magnet synchronous motor are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0089] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0090] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0091] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the current compensation method for the permanent magnet synchronous motor in the above-mentioned embodiment.

[0092] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0093] The computer-readable storage medium may be included in the permanent magnet synchronous motor; or may exist independently without being assembled into the permanent magnet synchronous motor.

[0094] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the permanent magnet synchronous motor, the permanent magnet synchronous motor: obtains the rotor flux change rate; obtains the reference direct-axis component current and the reference quadrature-axis component current according to the requested torque; if the rotor flux change rate is greater than the first preset value, obtains the compensation coefficient of the quadrature-axis component current; obtains the target direct-axis component current and the target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; and inputs the target direct-axis component current and the target quadrature-axis component current as the command current for current closed-loop control.

[0095] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs a specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions. The modules described in the embodiments of the present application can be implemented by software or by hardware. Among them, the name of the module does not constitute a limitation on the unit itself under certain circumstances.

[0097] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned current compensation method for the permanent magnet synchronous motor, and can solve the technical problem of inaccurate torque output of electric vehicles under different temperatures or under normal aging of the motor. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the current compensation method for the permanent magnet synchronous motor provided in the above-mentioned embodiment, and will not be repeated here.

[0098] The present application also provides a computer program product, including a computer program, which implements the steps of the current compensation method of the permanent magnet synchronous motor as described above when executed by a processor. The computer program product provided by the present application can solve the technical problem of inaccurate torque output of electric vehicles under different temperatures or under normal aging of motors. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the current compensation method of the permanent magnet synchronous motor provided in the above embodiment, and will not be repeated here.

[0099] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A current compensation method for a permanent magnet synchronous motor, characterized in that: The method comprises: Obtain the rotor flux change rate; Obtaining a reference direct-axis component current and a reference quadrature-axis component current according to a requested torque; If the rotor flux change rate is greater than a first preset value, obtaining a compensation coefficient of the quadrature-axis component current; Obtaining a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; The target direct-axis component current and the target quadrature-axis component current are input as command currents to perform current closed-loop control.

2. The method according to claim 1, characterized in that The obtaining of the rotor flux change rate comprises: Obtaining the direct-axis inductance and initial rotor flux at a preset rotor temperature, a preset direct-axis component current, and a preset reference quadrature-axis component current; Obtaining the current rotor flux according to the direct-axis inductance; The rotor flux change rate is calculated according to the initial rotor flux and the current rotor flux.

3. The method according to claim 2, characterized in that The step of obtaining a reference direct-axis component current and a reference quadrature-axis component current according to the requested torque includes: Perform conventional MTPA calibration at rated voltage, preset temperature, and preset speed to obtain a one-dimensional table lookup of the requested torque and direct-axis component current; Perform sweep point calibration at rated voltage, preset temperature, and preset speed to obtain a two-dimensional lookup table of requested torque and output quadrature-axis component current of direct-axis component current; Get the requested torque; Acquire a reference direct-axis component current according to the requested torque and the one-dimensional table lookup; A reference quadrature-axis component current is acquired according to the reference direct-axis component current and the two-dimensional table lookup.

4. The method according to claim 3, characterized in that The compensation coefficient for obtaining the quadrature-axis component current includes: Obtain feedback direct-axis component current and feedback quadrature-axis component current; Obtaining an estimated total torque and an estimated permanent magnet torque according to the two-dimensional table lookup, the feedback direct-axis component current, and the feedback quadrature-axis component current; A compensation coefficient of the quadrature-axis component current is obtained according to the rotor flux change rate, the estimated total torque and the estimated permanent magnet torque.

5. The method according to claim 3, characterized in that The step of obtaining a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current comprises: Calculating a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current and the reference quadrature-axis component current; determining whether the total torque changes according to the target quadrature-axis component current; If the total torque remains unchanged, the reference direct-axis component current is the target direct-axis component current; If the total torque changes, a target direct-axis component current is obtained according to the compensation coefficient of the quadrature-axis component current and the reference direct-axis component current.

6. The method according to claim 3, characterized in that Before obtaining the reference quadrature-axis component current according to the reference direct-axis component current and the two-dimensional table lookup, the method further includes: Obtain active field weakening control current; A flux-weakening superimposed direct-axis component current is obtained according to the active flux-weakening control current and the reference direct-axis component current as a new reference direct-axis component current.

7. A permanent magnet synchronous motor current compensation device, characterized in that: The device comprises: A parameter acquisition module is used to acquire a rotor flux change rate; acquire a reference direct-axis component current and a reference quadrature-axis component current according to a requested torque; if the rotor flux change rate is greater than a first preset value, acquire a compensation coefficient of the quadrature-axis component current; acquire a target direct-axis component current and a target quadrature-axis component current according to the compensation coefficient of the quadrature-axis component current, the reference direct-axis component current and the reference quadrature-axis component current; The control module is used to input a target direct-axis component current and a target quadrature-axis component current as command currents to perform current closed-loop control.

8. A permanent magnet synchronous motor, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the current compensation method for a permanent magnet synchronous motor according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the current compensation method for a permanent magnet synchronous motor as described in any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the current compensation method for a permanent magnet synchronous motor according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Submersible permanent magnet motor compatibility control optimization method

    CN120710408A

  • Motor energy consumption parameter optimization method and system

    CN122908670A