Motor field weakening control method and device, computer equipment and storage medium

By combining voltage ring and current lead angle weak magnetic control in a permanent magnet synchronous motor, the problem of intersection current overshoot caused by slow direct-axis current response speed is solved, and the stability and speed performance of motor weak magnetic control are improved.

CN119010679APending Publication Date: 2024-11-22CHONGQING JINKANG POWER NEW ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411073296.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the traditional weak magnetic control method of permanent magnet synchronous motor, the direct-axis current response speed is slow and cannot follow the alternating current changes in the alternating axis in time, resulting in the problem of overshooting of the alternating axis current, affecting the stability of the motor.

Method used

When the phase current of the motor is less than the limit, the voltage ring weak magnetic control is used to increase the phase current; when the phase current reaches the limit, determine the weak magnetic current of the direct axis current reaches the target voltage limit circle, calculate the current leading angle, and switch to The current lead angle is weakly controlled, and the direct and inter-axis current response is synchronized by adjusting the lead angle.

Benefits of technology

The synchronous response of the straight and alternating currents is achieved, the stability of the motor weak magnetic control is improved, and the motor speed requirements are ensured at high speeds, avoiding the problem of overshooting of the alternating current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010679A_ABST
    Figure CN119010679A_ABST
Patent Text Reader

Abstract

The invention relates to a motor field weakening control method and device, computer equipment and a storage medium. The method comprises the following steps: when field-weakening control is carried out on a motor and the phase current of the motor is smaller than a phase current limit value, field-weakening control is carried out on the motor in a voltage loop field-weakening control mode so as to increase the phase current of the motor; when the phase current of the motor is increased to the phase current limit value, determining a corresponding direct-axis flux-weakening current under the condition that the direct-axis current corresponding to the phase current reaches a target voltage limit circle, and determining a current lead angle of the motor according to the direct-axis flux-weakening current; the target voltage limit circle represents the current range of the direct-axis current under the limitation of a voltage limit value; and switching the voltage loop flux-weakening control mode to a current lead angle flux-weakening control mode according to the current lead angle, and performing flux-weakening control on the motor. By adopting the method, the problem of quadrature-axis current overshoot in the prior art can be solved, and the field weakening control stability of the motor is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of motor weak magnetic field control, and in particular to a motor weak magnetic field control method, device, computer equipment and storage medium. Background Art

[0002] When the permanent magnet synchronous motor is running at high speed, its back electromotive force will exceed the bus voltage. In order to further increase the speed of the permanent magnet synchronous motor, it is necessary to perform magnetic field weakening control on the permanent magnet synchronous motor. Traditional magnetic field weakening control methods include current lead angle control method and voltage loop regulation method.

[0003] In traditional technology, the voltage loop regulation method is usually used to weaken the magnetic field of the permanent magnet synchronous motor, specifically by reducing the direct-axis current to weaken the magnetic field. However, this method of weakening the magnetic field will cause the phase current to reach the phase current limit. When the phase current limit is reached, the direct-axis current will continue to be reduced, and the quadrature-axis current will be limited by a current limit circle with a radius of the phase current limit. However, due to the slow response speed of the direct-axis current, it cannot follow the changes of the quadrature-axis current in time, resulting in an overshoot problem in the quadrature-axis current. Summary of the invention

[0004] Based on this, it is necessary to provide a motor weak magnetic field control method, device, computer equipment, computer readable storage medium and computer program product that can solve the problem of cross-axis current overshoot in traditional technology and improve the stability of motor weak magnetic field control in response to the above technical problems.

[0005] In a first aspect, the present application provides a motor weak magnetic field control method, comprising:

[0006] When the motor is subjected to magnetic weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to magnetic weakening control by means of a voltage loop magnetic weakening control method to increase the phase current of the motor;

[0007] When the phase current of the motor increases to the phase current limit, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determining the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit;

[0008] The voltage loop magnetic weakening control mode is switched to the current lead angle magnetic weakening control mode according to the current lead angle, and the motor is subjected to magnetic weakening control.

[0009] In one embodiment, determining the current lead angle of the motor according to the direct-axis weakening magnetic current comprises:

[0010] Determining a change in the lead angle of the motor according to the direct-axis weak magnetic current;

[0011] The current lead angle of the motor is determined according to the lead angle variation.

[0012] In one embodiment, determining the lead angle variation of the motor according to the direct-axis weakening magnetic current comprises:

[0013] The lead angle variation of the motor is determined according to the direct-axis weakening magnetic current, the phase current and the quadrature-axis current corresponding to the phase current.

[0014] In one embodiment, determining the lead angle variation of the motor according to the direct-axis weakening magnetic current comprises:

[0015] Determine, according to the direct-axis current, the direct-axis weakening current and the quadrature-axis current corresponding to the phase current, the over-limit phase current corresponding to the case where the direct-axis current reaches the target voltage limit circle;

[0016] The lead angle variation of the motor is determined according to the over-limit phase current, the direct-axis weakening magnetic current, the phase current and the quadrature-axis current.

[0017] In one embodiment, determining the current lead angle of the motor according to the lead angle variation comprises:

[0018] Determining an angle between the phase current and the quadrature-axis current according to the phase current and the quadrature-axis current corresponding to the phase current;

[0019] A current lead angle of the motor is determined according to the angle and the lead angle change.

[0020] In one embodiment, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when the direct-axis current reaches the target voltage limit circle includes:

[0021] Obtaining a direct-axis current corresponding to the phase current;

[0022] Determining a quadrature-axis voltage according to a quadrature-axis current corresponding to the phase current, and determining a direct-axis voltage according to the direct-axis current;

[0023] A direct-axis weakening current corresponding to the direct-axis current reaching a target voltage limit circle is determined according to the quadrature-axis voltage, the direct-axis voltage, and the voltage limit.

[0024] In one embodiment, the method further comprises:

[0025] The current lead angle is adjusted by the current lead angle weakening control mode, and the DC current and AC current corresponding to the phase current are adjusted by the adjusted lead angle to increase the rotation speed of the motor.

[0026] In a second aspect, the present application also provides a motor weak magnetic field control device, comprising:

[0027] A first control module is used to perform magnetic weakening control on the motor by using a voltage loop magnetic weakening control method when the phase current of the motor is less than the phase current limit value;

[0028] A lead angle determination module is used to determine the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when the phase current is equal to the phase current limit, and determine the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit;

[0029] The second control module is used to switch the voltage loop weak magnetic control mode to the current lead angle weak magnetic control mode according to the current lead angle, so as to perform weak magnetic control on the motor.

[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0031] When the motor is subjected to magnetic weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to magnetic weakening control by means of a voltage loop magnetic weakening control method to increase the phase current of the motor;

[0032] When the phase current of the motor increases to the phase current limit, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determining the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit;

[0033] The voltage loop magnetic weakening control mode is switched to the current lead angle magnetic weakening control mode according to the current lead angle, and the motor is subjected to magnetic weakening control.

[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0035] When the motor is subjected to magnetic weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to magnetic weakening control by means of a voltage loop magnetic weakening control method to increase the phase current of the motor;

[0036] When the phase current of the motor increases to the phase current limit, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determining the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit;

[0037] The voltage loop magnetic weakening control mode is switched to the current lead angle magnetic weakening control mode according to the current lead angle, and the motor is subjected to magnetic weakening control.

[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0039] When the motor is subjected to magnetic weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to magnetic weakening control by means of a voltage loop magnetic weakening control method to increase the phase current of the motor;

[0040] When the phase current of the motor increases to the phase current limit, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determining the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit;

[0041] The voltage loop magnetic weakening control mode is switched to the current lead angle magnetic weakening control mode according to the current lead angle, and the motor is subjected to magnetic weakening control.

[0042] The above-mentioned motor weak magnetic control method, device, computer equipment, storage medium and computer program product, when the phase current of the motor increases to the phase current limit, can calculate the current lead angle of the motor according to the direct-axis weak magnetic current corresponding to the direct-axis current when the direct-axis current corresponding to the phase current reaches the target voltage limit circle, thereby switching the voltage loop weak magnetic control mode to the current lead angle weak magnetic control mode, so that the direct-axis current and the quadrature-axis current are both regulated by the lead angle, achieving synchronous response of the direct-axis current and the quadrature-axis current, solving the quadrature-axis current overshoot problem, and improving the stability of the motor weak magnetic control. In addition, when the phase current of the motor is less than the phase current limit, weak magnetic control is performed by the voltage loop weak magnetic control mode, so that the motor can respond quickly when the speed is low. When the phase current of the motor is greater than or equal to the phase current limit, switching to the current lead angle weak magnetic control mode can ensure that the motor further increases the speed of the motor when the phase current limit is exceeded to meet the higher speed requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] FIG1 is a schematic diagram of a torque drop in a quadrature-axis current in a conventional field-weakening control method in one embodiment;

[0045] FIG2 is a schematic flow chart of a motor weak magnetic field control method according to an embodiment;

[0046] FIG3 is a schematic diagram of calculating the current lead angle in one embodiment;

[0047] FIG4 is a graph of direct-axis current and quadrature-axis current measured by the motor weak magnetic field control method of the present application in one embodiment;

[0048] FIG5 is a schematic diagram of a flow chart of determining the current lead angle of a motor according to the direct-axis weak magnetic current in one embodiment;

[0049] FIG6 is a schematic diagram showing the principle of motor flux weakening control in one embodiment;

[0050] FIG7 is a block diagram of a motor weak magnetic field control device according to an embodiment;

[0051] FIG. 8 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] In traditional technology, the voltage loop regulation method is usually used to weaken the magnetic field of the permanent magnet synchronous motor, specifically by reducing the direct-axis current to weaken the magnetic field. However, this method of weakening the magnetic field will cause the phase current to reach the phase current limit. When the phase current reaches the phase current limit, the direct-axis current continues to be reduced, and the quadrature-axis current is limited by a current limit circle with the phase current limit as the radius, that is, the direct-axis current and the quadrature-axis current are given by the voltage limit and the current limit, respectively. However, due to the slow response speed of the direct-axis current, it cannot follow the changes of the quadrature-axis current in time, resulting in the limit value of the quadrature-axis current being too small, resulting in a torque drop, that is, the quadrature-axis current has an overshoot problem, as shown in Figure 1, where id represents the direct-axis current and iq represents the quadrature-axis current.

[0054] In order to solve the above problems, a motor weakening control method is proposed. After the phase current exceeds the phase current limit, the given instructions of the direct-axis current and the quadrature-axis current are given by the same algorithm or strategy, thereby realizing the synchronous response of the direct-axis current and the quadrature-axis current, solving the quadrature-axis current overshoot problem, and improving the stability of the motor weakening control.

[0055] In an exemplary embodiment, as shown in FIG2 , a motor weak magnetic field control method is provided, which is described by taking the method applied to a motor controller as an example, and includes the following steps 202 to 206 . Among them:

[0056] Step 202, when the motor is subjected to flux weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to flux weakening control by means of a voltage loop flux weakening control to increase the phase current of the motor.

[0057] Among them, field weakening control refers to the process of continuing to increase the speed by reducing the back EMF after the back EMF of the motor exceeds the voltage limit. Through field weakening control, the motor can continue to run at high speed without exceeding the motor limit and phase current limit. The phase current of the motor refers to the current of the stator in the motor. The phase current limit is the maximum value of the phase current. The voltage loop field weakening control method is to reduce the magnetic flux by reducing the direct axis current, thereby reducing the back EMF of the motor, allowing the motor to run at a higher speed without exceeding the voltage limit.

[0058] Optionally, during the operation of the motor, the motor controller determines the back electromotive force of the motor according to the speed and magnetic flux of the motor. When the back electromotive force of the motor is less than or equal to the voltage limit, there is no need to perform magnetic weakening control. When the back electromotive force of the motor exceeds the voltage limit, it is necessary to perform magnetic weakening control on the motor. When the magnetic weakening control starts, the voltage loop magnetic weakening control method is used to perform magnetic weakening control on the motor. Specifically, the direct-axis current and the quadrature-axis current of the motor are obtained. The direct-axis current refers to the d-axis current component after the phase current is converted to the two-phase rotating coordinate system (dq coordinate system), which is directly related to the magnetic flux of the motor. The quadrature-axis current refers to the q-axis current component after the phase current is converted to the dq coordinate system, which is directly related to the electromagnetic torque of the motor. According to the Pythagorean theorem relationship between the direct-axis current, the quadrature-axis current and the phase current, the phase current of the motor is determined. Compare the motor phase current with the phase current limit. When the motor phase current is less than the phase current limit, continue to use the voltage loop weak magnetic control method to weaken the motor, reduce the direct axis current, reduce the magnetic flux, and thus reduce the back electromotive force of the motor, allowing the speed to increase, and the quadrature axis current remains unchanged. Since the direct axis current is a negative current, after reducing the direct axis current, the absolute value of the direct axis current will increase, so the calculated phase current will increase.

[0059] Exemplarily, the motor in this embodiment is a permanent magnet synchronous motor, and specifically may be an interior permanent magnet synchronous motor, a surface permanent magnet synchronous motor, an outer rotor permanent magnet synchronous motor, or the like.

[0060] Step 204, when the phase current of the motor increases to the phase current limit, determine the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determine the current lead angle of the motor based on the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit.

[0061] The target voltage limit circle refers to the current range of the direct axis current and the alternating current under the voltage limit. The voltage limit can be 1 / , which can also be approximated as the bus voltage. The direct-axis current corresponding to the case where the direct-axis current reaches the target voltage limit circle is the direct-axis current of the next magnetic field weakening control calculated by the voltage loop magnetic field weakening control method after the phase current of the motor increases to the phase current limit. The direct-axis current of the next magnetic field weakening control refers to the direct-axis current obtained after the next magnetic field weakening control. The direct-axis magnetic field weakening current refers to the change in the direct-axis current. The current lead angle refers to the angle at which the phase current of the motor that needs to be calculated exceeds the cross-axis current counterclockwise when switching from the voltage loop magnetic field weakening control method to the current lead angle magnetic field weakening control method.

[0062] Optionally, in the process of performing weak magnetic field control on the motor through the voltage loop weak magnetic field control method, when the phase current of the motor increases to the phase current limit, if the direct axis current is reduced by the voltage loop weak magnetic field control method, while the quadrature axis current remains unchanged, the phase current will be greater than the phase current limit. Therefore, when the phase current increases to the phase current limit, the voltage loop weak magnetic field control method can be switched to the current lead angle weak magnetic field control method, and the lead angle corresponding to the phase current of the next weak magnetic field control needs to be calculated as the current lead angle of the motor. Among them, the phase current of the next weak magnetic field control refers to the phase current obtained after the next weak magnetic field control.

[0063] Specifically, when the motor is subjected to weak magnetic field control by means of a voltage loop weak magnetic field control method, the direct-axis weak magnetic field current will be calculated in real time. The current direct-axis current is adjusted according to the direct-axis weak magnetic field current to obtain a new direct-axis current. The specific adjustment method may be to sum the current direct-axis current with the direct-axis weak magnetic field current to obtain a new direct-axis current, and then calculate the new phase current according to the square sum of the new direct-axis current and the quadrature-axis current. When the phase current of the motor increases to the phase current limit, it is determined that the direct-axis weak magnetic field current corresponding to the phase current at this time reaches the target voltage limit circle. The direct-axis current corresponding to the phase current when the direct-axis current reaches the target voltage limit circle may be the direct-axis current for the next weak magnetic field control. It is understandable that the phase current corresponding to the direct-axis current when the direct-axis current reaches the target voltage limit circle is the phase current for the next weak magnetic field control. Afterwards, the lead angle corresponding to the phase current of the next weak magnetic field control is determined according to the direct-axis weak magnetic field current as the current lead angle of the motor. Among them, the lead angle of the motor is a negative value, and the lead angle range of the motor can be .

[0064] Step 206 , switching the voltage loop field weakening control mode to the current lead angle field weakening control mode according to the current lead angle, and performing field weakening control on the motor.

[0065] Among them, the current lead angle weakening control method refers to adjusting the direct-axis current and the quadrature-axis current by adjusting the lead angle, thereby reducing the back electromotive force, thereby allowing the motor to run at a higher speed without exceeding the voltage limit and the phase current limit.

[0066] Optionally, after determining the current lead angle of the motor, the voltage loop magnetic weakening control mode can be smoothly switched to the current lead angle magnetic weakening control mode. By reducing the current lead angle through the current lead angle magnetic weakening control mode, the absolute value of the current lead angle will increase, and the direct axis current and the quadrature axis current will be reduced according to the relationship between the direct axis current and the quadrature axis current and the lead angle. The relationship between the direct axis current and the quadrature axis current and the lead angle is as follows:

[0067]

[0068]

[0069] Among them, I s represents the phase current, and β represents the lead angle.

[0070] By reducing the direct-axis current and the quadrature-axis current to reduce the magnetic flux, the back electromotive force of the motor is reduced to increase the speed.

[0071] For example, the calculation diagram of the current lead angle is shown in FIG3. In the two-phase rotating coordinate system (dq coordinate system), i d represents the direct axis current, i qRepresents the quadrature axis current. The current limit circle and voltage limit circle are the constraints for the motor operation. The radius of the current limit circle is the phase current limit I max , and are the speeds corresponding to the two voltage limit circles, Less than OA represents the given quadrature axis current, and AB represents the phase current reaching the phase current limit I max The direct axis current at this time reaches OB represents the phase current, BC represents the current reaching AB The corresponding direct-axis weakening current under the condition of the corresponding target voltage limit circle. OC means that AB reaches The corresponding phase current under the corresponding target voltage limit circle, BD represents the vertical line on the OC side of the triangle OBC, Indicates the lead angle change corresponding to the phase current changing from OB to OC. Point E indicates the characteristic point (center) of the voltage limit circle.

[0072] The curves of the direct-axis current and quadrature-axis current measured by the motor weak magnetic control method of the present application are shown in Figure 4, where id represents the direct-axis current and iq represents the quadrature-axis current. The responses of the direct-axis current and the quadrature-axis current are synchronous, and there is no torque drop in the quadrature-axis current, which improves the stability of the motor weak magnetic control.

[0073] In the above motor weak magnetic control method, when the phase current of the motor increases to the phase current limit, the current lead angle of the motor can be calculated according to the direct-axis weak magnetic current corresponding to the direct-axis current when the direct-axis current corresponding to the phase current reaches the target voltage limit circle, so that the voltage loop weak magnetic control mode is switched to the current lead angle weak magnetic control mode, so that the direct-axis current and the quadrature-axis current are both adjusted by the lead angle, and the synchronous response of the direct-axis current and the quadrature-axis current is achieved, which solves the quadrature-axis current overshoot problem and improves the stability of the motor weak magnetic control. In addition, when the phase current of the motor is less than the phase current limit, the voltage loop weak magnetic control mode is used to perform weak magnetic control, so that the motor can respond quickly when the speed is low. When the phase current of the motor is greater than or equal to the phase current limit, switching to the current lead angle weak magnetic control mode can ensure that the motor further increases the speed of the motor when the phase current limit is exceeded to meet the higher speed requirements.

[0074] In an exemplary embodiment, as shown in FIG5 , determining the current lead angle of the motor according to the direct-axis flux weakening current includes:

[0075] Step 502, determining the lead angle variation of the motor according to the direct-axis weakening magnetic current.

[0076] Step 504, determining the current lead angle of the motor according to the lead angle variation.

[0077] Specifically, when the phase current of the motor increases to the phase current limit, the angle between the corresponding phase currents when the direct axis current reaches the target voltage limit circle can be determined as the lead angle change. According to the relationship between the direct axis weak magnetic current and the lead angle change, the lead angle change of the motor is determined according to the direct axis weak magnetic current. The lead angle corresponding to the phase current and the lead angle change are combined to obtain the current lead angle of the motor.

[0078] In this embodiment, the lead angle change of the motor is directly calculated based on the direct-axis weak magnetic current, and the lead angle change corresponding to the direct-axis weak magnetic current can be determined, thereby determining the current lead angle of the motor based on the lead angle change, so as to smoothly switch the voltage loop weak magnetic control mode to the current lead angle weak magnetic control mode.

[0079] In an optional manner of the above embodiment, determining the lead angle change of the motor according to the direct-axis weakening current includes: determining the lead angle change of the motor according to the direct-axis weakening current, the phase current and the quadrature-axis current corresponding to the phase current.

[0080] Specifically, the phase current corresponding to the direct-axis current reaching the target voltage limit circle can be approximated as the phase current increased to the phase current limit. Therefore, the lead angle change of the motor can be directly determined based on the direct-axis weak magnetic current, the phase current, and the quadrature-axis current corresponding to the phase current. The calculation formula for the lead angle change can be as follows:

[0081]

[0082] in, represents the direct-axis flux weakening current, i q Indicates the quadrature axis current, I s Represents the phase current, which is equal to the phase current limit.

[0083] Referring to FIG. 3 , the derivation process of the above lead angle variation is as follows:

[0084]

[0085] In this embodiment, the lead angle variation of the motor can be approximately calculated based on the direct-axis weak magnetic current, phase current and quadrature-axis current corresponding to the phase current calculated in real time, and the lead angle variation can be quickly determined.

[0086] In another optional method of the above embodiment, the lead angle change of the motor is determined according to the direct-axis weakening current, including: determining the over-limit phase current corresponding to the direct-axis current reaching the target voltage limit circle according to the direct-axis current, the direct-axis weakening current and the cross-axis current corresponding to the phase current; determining the lead angle change of the motor according to the over-limit phase current, the direct-axis weakening current, the phase current and the cross-axis current.

[0087] The over-limit phase current refers to the phase current corresponding to the case where the direct-axis current reaches the target voltage limit circle.

[0088] Specifically, the direct-axis current and the direct-axis weak magnetic current are summed to obtain the phase current when the target voltage limit circle is reached. The over-limit phase current is determined based on the Pythagorean theorem relationship between the phase current, the cross-axis current, and the over-limit phase current when the target voltage limit circle is reached. Then, the lead angle change of the motor is determined based on the over-limit phase current, the direct-axis weak magnetic current, the phase current, and the cross-axis current. The calculation formula for the lead angle change can be as follows:

[0089]

[0090] Among them, I s 'Indicates the phase current exceeds the limit.

[0091] Referring to FIG. 3 , the derivation process of the above lead angle variation is as follows:

[0092]

[0093] In this embodiment, based on the real-time calculated direct-axis weakening magnetic current, phase current and the cross-axis current corresponding to the phase current, the corresponding over-limit phase current when the direct-axis current reaches the target voltage limit circle can be accurately determined, thereby obtaining a more accurate lead angle change based on the over-limit phase current, direct-axis weakening magnetic current, phase current and cross-axis current.

[0094] In another optional method of the above embodiment, the current lead angle of the motor is determined according to the lead angle change, including: determining the angle between the phase current and the cross-axis current according to the phase current and the cross-axis current corresponding to the phase current; and determining the current lead angle of the motor according to the angle and the lead angle change.

[0095] Since the direct-axis current and the quadrature-axis current are orthogonal current components, the direct-axis current, the quadrature-axis current and the phase current form a right triangle, and the angle between the phase current and the quadrature-axis current can be determined based on the cosine relationship between the quadrature-axis current and the phase current. The angle between the phase current and the quadrature-axis current is the lead angle corresponding to the phase current. The lead angle corresponding to the phase current and the lead angle change are summed to obtain the current lead angle of the motor.

[0096] Optionally, the angle between the phase current and the quadrature-axis current may also be determined according to a sinusoidal relationship between the phase current and the direct-axis current, or a tangent relationship between the direct-axis current and the quadrature-axis current.

[0097] In this embodiment, based on the trigonometric function relationship between the phase current and the quadrature-axis current, the angle between the phase current and the quadrature-axis current can be determined quickly and accurately, so that the current lead angle of the motor can be accurately determined based on the sum of the angle and the lead angle change.

[0098] In an exemplary embodiment, determining the direct-axis weakening magnetic current corresponding to the direct-axis current corresponding to the phase current when the direct-axis current reaches the target voltage limit circle includes: obtaining the direct-axis current corresponding to the phase current; determining the cross-axis voltage according to the cross-axis current corresponding to the phase current, and determining the direct-axis voltage according to the direct-axis current; determining the direct-axis weakening magnetic current corresponding to the direct-axis current when the direct-axis current reaches the target voltage limit circle according to the cross-axis voltage, the direct-axis voltage and the voltage limit.

[0099] Specifically, the motor controller obtains the direct-axis current and the quadrature-axis current. The direct-axis current and the quadrature-axis current are proportionally (PI) controlled according to the direct-axis current target value and the quadrature-axis current target value, and the direct-axis voltage and the quadrature-axis voltage are output. The motor terminal voltage is determined according to the direct-axis voltage and the quadrature-axis voltage, and the difference between the motor terminal voltage and the voltage limit is proportionally (PI) controlled to obtain the direct-axis weak magnetic current corresponding to the case where the direct-axis current reaches the target voltage limit circle. The calculation formula of the direct-axis weak magnetic current can be shown as follows:

[0100]

[0101] Where PI represents the PI control of the PI regulator, U max Indicates the voltage limit, U d Indicates the direct axis voltage, U q Represents the quadrature axis voltage.

[0102] In this embodiment, the direct-axis weak magnetic current corresponding to the direct-axis current reaching the target voltage limit circle is determined by the cross-axis voltage, the direct-axis voltage and the voltage limit. The most suitable direct-axis weak magnetic current can be determined to adjust the direct-axis current while ensuring that the motor terminal voltage does not exceed the voltage limit.

[0103] In an exemplary embodiment, the method further includes: adjusting the current lead angle by a current lead angle weakening control method, and adjusting the DC current and AC current corresponding to the phase current by the adjusted lead angle to increase the rotation speed of the motor.

[0104] Referring to FIG. 3, after the motor controller switches to the current lead angle weakening magnetic control mode, the phase current rotates counterclockwise to the intersection of the over-limit phase current and the current limit circle. Afterwards, the phase current is rotated counterclockwise through the current lead angle weakening magnetic control mode to reduce the current lead angle and increase the absolute value of the current lead angle. According to the reduced lead angle, the DC current and the AC current are reduced, thereby allowing the speed to increase. The phase current moves within the common range of the target voltage limit circle and the current limit circle until the phase current reaches the d-axis and the lead angle stops changing. Further, when the center of the target voltage limit circle is outside the current limit circle or on the current limit circle, the phase current will eventually reach the intersection of the current limit circle and the d-axis. When the center of the target voltage limit circle is within the current limit circle, the phase current will eventually reach the center of the target voltage limit circle.

[0105] In this embodiment, the motor is subjected to magnetic weakening control by means of a current lead angle magnetic weakening control method, so that both the direct-axis current and the quadrature-axis current are regulated by the lead angle, achieving synchronous response of the direct-axis current and the quadrature-axis current, solving the quadrature-axis current overshoot problem, and effectively improving the stability of the motor magnetic weakening control.

[0106] In an exemplary embodiment, as shown in FIG6 , which is a schematic diagram of the principle of motor weak magnetic control, the initial direct axis current i d0 * and the initial quadrature axis current i q0 *. According to the initial direct axis current i d0 * and the initial quadrature axis current i q0 * Determine the phase current I s , determine whether If the conditions are met, then point 1 and point 2 are connected and the weak magnetic field control is performed by the voltage loop weak magnetic field control method. Specifically, the reference direct axis current i is obtained. d *、Initial quadrature axis current i q *、Actual direct axis current i d , actual quadrature axis current i q and current speed , the reference direct axis current i d *、Initial quadrature axis current i q *、Actual direct axis current i d , actual quadrature axis current i q and current speed After PI adjustment by PI regulator, the direct axis voltage u is obtained d * and quadrature axis voltage u q *. Then, after IPark transformation (inverse Park transformation), the two-phase voltage u in the rotating coordinate is d * and the quadrature axis voltage uq* are converted into two-phase voltage u under fixed coordinates α and u βSVPWM (Space Vector Pulse Width Modulation) is then used to output a PWM (Pulse Width Modulation) waveform, which is then used to drive an IPMSM (Interior Permanent Magnet Synchronous Motor) through an inverter. The three-phase current i is fed back through the inverter. u 、i v and i w , and through CIarke transformation (Clarke Transformation, Clarke transformation) the three-phase current i u 、i v and i w Converted into a fixed two-phase current i α and i β , and then the fixed two-phase current i is transformed by Park transformation α and i β Converted into the actual direct axis current i in the rotating two-phase coordinates d and the actual quadrature axis current i q .

[0107] Two-phase voltage u α and u β After the SVPWM outputs the PWM waveform, the bus voltage Udc is also obtained, and the voltage limit Umax is determined based on the bus voltage Udc. d * and quadrature axis voltage u q * As U d and the quadrature axis voltage U q ,according to The motor terminal voltage is calculated and subtracted from the voltage limit Umax to obtain the voltage difference. The voltage difference is PI-regulated by the PI regulator to obtain the direct-axis weak magnetic current. . For the initial direct axis current i d0 *With direct-axis flux weakening current Sum the new direct-axis current and get the new quadrature-axis current. q0 * Determine the new phase current I s , determine whether If it is not satisfied, connect points 2 and 3 and continue to calculate the direct-axis weak magnetic current. , according to the direct-axis flux weakening current Calculate the lead angle β, switch to the current loop weak magnetic control mode, and adjust the actual direct axis current i according to the lead angle β d and the actual quadrature axis current i q .

[0108] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0109] Based on the same inventive concept, the embodiment of the present application also provides a motor weak magnetic field control device for implementing the motor weak magnetic field control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more motor weak magnetic field control device embodiments provided below can refer to the limitations of the motor weak magnetic field control method above, and will not be repeated here.

[0110] In an exemplary embodiment, as shown in FIG. 7 , a motor weakening magnetic field control device is provided, comprising: a first control module 702 , a lead angle determination module 704 , and a second control module 706 , wherein:

[0111] The first control module 702 is used to perform magnetic field weakening control on the motor through a voltage loop magnetic field weakening control method when the phase current of the motor is less than the phase current limit.

[0112] The lead angle determination module 704 is used to determine the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when the phase current is equal to the phase current limit, and determine the current lead angle of the motor based on the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit.

[0113] The second control module 706 is used to switch the voltage loop magnetic field weakening control mode to the current lead angle magnetic field weakening control mode according to the current lead angle, so as to perform magnetic field weakening control on the motor.

[0114] In an exemplary embodiment, the lead angle determination module 704 is further configured to determine a lead angle variation of the motor according to the direct-axis weak magnetic current; and determine a current lead angle of the motor according to the lead angle variation.

[0115] In an exemplary embodiment, the lead angle determination module 704 is further configured to determine a change in the lead angle of the motor according to the direct-axis weakening current, the phase current, and the quadrature-axis current corresponding to the phase current.

[0116] In an exemplary embodiment, the lead angle determination module 704 is also used to determine the over-limit phase current corresponding to the direct-axis current reaching the target voltage limit circle based on the direct-axis current, the direct-axis weakening magnetic current and the cross-axis current corresponding to the phase current; and determine the lead angle change of the motor based on the over-limit phase current, the direct-axis weakening magnetic current, the phase current and the cross-axis current.

[0117] In an exemplary embodiment, the lead angle determination module 704 is further used to determine the angle between the phase current and the quadrature-axis current according to the phase current and the quadrature-axis current corresponding to the phase current; and determine the current lead angle of the motor according to the angle and the lead angle change.

[0118] In an exemplary embodiment, the lead angle determination module 704 is also used to obtain the direct-axis current corresponding to the phase current; determine the quadrature-axis voltage based on the quadrature-axis current corresponding to the phase current, and determine the direct-axis voltage based on the direct-axis current; and determine the direct-axis weak magnetic current corresponding to the direct-axis current when the direct-axis current reaches the target voltage limit circle based on the quadrature-axis voltage, the direct-axis voltage and the voltage limit.

[0119] In an exemplary embodiment, the second control module 706 is further configured to adjust the current lead angle by means of current lead angle weakening control, and adjust the DC current and AC current corresponding to the phase current by means of the adjusted lead angle to increase the rotation speed of the motor.

[0120] Each module in the above motor weak magnetic field control device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0121] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG8. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as phase current limit values ​​and target voltage limit circles. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a motor weak magnetic control method is implemented.

[0122] Those skilled in the art will understand that the structure shown in FIG. 8 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0123] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0124] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0125] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0126] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0128] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A motor weak magnetic field control method, characterized in that: The method comprises: When the motor is subjected to magnetic weakening control, when the phase current of the motor is less than the phase current limit, the motor is subjected to magnetic weakening control by means of a voltage loop magnetic weakening control method to increase the phase current of the motor; When the phase current of the motor increases to the phase current limit, determining the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when it reaches the target voltage limit circle, and determining the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit; The voltage loop magnetic weakening control mode is switched to the current lead angle magnetic weakening control mode according to the current lead angle, and the motor is subjected to magnetic weakening control.

2. The method according to claim 1, characterized in that Determining the current lead angle of the motor according to the direct-axis weakening magnetic current includes: Determining a change in the lead angle of the motor according to the direct-axis weak magnetic current; The current lead angle of the motor is determined according to the lead angle variation.

3. The method according to claim 2, characterized in that Determining the lead angle variation of the motor according to the direct-axis weak magnetic current includes: The lead angle variation of the motor is determined according to the direct-axis weakening magnetic current, the phase current and the quadrature-axis current corresponding to the phase current.

4. The method according to claim 2, characterized in that: Determining the lead angle variation of the motor according to the direct-axis weak magnetic current includes: Determine, according to the direct-axis current, the direct-axis weakening current and the quadrature-axis current corresponding to the phase current, the over-limit phase current corresponding to the case where the direct-axis current reaches the target voltage limit circle; The lead angle variation of the motor is determined according to the over-limit phase current, the direct-axis weakening magnetic current, the phase current and the quadrature-axis current.

5. The method according to claim 2, characterized in that: Determining the current lead angle of the motor according to the lead angle variation includes: Determining an angle between the phase current and the quadrature-axis current according to the phase current and the quadrature-axis current corresponding to the phase current; A current lead angle of the motor is determined according to the angle and the lead angle change.

6. The method according to claim 1, characterized in that The determining of the direct-axis weakening magnetic current corresponding to the direct-axis current corresponding to the phase current when the direct-axis current corresponding to the target voltage limit circle includes: Obtaining a direct-axis current corresponding to the phase current; Determining a quadrature-axis voltage according to a quadrature-axis current corresponding to the phase current, and determining a direct-axis voltage according to the direct-axis current; A direct-axis weakening current corresponding to the direct-axis current reaching a target voltage limit circle is determined according to the quadrature-axis voltage, the direct-axis voltage, and the voltage limit.

7. The method according to claim 1, characterized in that The method further comprises: The current lead angle is adjusted by the current lead angle weakening control mode, and the DC current and AC current corresponding to the phase current are adjusted by the adjusted lead angle to increase the rotation speed of the motor.

8. A motor weak magnetic field control device, characterized in that: The device comprises: A first control module is used to perform magnetic weakening control on the motor by using a voltage loop magnetic weakening control method when the phase current of the motor is less than the phase current limit value; A lead angle determination module is used to determine the direct-axis weakening current corresponding to the direct-axis current corresponding to the phase current when the phase current is equal to the phase current limit, and determine the current lead angle of the motor according to the direct-axis weakening current; the target voltage limit circle represents the current range of the direct-axis current under the voltage limit; The second control module is used to switch the voltage loop weak magnetic control mode to the current lead angle weak magnetic control mode according to the current lead angle, so as to perform weak magnetic control on the motor.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.