Control method, system and device of permanent magnet synchronous motor

By introducing the motor speed coefficient into the PI regulator and calculating the current adjustment value, the problem of difficulty in adjusting the current at high speed of the permanent magnet synchronous motor is solved, and the safe and high-speed operation of the motor is achieved.

CN119070689AActive Publication Date: 2024-12-03CHERY NEW ENERGY AUTOMOBILE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411172207.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-03
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

In permanent magnet synchronous motors, as the motor speed increases, the back electromotive force increases linearly, and it cannot continue to accelerate or operate stably when exceeding the maximum input voltage. The existing PI regulator cannot quickly and stably adjust the straight-axis current when the high-speed speed changes, resulting in Safety and high-speed operation are limited.

Method used

The motor speed coefficient is introduced during the adjustment process of the PI regulator, and the current adjustment value is calculated by the product value of the voltage utilization difference and the motor speed coefficient. The appropriate motor speed coefficient is selected according to the motor speed value range to ensure the real-time performance of current adjustment and accuracy.

Benefits of technology

It realizes the rapid and stable adjustment of the current in the permanent magnet synchronous motor under the changing speed of high speed, ensuring the safe and high-speed operation of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070689A_ABST
    Figure CN119070689A_ABST
Patent Text Reader

Abstract

The invention provides a control method, system and device of a permanent magnet synchronous motor, and belongs to the technical field of motor control. According to the method, a motor rotating speed coefficient is introduced in the adjusting process of a PI adjuster so as to obtain a current adjusting value. Since different motor rotating speed coefficients correspond to different motor rotating speed value intervals, the method associates the obtained current adjustment value with the real-time motor rotating speed value, so that the real-time motor rotating speed value is adjusted under the condition that the real-time motor rotating speed value is located in each motor rotating speed value interval. And a reasonable current adjustment value can be obtained based on the motor rotating speed coefficient corresponding to the motor rotating speed value interval. Through the method, the current in the permanent magnet synchronous motor can be quickly and stably adjusted through the current adjustment value under the condition that the real-time motor rotating speed value changes at a high speed, so that the safe and high-speed operation of the permanent magnet synchronous motor is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] During the operation of the permanent magnet synchronous motor, as the motor speed gradually increases, the back electromotive force of the permanent magnet synchronous motor also increases linearly. When the motor speed exceeds the base speed, the back electromotive force will approach or exceed the maximum input voltage of the permanent magnet synchronous motor, which will inhibit the current flow in the permanent magnet synchronous motor, and thus cause the permanent magnet synchronous motor to be unable to continue to accelerate or operate stably. The commonly used method is to detect the voltage of the permanent magnet synchronous motor in real time. When the back electromotive force is close to the maximum input voltage, the weak magnetic current is obtained through the PI regulator, thereby reducing the direct axis current to weaken the air gap magnetic field and reduce the back electromotive force, thereby increasing the motor speed while maintaining voltage balance. However, when the motor speed changes at a high speed, the direct axis current cannot be adjusted quickly and stably only through the PI regulator, so it is impossible to ensure the safe and high-speed operation of the permanent magnet synchronous motor. Summary of the invention

[0003] The embodiment of the present application provides a control method, system and device for a permanent magnet synchronous motor. In the method, a motor speed coefficient is introduced in the adjustment process of a PI regulator. Since the current adjustment value is associated with the motor speed value, the current in the permanent magnet synchronous motor can be adjusted quickly and stably by the current adjustment value when the motor speed value changes at a high speed, thereby ensuring the safe and high-speed operation of the permanent magnet synchronous motor. The technical solution is as follows:

[0004] In one aspect, a control method for a permanent magnet synchronous motor is provided, the method comprising:

[0005] Inputting the product value of the voltage utilization difference and the motor speed coefficient into the PI regulator to obtain the current adjustment value, wherein the voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization, and different motor speed coefficients correspond to different motor speed value intervals;

[0006] When the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value, driving the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value;

[0007] When the motor speed value is not greater than the first preset speed value, the permanent magnet synchronous motor is driven to operate based on the reference current value.

[0008] In some embodiments, the step of inputting the product of the voltage utilization rate difference and the motor speed coefficient into a PI regulator to obtain a current adjustment value includes:

[0009] When the motor speed value is not greater than the second preset speed value, the product value of the voltage utilization difference and the first motor speed coefficient is input into the PI regulator to obtain a current adjustment value;

[0010] When the motor speed value is greater than the second preset speed value, the product value of the voltage utilization difference and the second motor speed coefficient is input into the PI regulator to obtain a current adjustment value, and the second motor speed coefficient is less than the first motor speed coefficient.

[0011] In some embodiments, the method further comprises:

[0012] Based on the motor speed value, determining an intermediate coefficient through a first preset table, wherein the first preset table is used to record a plurality of motor speed values ​​and an intermediate coefficient corresponding to each motor speed value, wherein the intermediate coefficient is less than 1;

[0013] The motor speed value is multiplied by the intermediate coefficient to obtain the second motor speed coefficient.

[0014] In some embodiments, the method further comprises:

[0015] The actual voltage utilization rate is obtained by comparing the first intermediate value with the second intermediate value, wherein the first intermediate value is used to represent the output voltage value of the motor controller, and the second intermediate value is used to represent the input voltage value of the motor controller.

[0016] In some embodiments, the method further comprises:

[0017] Based on the motor torque value, a reference current value is determined through a second preset table, where the second preset table is used to record a plurality of motor torque values ​​and a reference current value corresponding to each motor torque value.

[0018] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value;

[0019] The method of driving the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value when the motor speed value of the permanent magnet synchronous motor is greater than the first preset speed value comprises:

[0020] When the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value, adding the reference direct-axis current value and the current adjustment value to obtain a target direct-axis current value;

[0021] Determining a target quadrature-axis current value based on the motor torque value and the target direct-axis current value;

[0022] When the target direct-axis current value and the target quadrature-axis current value meet a preset condition, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0023] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value;

[0024] When the motor speed value is not greater than the first preset speed value, driving the permanent magnet synchronous motor to operate based on the reference current value includes:

[0025] When the motor speed value is not greater than the first preset speed value, the reference direct-axis current value is determined as the target direct-axis current value, and the reference quadrature-axis current value is determined as the target quadrature-axis current value;

[0026] When the target direct-axis current value and the target quadrature-axis current value meet a preset condition, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0027] In some embodiments, when the target direct-axis current value and the target quadrature-axis current value meet a preset condition, driving the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value includes:

[0028] Determine the square root of the sum of the squares of the target direct-axis current value and the target quadrature-axis current value as a composite current value;

[0029] When the composite current value is not greater than the operating current threshold, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0030] In some embodiments, the method further comprises:

[0031] In the case where the synthetic current value is greater than the operating current threshold, the square root of the square difference between the operating current threshold and the target direct-axis current value is determined as the updated target quadrature-axis current value, and the updated target quadrature-axis current value is less than the target quadrature-axis current value;

[0032] The permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the updated target quadrature-axis current value.

[0033] On the other hand, a control system of a permanent magnet synchronous motor is provided, the control system comprising a motor calibration bench, a motor controller, and a permanent magnet synchronous motor;

[0034] The motor calibration bench is used to simulate the operating environment of the permanent magnet synchronous motor;

[0035] The motor controller is used to control the parameter values ​​of the operating parameters of the permanent magnet synchronous motor, wherein the operating parameters include the motor torque value and the motor speed value;

[0036] The permanent magnet synchronous motor is used to run under the control of the motor controller.

[0037] On the other hand, a control device for a permanent magnet synchronous motor is provided, the device comprising:

[0038] A regulating module, used for inputting the product value of the voltage utilization difference and the motor speed coefficient into the PI regulator to obtain a current adjustment value, wherein the voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization, and different motor speed coefficients correspond to different motor speed value intervals;

[0039] A driving module, configured to drive the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value when the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value;

[0040] The driving module is further configured to drive the permanent magnet synchronous motor to operate based on the reference current value when the motor speed value is not greater than the first preset speed value.

[0041] In some embodiments, the regulation module is used to input the product value of the voltage utilization difference and the first motor speed coefficient into the PI regulator to obtain a current adjustment value when the motor speed value is not greater than a second preset speed value; when the motor speed value is greater than the second preset speed value, input the product value of the voltage utilization difference and the second motor speed coefficient into the PI regulator to obtain a current adjustment value, and the second motor speed coefficient is smaller than the first motor speed coefficient.

[0042] In some embodiments, the adjustment module is also used to determine an intermediate coefficient based on the motor speed value through a first preset table, wherein the first preset table is used to record multiple motor speed values ​​and the intermediate coefficient corresponding to each motor speed value, and the intermediate coefficient is less than 1; the motor speed value is multiplied by the intermediate coefficient to obtain the second motor speed coefficient.

[0043] In some embodiments, the apparatus further comprises:

[0044] The determination module is used to compare a first intermediate value with a second intermediate value to obtain the actual voltage utilization rate, wherein the first intermediate value is used to represent the output voltage value of the motor controller, and the second intermediate value is used to represent the input voltage value of the motor controller.

[0045] In some embodiments, the determination module is further used to determine the reference current value based on the motor torque value through a second preset table, and the second preset table is used to record multiple motor torque values ​​and the reference current value corresponding to each motor torque value.

[0046] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value;

[0047] The driving module is used to add the reference direct-axis current value and the current adjustment value to obtain a target direct-axis current value when the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value; determine a target quadrature-axis current value based on the motor torque value and the target direct-axis current value; and drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value when the target direct-axis current value and the target quadrature-axis current value meet preset conditions.

[0048] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value; the driving module is used to determine the reference direct-axis current value as the target direct-axis current value and the reference quadrature-axis current value as the target quadrature-axis current value when the motor speed value is not greater than the first preset speed value; and to drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value when the target direct-axis current value and the target quadrature-axis current value meet preset conditions.

[0049] In some embodiments, the driving module is used to determine the square root of the sum of the squares of the target direct-axis current value and the target quadrature-axis current value as a composite current value; when the composite current value is not greater than an operating current threshold, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0050] In some embodiments, the driving module is used to determine the square root of the square difference between the operating current threshold and the target direct-axis current value as an updated target quadrature-axis current value when the composite current value is greater than the operating current threshold, and the updated target quadrature-axis current value is less than the target quadrature-axis current value; and drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the updated target quadrature-axis current value.

[0051] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the control method of the permanent magnet synchronous motor in an embodiment of the present application.

[0052] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the control method of the permanent magnet synchronous motor in an embodiment of the present application.

[0053] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to implement the control method of the permanent magnet synchronous motor in the embodiment of the present application.

[0054] The present application provides a control method for a permanent magnet synchronous motor, in which a motor speed coefficient is introduced in the adjustment process of a PI regulator to obtain a current adjustment value. Since different motor speed coefficients correspond to different motor speed value intervals, the above method associates the obtained current adjustment value with the real-time motor speed value, so that when the real-time motor speed value is in each motor speed value interval, a reasonable current adjustment value can be obtained based on the motor speed coefficient corresponding to the motor speed value interval. Through the above method, in the case of a high-speed change in the real-time motor speed value, the current in the permanent magnet synchronous motor can be adjusted quickly and stably through the current adjustment value, thereby ensuring the safe and high-speed operation of the permanent magnet synchronous motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be 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 any creative work.

[0056] Figure 1 is a flow chart of a control method of a permanent magnet synchronous motor provided according to an embodiment of the present application;

[0057] Figure 2 is a flow chart of another method for controlling a permanent magnet synchronous motor provided according to an embodiment of the present application;

[0058] Figure 3 It is a schematic diagram of an overall process provided according to an embodiment of the present application;

[0059] Figure 4 is a block diagram of a control device for a permanent magnet synchronous motor provided according to an embodiment of the present application;

[0060] Figure 5 is a block diagram of another permanent magnet synchronous motor control device provided according to an embodiment of the present application;

[0061] Figure 6is a schematic diagram of the structure of a terminal provided according to an embodiment of the present application;

[0062] Figure 7 It is a structural diagram of a server provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0064] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.

[0065] In the present application, the term "at least one" means one or more, and the term "plurality" means two or more.

[0066] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the motor speed value, motor torque value, first preset table, second preset table, etc. involved in this application are all obtained with full authorization.

[0067] Below, the nouns appearing in the embodiments of the present application are briefly introduced.

[0068] Direct axis current value: refers to the current component flowing along the magnetic field axis direction of the rotor permanent magnet in the permanent magnet synchronous motor. The magnetic flux can be adjusted by adjusting the direct axis current value.

[0069] Cross-axis current value: refers to the current component flowing in the direction perpendicular to the magnetic field axis of the rotor permanent magnet in the permanent magnet synchronous motor. The motor torque value can be adjusted by adjusting the cross-axis current value.

[0070] Direct axis voltage value: refers to the voltage component applied to the stator winding of the permanent magnet synchronous motor and aligned with the magnetic field axis of the permanent magnet. The magnetic flux can be adjusted by adjusting the direct axis voltage value.

[0071] Cross-axis voltage value: refers to the voltage component applied to the stator winding of the permanent magnet synchronous motor and perpendicular to the magnetic field axis of the permanent magnet. The motor torque value can be adjusted by adjusting the cross-axis voltage value.

[0072] DC bus voltage value: refers to the DC voltage at the input end of the inverter, usually provided by a DC power supply. The inverter is used to convert the DC bus voltage into AC voltage to drive the stator winding of the permanent magnet synchronous motor.

[0073] Direct-axis inductance value: refers to the inductance of the stator winding of the permanent magnet synchronous motor in the direct-axis direction, which can reflect the effect between the magnetic field generated by the stator current in the direct-axis direction and the magnetic field of the permanent magnet.

[0074] Cross-axis inductance: refers to the inductance of the stator winding of the permanent magnet synchronous motor in the quadrature axis direction, which can reflect the effect between the magnetic field generated by the stator current in the quadrature axis direction and the magnetic field of the permanent magnet.

[0075] Motor pole pair number: refers to the logarithm of the magnetic field polarity of the stator and rotor of the permanent magnet synchronous motor. The pole pair number is used to indicate the synchronous speed of the permanent magnet synchronous motor, that is, the rotation speed at the rated frequency.

[0076] Permanent magnet flux linkage: refers to the chain effect value of the magnetic flux generated by the permanent magnet of the permanent magnet synchronous motor in the stator winding.

[0077] Figure 1 is a flow chart of a control method of a permanent magnet synchronous motor provided according to an embodiment of the present application, the method is executed by a control system of the permanent magnet synchronous motor, see Figure 1 , the method comprises the following steps:

[0078] 101. The product value of the voltage utilization difference and the motor speed coefficient is input into the PI regulator to obtain the current adjustment value. The voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization. Different motor speed coefficients correspond to different motor speed value ranges.

[0079] In an embodiment of the present application, a PI (Proportional-Integral) regulator is a linear controller commonly used in control systems. The regulator adjusts output parameters based on input parameters through proportional control and integral control. In an embodiment of the present application, the input parameter of the regulator is the product value of the voltage utilization difference and the motor speed coefficient. The output parameter of the regulator is the current adjustment value. The actual voltage utilization is used to indicate the efficiency and degree of utilization of the voltage by the motor controller. The reference voltage utilization refers to a preset theoretical voltage utilization, and the reference voltage utilization is usually higher than the actual voltage utilization.

[0080] 102. When a motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value, drive the permanent magnet synchronous motor to operate based on a current adjustment value and a reference current value.

[0081] In an embodiment of the present application, the reference current value includes a reference direct-axis current value and a reference alternating-axis current value. The reference current value is a current value determined based on the motor torque value. The reference current value includes a reference direct-axis current value and a reference quadrature-axis current value. Typically, the reference direct-axis current value and the current adjustment value are both negative values.

[0082] When the motor speed value is greater than the first preset speed value, it can be considered that the motor speed value is in the high speed range. At this time, the reference direct axis current value is adjusted by the current adjustment value, so that the weakening effect of the magnetic field of the permanent magnet is better, that is, the weakening depth of the magnetic field is increased.

[0083] 103. When the motor speed value is not greater than the first preset speed value, drive the permanent magnet synchronous motor to operate based on the reference current value.

[0084] In the embodiment of the present application, when the motor speed value is not greater than the first preset speed value, it can be regarded as the motor speed value is in the low speed range. At this time, there is no need to perform the adjustment process through the PI regulator, and the permanent magnet synchronous motor is driven to run directly through the reference current value.

[0085] The embodiment of the present application provides a control method for a permanent magnet synchronous motor, in which a motor speed coefficient is introduced in the adjustment process of a PI regulator to obtain a current adjustment value. Since different motor speed coefficients correspond to different motor speed value intervals, the above method associates the obtained current adjustment value with the real-time motor speed value, so that when the real-time motor speed value is in each motor speed value interval, a reasonable current adjustment value can be obtained based on the motor speed coefficient corresponding to the motor speed value interval. Through the above method, in the case of a high-speed change in the real-time motor speed value, the current in the permanent magnet synchronous motor can also be adjusted quickly and stably through the current adjustment value, thereby ensuring the safe and high-speed operation of the permanent magnet synchronous motor.

[0086] Figure 2 is a flow chart of another method for controlling a permanent magnet synchronous motor according to an embodiment of the present application, the method being executed by a control system of the permanent magnet synchronous motor, see Figure 2 , the method comprises the following steps:

[0087] 201. Based on the motor torque value, determine a reference current value through a second preset table, where the second preset table is used to record multiple motor torque values ​​and a reference current value corresponding to each motor torque value.

[0088] In an embodiment of the present application, the control system determines the motor torque value of the permanent magnet synchronous motor according to the torque command, and then queries the reference current value corresponding to the motor torque value in the second preset table. The torque command refers to the command issued by the motor controller in the control system in the process of adjusting the parameter value of the operating parameter of the permanent magnet synchronous motor. The torque command carries the motor torque value of the permanent magnet synchronous motor. For example, in an automobile drive system, the torque command can be determined by the driver's accelerator pedal position signal, and the torque command is used to control the permanent magnet synchronous motor to accelerate or decelerate.

[0089] Among them, the motor torque value refers to the parameter value of the motor torque. The motor torque refers to the torque generated by the permanent magnet synchronous motor when it rotates, which can reflect the driving force provided by the permanent magnet synchronous motor and the load supported by the permanent magnet synchronous motor. The reference current value refers to the parameter value of the reference current. The reference current value includes a reference direct-axis current value and a reference quadrature-axis current value. That is, the reference current is used to drive the permanent magnet synchronous motor to operate. The reference current includes a reference direct-axis current and a reference quadrature-axis current. For ease of description, the reference direct-axis current can be called the d-axis current, and the reference direct-axis current value can be called Id0; the reference quadrature-axis current can be called the q-axis current, and the reference quadrature-axis current value can be called Iq0.

[0090] In order to make the permanent magnet synchronous motor reach a certain motor torque value during operation, it is necessary to drive the permanent magnet synchronous motor to operate according to the reference current value corresponding to the motor torque value. In an embodiment of the present application, a second preset table is used to record multiple motor torque values ​​of the permanent magnet synchronous motor and the reference current value corresponding to each motor torque value. Optionally, the second preset table is an MTPA (Maximum Torque Per Ampere, maximum torque per ampere) table.

[0091] In some embodiments, a second preset table is prepared by a motor calibration bench in the control system. Accordingly, a sampled speed value is obtained; the motor speed value is set to the sampled speed value by the motor calibration bench; based on the MTPA control strategy, reference direct-axis current values ​​and reference quadrature-axis current values ​​corresponding to different motor torque values ​​are obtained to obtain the second preset table.

[0092] Among them, the sampling speed value is less than the turning speed value. For example, the sampling speed value is set to 2 / 3 of the turning speed value. The turning speed value is the parameter value of the turning speed. The turning speed is used to indicate the motor speed value of the permanent magnet synchronous motor when it enters the constant power stage from the constant torque stage. Since the constant torque stage to the constant power stage is a process of gradual acceleration of the permanent magnet synchronous motor, the turning speed refers to the maximum motor speed value in the constant torque stage. This control strategy is used to obtain the optimal combination of direct-axis current value and quadrature-axis current value corresponding to different motor torque values ​​of the permanent magnet synchronous motor.

[0093] It should be noted that the mapping relationship between the motor torque value and the reference current value of the permanent magnet synchronous motor is recorded in the second preset table, so that in the process of controlling the permanent magnet synchronous motor, the reference current value can be quickly determined by looking up the table based on the real-time motor torque value, and then the permanent magnet synchronous motor can be driven to operate on this basis. The above method is not only convenient and fast, but also can adapt to various operating states of the permanent magnet synchronous motor, and has high flexibility and accuracy.

[0094] 202. Compare the first intermediate value and the second intermediate value to obtain the actual voltage utilization, and make a difference between the actual voltage utilization and the reference voltage utilization to obtain the voltage utilization difference. The first intermediate value is used to represent the output voltage value of the motor controller, and the second intermediate value is used to represent the input voltage value of the motor controller.

[0095] In the embodiment of the present application, the actual voltage utilization rate is used to indicate the efficiency and degree of voltage utilization by the motor controller. The first intermediate value is the composite voltage value of the direct-axis voltage value and the quadrature-axis voltage value, and the second intermediate value is determined by the DC bus voltage value. The reference voltage utilization rate refers to a preset theoretical voltage utilization rate, and the reference voltage utilization rate is usually higher than the actual voltage utilization rate. For ease of description, the actual voltage utilization rate may be referred to as Vr1, and the reference voltage utilization rate may be referred to as Vr0.

[0096] To facilitate description of how to determine the actual voltage utilization, see the following formula.

[0097]

[0098] Among them, V r1 is the actual voltage utilization, V d is the direct axis voltage value, V q is the quadrature axis voltage value, V dc is the DC bus voltage value. Correspondingly, is the first intermediate value; is the second intermediate value.

[0099] It should be noted that by determining the actual voltage utilization based on the output voltage value and input voltage value of the motor controller, it is convenient to subsequently determine the voltage utilization difference and the current adjustment value, thereby improving intuitiveness and efficiency.

[0100] It should be noted that the above steps 201 and 202 are exemplary steps for determining the operating parameter values ​​of the permanent magnet synchronous motor, and the embodiment of the present application does not limit the order of determining the operating parameter values. Among them, the operating parameter values ​​of the permanent magnet synchronous motor are parameter values ​​of the operating parameters. Optionally, the operating parameters include motor torque values, motor speed values, reference current values, voltage utilization rate difference values, etc.

[0101] 203. The product value of the voltage utilization rate difference and the motor speed coefficient is input into the PI regulator to obtain a current adjustment value. Different motor speed coefficients correspond to different motor speed value ranges.

[0102] In the embodiment of the present application, a PI (Proportional-Integral) regulator is a linear controller commonly used in control systems. The regulator adjusts output parameters based on input parameters through proportional control and integral control. In the embodiment of the present application, the input parameter of the regulator is the product value of the voltage utilization difference and the motor speed coefficient. The output parameter of the regulator is the current adjustment value.

[0103] That is, compared with the traditional method, before the voltage utilization rate is input into the regulator, the voltage utilization rate difference is adjusted based on the motor speed coefficient in the embodiment of the present application. Since the motor speed coefficient is associated with the motor speed value of the permanent magnet synchronous motor, the above process can be regarded as associating the adjustment process of the PI regulator with the motor speed value.

[0104] In some embodiments, when the motor speed value is in different motor speed value intervals, different motor speed coefficients are used to obtain the input parameters of the regulator. Accordingly, when the motor speed value is not greater than the second preset speed value, the product value of the voltage utilization difference and the first motor speed coefficient is input into the PI regulator to obtain the current adjustment value; when the motor speed value is greater than the second preset speed value, the product value of the voltage utilization difference and the second motor speed coefficient is input into the PI regulator to obtain the current adjustment value, and the second motor speed coefficient is less than the first motor speed coefficient.

[0105] For ease of description, the first motor speed coefficient may be referred to as k1, and the second motor speed coefficient may be referred to as k2. Typically, the first speed coefficient is set to 1, that is, before the voltage utilization is input into the regulator, no adjustment is required for the voltage utilization difference. The second speed coefficient is set to a value less than 1, that is, before the voltage utilization is input into the regulator, the voltage utilization difference is adjusted to a lower value. Optionally, the second preset speed value may be set to 10000 rpm (revolutions per minute).

[0106] Optionally, the control system determines whether the motor speed value is greater than a second preset speed value. If the motor speed value is not greater than the second preset speed value, the motor speed coefficient is set to the first motor speed coefficient; if the motor speed value is greater than the second preset speed value, the motor speed coefficient is set to the second motor speed coefficient.

[0107] It should be noted that by introducing the motor speed coefficient in the adjustment process of the PI regulator, and selecting different motor speed coefficients according to different motor speed value intervals in which the motor speed value is located, the current can be adjusted more accurately, thereby improving the response speed and stability of the permanent magnet synchronous motor. Accordingly, the corresponding motor speed coefficient is determined according to the real-time motor speed value, and the input parameters of the PI regulator are adjusted by the motor speed coefficient, so that the current adjustment value obtained by the PI regulator is associated with the real-time motor speed value, and is more accurate and reasonable, thereby improving the response speed and stability of the permanent magnet synchronous motor.

[0108] In some embodiments, the second motor speed coefficient is determined according to the motor speed value. Accordingly, based on the motor speed value, an intermediate coefficient is determined through a first preset table, the first preset table is used to record multiple motor speed values ​​and the intermediate coefficient corresponding to each motor speed value, and the intermediate coefficient is less than 1; the motor speed value and the intermediate coefficient are multiplied to obtain the second motor speed coefficient.

[0109] For ease of description, the intermediate coefficient may be referred to as k. It should be noted that the above first preset table is only an exemplary description. Optionally, the first preset table may record combinations of motor torque values ​​and motor speed values, and intermediate coefficients corresponding to different combinations, which will not be described in detail here.

[0110] It should be noted that the mapping relationship between the operating parameter value and the intermediate coefficient of the permanent magnet synchronous motor is recorded in the first preset table, so that in the control process of the permanent magnet synchronous motor, the intermediate coefficient can be quickly determined by looking up the table based on the operating parameter value, and then the second motor speed coefficient can be determined. The above method is not only convenient and fast, but also can adapt to various operating states of the permanent magnet synchronous motor, and has high flexibility and accuracy.

[0111] 204. When the motor speed value of the permanent magnet synchronous motor is greater than the first preset speed value, add the reference direct-axis current value and the current adjustment value to obtain a target direct-axis current value.

[0112] In the embodiment of the present application, the first preset speed value may be close to the turning speed value. The target direct axis current value is a negative value.

[0113] It should be noted that when the motor speed value is greater than the first preset speed value, the motor speed value can be regarded as being in the high speed range. Normally, the reference direct-axis current value and the current adjustment value are both negative values. Therefore, compared with the reference direct-axis current value, the target direct-axis current value is smaller, which means that the direct-axis current is increased. Since the direct-axis current and the magnetic field generated by the permanent magnet in the permanent magnet synchronous motor are in opposite directions, the magnetic field of the permanent magnet can be offset, thereby reducing the magnetic flux. Therefore, compared with the reference direct-axis current value, when the permanent magnet synchronous motor is driven by the target direct-axis current value, the effect of reducing the magnetic flux is better, which means that the weak magnetic depth is increased.

[0114] It should be noted that the embodiment of the present application does not limit the magnitude relationship between the first preset speed value and the second preset speed value, and those skilled in the art may set it by themselves.

[0115] 205. Determine a target quadrature-axis current value based on the motor torque value and the target direct-axis current value.

[0116] In the embodiment of the present application, when the target direct-axis current value is determined, the target quadrature-axis current value can be determined by the torque formula. It should be noted that, since the current adjustment value is associated with the operating parameter value of the permanent magnet synchronous motor, when the motor speed value is greater than the first preset speed value, that is, when the motor speed value is in the high speed range, the target direct-axis current value is obtained by adding the reference direct-axis current value and the current adjustment value, thereby adjusting the current according to the operating parameter value of the permanent magnet synchronous motor, and improving the response speed and stability of the permanent magnet synchronous motor.

[0117] To facilitate description of the method for determining the target quadrature-axis current value, refer to the following formula.

[0118]

[0119] Among them, I q1 is the target quadrature axis current value, T is the motor torque value, p is the number of motor pole pairs, is the permanent magnet flux, I d is the direct axis inductance, L q is the quadrature-axis inductance, I d1 is the target direct-axis current value. Among them, the parameters such as the number of motor pole pairs and permanent magnet flux linkage are conventional parameters of permanent magnet synchronous motors and will not be described in detail here.

[0120] 206. When the motor speed value is not greater than the first preset speed value, determine the reference direct-axis current value as the target direct-axis current value, and determine the reference quadrature-axis current value as the target quadrature-axis current value.

[0121] In the embodiment of the present application, when the motor speed value is not greater than the first preset speed value, it can be regarded as the motor speed value is in the low speed range. At this time, there is no need to perform the adjustment process through the PI regulator, and the reference current value can be directly determined as the target current value. Among them, the target current value includes the target direct axis current value and the target quadrature axis current value.

[0122] Optionally, the control system determines whether the motor speed value is greater than a first preset speed value. When the motor speed value is greater than a second preset speed value, the above steps 201 to 205 are executed, that is, the current adjustment value is obtained through the PI regulator, and then the target current value is obtained based on the reference current value; when the motor speed value is not greater than the first preset speed value, the above steps 201 and 206 are executed, that is, the reference current value is determined, and the reference current value is determined as the target current value.

[0123] It should be noted that when the motor speed value is not greater than the first preset speed value, that is, when the motor speed value is in the low speed range, the target direct-axis current value and the target quadrature-axis current value are directly determined, and when the above two current values ​​meet the preset conditions, they are used as the current values ​​for driving the permanent magnet synchronous motor to operate. The above method is not only intuitive and efficient, but also simple, clear and easy to implement.

[0124] 207. Determine the square root of the sum of the squares of the target direct-axis current value and the target quadrature-axis current value as the composite current value.

[0125] In the embodiment of the present application, the target direct-axis current value is used to control the magnetic flux of the permanent magnet synchronous motor, and the target quadrature-axis current value is used to control the torque value of the permanent magnet synchronous motor. The composite current value is the vector sum of the target direct-axis current value and the target quadrature-axis current value, and the composite current value is used to indicate the total current in the permanent magnet synchronous motor.

[0126] To facilitate description of how the composite current value is determined, see the following formula.

[0127]

[0128] Among them, I s is the composite current value, I d1 is the target direct-axis current value, I q1 is the target quadrature-axis current value.

[0129] 208. When the composite current value is not greater than the operating current threshold, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0130] In the embodiment of the present application, the operating current threshold is the maximum operating current value of the permanent magnet synchronous motor. For ease of description, the operating current threshold may be referred to as Imax.

[0131] When the composite current value is not greater than the operating current threshold, that is, the composite current value is within the current limit circle, it means that the composite current value is within the normal operating range of the permanent magnet synchronous motor. Therefore, the permanent magnet synchronous motor can be driven directly based on the target direct-axis current value and the target quadrature-axis current value.

[0132] It should be noted that by comparing the synthetic current value with the operating current threshold, it is possible to avoid the situation where the permanent magnet synchronous motor is damaged due to excessive current, thereby improving the stability and safety of the permanent magnet synchronous motor.

[0133] 209. When the composite current value is greater than the operating current threshold, the square root of the square difference between the operating current threshold and the target direct-axis current value is determined as the updated target quadrature-axis current value.

[0134] In the embodiment of the present application, the updated target quadrature-axis current value is less than the target quadrature-axis current value. When the composite current value is greater than the operating current threshold, that is, the composite current value exceeds the current limit circle, it means that the composite current value exceeds the normal operating range of the permanent magnet synchronous motor, which may cause the permanent magnet synchronous motor to be overloaded and damaged, so the target current value needs to be updated. In order to ensure the weakening depth, therefore, the target direct-axis current value used to adjust the weakening depth is kept unchanged, and the target quadrature-axis current value is adjusted to a smaller value based on the operating current threshold.

[0135] To facilitate description of the updating process of the target quadrature-axis current value, refer to the following formula.

[0136]

[0137] Among them, I q1 is the updated target quadrature-axis current value, I max is the operating current threshold, I d1 is the target direct-axis current value.

[0138] It should be noted that by adjusting the target quadrature-axis current value, it is possible to avoid the composite current value determined based on the target direct-axis current value and the target quadrature-axis current value from exceeding the operating current threshold, that is, to avoid exceeding the safe operating range of the permanent magnet synchronous motor, thereby improving the safety of the permanent magnet synchronous motor. At the same time, since only the target quadrature-axis current value is adjusted while the target direct-axis current value remains unchanged, the adjustment effect of the air gap magnetic field of the permanent magnet synchronous motor and the adjustment effect of the back electromotive force of the permanent magnet synchronous motor are guaranteed, and the motor speed value can be increased more efficiently.

[0139] 210. Drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the updated target quadrature-axis current value.

[0140] In the embodiment of the present application, the permanent magnet synchronous motor is driven to operate by adopting the updated target quadrature-axis current value, thereby ensuring that the composite current value is within the current limit circle, thereby guaranteeing the safety of the permanent magnet synchronous motor.

[0141] At the same time, since the target direct-axis current value and the target AC current value are associated with the parameter values ​​of the operating parameters of the permanent magnet synchronous motor, the target direct-axis current value and the target AC current value are determined based on the real-time operating status of the permanent magnet synchronous motor, and the permanent magnet synchronous motor is driven to operate, thereby improving the response speed and flexibility.

[0142] To describe the overall process, see Figure 3 As shown, Figure 3 It is a schematic diagram of an overall process provided according to an embodiment of the present application. The control method in the embodiment of the present application is executed by the control system of the permanent magnet synchronous motor. First, execute step 301, based on the motor torque value, look up the table to obtain the reference direct-axis current value and the reference quadrature-axis current value, execute step 302, calculate the actual voltage utilization in real time, and make a difference with the reference voltage utilization to obtain the voltage utilization difference. Execute step 303 to determine whether the motor speed value is greater than the second preset speed value. If it is greater than, execute step 304 to set the motor speed coefficient to the second motor speed coefficient; if it is not greater than, execute step 305 to set the motor speed coefficient to the first motor speed coefficient. Then execute step 306 to use the product value of the voltage utilization difference and the motor speed coefficient as the input parameter of the PI regulator; execute step 307 to output the current adjustment value through the PI regulator. Execute step 308 to determine whether the motor speed value is greater than the first preset speed value. In the case where it is greater than, execute step 309, and use the sum of the reference direct-axis current value and the current adjustment value as the target direct-axis current value; execute step 310, and calculate the target quadrature-axis current value according to the torque formula. In the case where it is not greater than, execute step 311, and determine the reference direct-axis current value as the target direct-axis current value, and determine the reference quadrature-axis current value as the target quadrature-axis current value. Then execute step 312 to determine whether the composite current value is greater than the operating current threshold. In the case where it is greater than, execute step 313, keep the target direct-axis current value unchanged, and recalculate the target quadrature-axis current value according to the operating current threshold; execute step 314, and drive the permanent magnet synchronous motor to operate by using the target direct-axis current value and the target quadrature-axis current value. In the case where it is not greater than, execute step 314, and drive the permanent magnet synchronous motor to operate by using the target direct-axis current value and the target quadrature-axis current value.

[0143] In some embodiments, the control system includes a motor calibration bench, a motor controller, and a permanent magnet synchronous motor. The motor calibration bench is used to simulate the operating environment of the permanent magnet synchronous motor; the motor controller is used to control the parameter values ​​of the operating parameters of the permanent magnet synchronous motor, and the operating parameters include the motor torque value and the motor speed value; the permanent magnet synchronous motor is used to operate under the control of the motor controller. Optionally, other computer devices are also included in the control system, which is not limited here.

[0144] Optionally, the motor calibration test bench is used to obtain the parameters in the first preset table and the second preset table. Optionally, the motor controller is the execution subject of the above steps 201 to 210, and the motor controller is used to determine the target direct-axis current value and the target quadrature-axis current value based on the operating state of the permanent magnet synchronous motor, thereby driving the permanent magnet synchronous motor to operate.

[0145] The embodiment of the present application provides a control method for a permanent magnet synchronous motor, in which a motor speed coefficient is introduced in the adjustment process of a PI regulator to obtain a current adjustment value. Since different motor speed coefficients correspond to different motor speed value intervals, the above method associates the obtained current adjustment value with the real-time motor speed value, so that when the real-time motor speed value is in each motor speed value interval, a reasonable current adjustment value can be obtained based on the motor speed coefficient corresponding to the motor speed value interval. Through the above method, in the case of a high-speed change in the real-time motor speed value, the current in the permanent magnet synchronous motor can also be adjusted quickly and stably through the current adjustment value, thereby ensuring the safe and high-speed operation of the permanent magnet synchronous motor.

[0146] Figure 4 is a block diagram of a control device for a permanent magnet synchronous motor provided according to an embodiment of the present application. The device is used to execute the steps of the control method for the permanent magnet synchronous motor described above, see Figure 4 The control device of the permanent magnet synchronous motor includes: a regulating module 401 and a driving module 402.

[0147] The adjustment module 401 is used to input the product value of the voltage utilization difference and the motor speed coefficient into the PI regulator to obtain the current adjustment value, the voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization, and different motor speed coefficients correspond to different motor speed value intervals;

[0148] A driving module 402, configured to drive the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value when the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value;

[0149] The driving module 402 is further configured to drive the permanent magnet synchronous motor to operate based on a reference current value when the motor speed value is not greater than a first preset speed value.

[0150] In some embodiments, the adjustment module 402 is used to input the product value of the voltage utilization difference and the first motor speed coefficient into the PI regulator to obtain a current adjustment value when the motor speed value is not greater than the second preset speed value; when the motor speed value is greater than the second preset speed value, input the product value of the voltage utilization difference and the second motor speed coefficient into the PI regulator to obtain a current adjustment value, and the second motor speed coefficient is less than the first motor speed coefficient.

[0151] In some embodiments, the adjustment module 402 is also used to determine an intermediate coefficient based on the motor speed value through a first preset table, the first preset table is used to record multiple motor speed values ​​and the intermediate coefficient corresponding to each motor speed value, and the intermediate coefficient is less than 1; the motor speed value and the intermediate coefficient are multiplied to obtain a second motor speed coefficient.

[0152] In some embodiments, Figure 5 is a block diagram of another control device for a permanent magnet synchronous motor provided according to an embodiment of the present application. The device also includes:

[0153] The determination module 501 is used to compare the first intermediate value and the second intermediate value to obtain the actual voltage utilization rate, the first intermediate value is used to represent the output voltage value of the motor controller, and the second intermediate value is used to represent the input voltage value of the motor controller.

[0154] In some embodiments, the determination module 501 is further used to determine the reference current value based on the motor torque value through a second preset table, and the second preset table is used to record multiple motor torque values ​​and the reference current value corresponding to each motor torque value.

[0155] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value;

[0156] The driving module 402 is used to add the reference direct-axis current value and the current adjustment value to obtain the target direct-axis current value when the motor speed value of the permanent magnet synchronous motor is greater than the first preset speed value; determine the target quadrature-axis current value based on the motor torque value and the target direct-axis current value; and drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value when the target direct-axis current value and the target quadrature-axis current value meet preset conditions.

[0157] In some embodiments, the reference current value includes a reference direct-axis current value and a reference quadrature-axis current value;

[0158] The driving module 402 is used to determine the reference direct-axis current value as the target direct-axis current value and the reference quadrature-axis current value as the target quadrature-axis current value when the motor speed value is not greater than the first preset speed value; and to drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value when the target direct-axis current value and the target quadrature-axis current value meet preset conditions.

[0159] In some embodiments, the driving module 402 is used to determine the square root of the sum of the squares of the target direct-axis current value and the target quadrature-axis current value as a composite current value; when the composite current value is not greater than the operating current threshold, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

[0160] In some embodiments, the driving module 402 is used to determine the square root of the square difference between the operating current threshold and the target direct-axis current value as the updated target quadrature-axis current value when the composite current value is greater than the operating current threshold, and the updated target quadrature-axis current value is less than the target quadrature-axis current value; and drive the permanent magnet synchronous motor to operate based on the target direct-axis current value and the updated target quadrature-axis current value.

[0161] The present application provides a control device for a permanent magnet synchronous motor, in which a motor speed coefficient is introduced in the adjustment process of a PI regulator to obtain a current adjustment value. Since different motor speed coefficients correspond to different motor speed value intervals, the above device associates the obtained current adjustment value with the real-time motor speed value, so that when the real-time motor speed value is in each motor speed value interval, a reasonable current adjustment value can be obtained based on the motor speed coefficient corresponding to the motor speed value interval. Through the above device, in the case of a high-speed change in the real-time motor speed value, the current in the permanent magnet synchronous motor can be adjusted quickly and stably through the current adjustment value, thereby ensuring the safe and high-speed operation of the permanent magnet synchronous motor.

[0162] It should be noted that: the control device for the permanent magnet synchronous motor provided in the above embodiment only uses the division of the above functional modules as an example when running an application program. In actual applications, the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the permanent magnet synchronous motor provided in the above embodiment and the control method embodiment of the permanent magnet synchronous motor belong to the same concept, and the implementation process thereof is shown in the method embodiment, which will not be repeated here.

[0163] Figure 66 is a schematic diagram of a terminal structure provided according to an embodiment of the present application. The terminal 600 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 600 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0164] Typically, the terminal 600 includes a processor 601 and a memory 602 .

[0165] The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the volume cloud of the content to be displayed on the display screen. In some embodiments, the processor 601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0166] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one computer program, which is used to be executed by the processor 601 to implement the control method of the permanent magnet synchronous motor provided in the method embodiment of the present application.

[0167] In some embodiments, the terminal 600 may further optionally include: a peripheral device interface 603 and at least one peripheral device. The processor 601, the memory 602 and the peripheral device interface 603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 603 via a bus, a signal line or a circuit board. The peripheral device includes: at least one of a radio frequency circuit 604, a display screen 605, a camera assembly 606, an audio circuit 607 and a power supply 608.

[0168] The peripheral device interface 603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, the memory 602, and the peripheral device interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral device interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0169] The radio frequency circuit 604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0170] The display screen 605 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to collect touch signals on the surface or above the surface of the display screen 605. The touch signal can be input to the processor 601 as a control signal for processing. At this time, the display screen 605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 605 can be one, set on the front panel of the terminal 600; in other embodiments, the display screen 605 can be at least two, respectively set on different surfaces of the terminal 600 or in a folding design; in other embodiments, the display screen 605 can be a flexible display screen, set on the curved surface or folding surface of the terminal 600. Even, the display screen 605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 605 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0171] The camera assembly 606 is used to capture images or videos. In some embodiments, the camera assembly 606 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash may be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0172] The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 601 for processing, or input them into the radio frequency circuit 604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 607 may also include a headphone jack.

[0173] The power supply 608 is used to power various components in the terminal 600. The power supply 608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0174] In some embodiments, the terminal 600 further includes one or more sensors 609 , including but not limited to: an acceleration sensor 610 , a gyroscope sensor 611 , a pressure sensor 612 , an optical sensor 613 , and a proximity sensor 614 .

[0175] The acceleration sensor 610 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600. For example, the acceleration sensor 610 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 601 can control the display screen 605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 610. The acceleration sensor 610 can also be used to collect game or user motion data.

[0176] The gyro sensor 611 can detect the body direction and rotation angle of the terminal 600, and the gyro sensor 611 can cooperate with the acceleration sensor 610 to collect the user's 3D actions on the terminal 600. The processor 601 can implement the following functions based on the data collected by the gyro sensor 611: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0177] The pressure sensor 612 can be set on the side frame of the terminal 600 and / or the lower layer of the display screen 605. When the pressure sensor 612 is set on the side frame of the terminal 600, it can detect the user's holding signal of the terminal 600, and the processor 601 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 612. When the pressure sensor 612 is set on the lower layer of the display screen 605, the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0178] The optical sensor 613 is used to collect the ambient light intensity. In one embodiment, the processor 601 can control the display brightness of the display screen 605 according to the ambient light intensity collected by the optical sensor 613. Optionally, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 can also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 613.

[0179] The proximity sensor 614, also called a distance sensor, is disposed on the front panel of the terminal 600. The proximity sensor 614 is used to collect the distance between the user and the front of the terminal 600. In one embodiment, when the proximity sensor 614 detects that the distance between the user and the front of the terminal 600 is gradually decreasing, the processor 601 controls the display screen 605 to switch from the screen-on state to the screen-off state; when the proximity sensor 614 detects that the distance between the user and the front of the terminal 600 is gradually increasing, the processor 601 controls the display screen 605 to switch from the screen-off state to the screen-on state.

[0180] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the terminal 600, and the terminal 600 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0181] Figure 7It is a structural diagram of a server provided according to an embodiment of the present application. The server 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 701 and one or more memories 702, wherein at least one computer program is stored in the memory 702, and the at least one computer program is loaded and executed by the processor 701 to implement the control method of the permanent magnet synchronous motor provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be repeated here.

[0182] The embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor to implement the control method of the permanent magnet synchronous motor in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0183] The embodiment of the present application also provides a computer program product, including a computer program, which is executed by a processor to implement the control method of the permanent magnet synchronous motor in the embodiment of the present application.

[0184] A person skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0185] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A control method for a permanent magnet synchronous motor, characterized in that: The method comprises: Inputting the product value of the voltage utilization difference and the motor speed coefficient into the PI regulator to obtain the current adjustment value, wherein the voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization, and different motor speed coefficients correspond to different motor speed value intervals; When the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value, driving the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value; When the motor speed value is not greater than the first preset speed value, the permanent magnet synchronous motor is driven to operate based on the reference current value.

2. The method according to claim 1, characterized in that The product value of the voltage utilization rate difference and the motor speed coefficient is input into the PI regulator to obtain the current adjustment value, including: When the motor speed value is not greater than the second preset speed value, the product value of the voltage utilization difference and the first motor speed coefficient is input into the PI regulator to obtain a current adjustment value; When the motor speed value is greater than the second preset speed value, the product value of the voltage utilization difference and the second motor speed coefficient is input into the PI regulator to obtain a current adjustment value, and the second motor speed coefficient is less than the first motor speed coefficient.

3. The method according to claim 2, characterized in that The method further comprises: Based on the motor speed value, determining an intermediate coefficient through a first preset table, wherein the first preset table is used to record a plurality of motor speed values ​​and an intermediate coefficient corresponding to each motor speed value, wherein the intermediate coefficient is less than 1; The motor speed value is multiplied by the intermediate coefficient to obtain the second motor speed coefficient.

4. The method according to claim 1, characterized in that: The method further comprises: The actual voltage utilization rate is obtained by comparing the first intermediate value with the second intermediate value, wherein the first intermediate value is used to represent the output voltage value of the motor controller, and the second intermediate value is used to represent the input voltage value of the motor controller.

5. The method according to claim 1, characterized in that The method further comprises: Based on the motor torque value, a reference current value is determined through a second preset table, where the second preset table is used to record a plurality of motor torque values ​​and a reference current value corresponding to each motor torque value.

6. The method according to claim 1, characterized in that The reference current value includes a reference direct-axis current value and a reference quadrature-axis current value; The method of driving the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value when the motor speed value of the permanent magnet synchronous motor is greater than the first preset speed value comprises: When the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value, adding the reference direct-axis current value and the current adjustment value to obtain a target direct-axis current value; Determining a target quadrature-axis current value based on the motor torque value and the target direct-axis current value; When the target direct-axis current value and the target quadrature-axis current value meet a preset condition, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

7. The method according to claim 1, characterized in that The reference current value includes a reference direct-axis current value and a reference quadrature-axis current value; When the motor speed value is not greater than the first preset speed value, driving the permanent magnet synchronous motor to operate based on the reference current value includes: When the motor speed value is not greater than the first preset speed value, the reference direct-axis current value is determined as the target direct-axis current value, and the reference quadrature-axis current value is determined as the target quadrature-axis current value; When the target direct-axis current value and the target quadrature-axis current value meet a preset condition, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

8. The method according to claim 6 or 7, characterized in that: When the target direct-axis current value and the target quadrature-axis current value meet a preset condition, driving the permanent magnet synchronous motor to operate based on the target direct-axis current value and the target quadrature-axis current value includes: Determine the square root of the sum of the squares of the target direct-axis current value and the target quadrature-axis current value as a composite current value; When the composite current value is not greater than the operating current threshold, the permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the target quadrature-axis current value.

9. The method according to claim 8, characterized in that The method further comprises: In the case where the synthetic current value is greater than the operating current threshold, the square root of the square difference between the operating current threshold and the target direct-axis current value is determined as the updated target quadrature-axis current value, and the updated target quadrature-axis current value is less than the target quadrature-axis current value; The permanent magnet synchronous motor is driven to operate based on the target direct-axis current value and the updated target quadrature-axis current value.

10. A control system for a permanent magnet synchronous motor, characterized in that: The control system includes a motor calibration bench, a motor controller, and a permanent magnet synchronous motor; The motor calibration bench is used to simulate the operating environment of the permanent magnet synchronous motor; The motor controller is used to control the parameter values ​​of the operating parameters of the permanent magnet synchronous motor, wherein the operating parameters include the motor torque value and the motor speed value; The permanent magnet synchronous motor is used to run under the control of the motor controller.

11. A control device for a permanent magnet synchronous motor, characterized in that: The device comprises: A regulating module, used for inputting the product value of the voltage utilization difference and the motor speed coefficient into the PI regulator to obtain a current adjustment value, wherein the voltage utilization difference is the difference between the actual voltage utilization and the reference voltage utilization, and different motor speed coefficients correspond to different motor speed value intervals; A driving module, configured to drive the permanent magnet synchronous motor to operate based on the current adjustment value and the reference current value when the motor speed value of the permanent magnet synchronous motor is greater than a first preset speed value; The driving module is further configured to drive the permanent magnet synchronous motor to operate based on the reference current value when the motor speed value is not greater than the first preset speed value.

12. A computer device, characterized in that: The computer device includes a processor and a memory, the memory is used to store at least one computer program, and the at least one computer program is loaded by the processor and executes the control method of the permanent magnet synchronous motor according to any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store at least one computer program, and the at least one computer program is used to execute the control method of the permanent magnet synchronous motor according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Automatic optimization method for voltage utilization rate of permanent magnet synchronous motor

    CN109302117A

  • Permanent magnet synchronous motor control method and device

    CN110601626A

  • Permanent magnet synchronous motor control method and device, electronic equipment and storage medium

    CN112290841A

  • Inverter device and inverter system

    JP2007181352A

  • Method and device for calibrating current of permanent magnet synchronous motor

    WO2019242733A1