Control method and device of permanent magnet synchronous motor, motor controller, readable storage medium and program product

By obtaining the voltage vector and phase voltage peaks of the permanent magnet synchronous motor in real time, calculating the residual voltage margin and performing PI adjustment, the problem that the motor control method in the existing technology does not consider the actual working conditions, and improves the robustness of the motor and Voltage utilization.

CN118944521APending Publication Date: 2024-11-12FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869802.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing permanent magnet synchronous motor control method fails to effectively consider the actual operating conditions of the motor, resulting in low system robustness and voltage utilization.

Method used

By obtaining the voltage vector and phase voltage peaks in real time, calculating the remaining voltage margin, and determining whether to enter the high voltage utilization area based on the preset threshold, PI adjustment is performed to improve the motor speed and voltage utilization.

Benefits of technology

It improves the stability and robustness of the motor system, improves the voltage utilization rate, and adapts to the actual operating conditions of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944521A_ABST
    Figure CN118944521A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device of a permanent magnet synchronous motor, a motor controller, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a voltage vector and a phase voltage peak value during operation of the permanent magnet synchronous motor in real time; obtaining a voltage residual margin according to the voltage vector and the phase voltage peak value; determining whether the permanent magnet synchronous motor needs to enter a high voltage utilization rate region or not according to the voltage residual margin and a preset threshold value; and when the permanent magnet synchronous motor needs to enter the high voltage utilization rate area, PI adjustment is performed on the voltage vector according to a difference value between the voltage residual margin and the preset threshold value. By adopting the method, the robustness and the voltage utilization rate of the motor system can be improved.
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, device, motor controller, computer-readable storage medium and computer program product for a permanent magnet synchronous motor. Background Art

[0002] During the rotation of the permanent magnet synchronous motor, the rotating magnetic field of the stator drives the rotor to rotate while the winding coil cuts the rotor magnetic field to generate back electromotive force. The faster the speed of the permanent magnet synchronous motor, the greater the back electromotive force. When the permanent magnet synchronous motor works in the constant torque area, the voltage provided by the inverter can meet the speed requirements of the permanent magnet synchronous motor. When the permanent magnet synchronous motor works in the constant power area, the speed needs to be further increased, and the inverter cannot provide a larger voltage. At this time, the stator current or voltage can be adjusted through weak magnetic control to weaken the rotor excitation magnetic field and thus reduce the back electromotive force, maintain voltage balance, and increase the motor torque or speed.

[0003] Currently, a more practical control method is to directly set the modulation coefficient through software, directly give the direct-axis voltage and quadrature-axis voltage, and modulate the appropriate weak magnetic current through the PI controller. However, this method does not take into account the actual operating conditions of the permanent magnet synchronous motor and has poor robustness. Summary of the invention

[0004] Based on this, it is necessary to provide a control method, device, motor controller, computer-readable storage medium and computer program product for a permanent magnet synchronous motor that can improve system robustness and voltage utilization in order to address the above technical problems.

[0005] In a first aspect, the present application provides a control method for a permanent magnet synchronous motor, the method comprising:

[0006] Real-time acquisition of voltage vector and phase voltage peak value of permanent magnet synchronous motor during operation;

[0007] Acquire a voltage residual margin according to the voltage vector and the phase voltage peak value;

[0008] Determining whether the permanent magnet synchronous motor needs to enter a high voltage utilization rate region according to the voltage residual margin and a preset threshold;

[0009] When the permanent magnet synchronous motor needs to enter the high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and the preset threshold.

[0010] In one embodiment, the real-time acquisition of the phase voltage peak value of the permanent magnet synchronous motor during operation includes:

[0011] Acquiring in real time the bus voltage of a motor controller connected to the permanent magnet synchronous motor;

[0012] Calibrate parameters according to functional requirements to obtain a phase voltage peak factor of the permanent magnet synchronous motor;

[0013] The phase voltage peak value is obtained according to the bus voltage and the phase voltage peak coefficient.

[0014] In one embodiment, the step of calibrating parameters according to functional requirements to obtain a phase voltage peak coefficient of the permanent magnet synchronous motor includes:

[0015] When the function requirement calibration parameter is 1, determining the phase voltage peak coefficient to be a first preset value;

[0016] When the function requirement calibration parameter is 0, the phase voltage peak coefficient is determined to be a second preset value; wherein the first preset value is smaller than the second preset value.

[0017] In one embodiment, the first preset value is 1.5, and the second preset value is .

[0018] In one embodiment, the real-time acquisition of the voltage vector of the permanent magnet synchronous motor during operation includes:

[0019] Acquiring the direct-axis voltage and quadrature-axis voltage of the permanent magnet synchronous motor in real time;

[0020] The voltage vector is determined according to the direct-axis voltage and the quadrature-axis voltage.

[0021] In one embodiment, the obtaining the voltage residual margin according to the voltage vector and the phase voltage peak value includes:

[0022] The voltage residual margin is determined according to the following formula:

[0023]

[0024] in, Indicates the voltage remaining margin, represents the phase voltage peak value, represents the voltage vector.

[0025] In one of the embodiments, determining whether the permanent magnet synchronous motor enters a high voltage utilization area according to the voltage residual margin and a preset threshold value includes:

[0026] When the difference between the voltage residual margin and the preset threshold is greater than or equal to the hysteresis coefficient, determining that the permanent magnet synchronous motor needs to enter a high voltage utilization area;

[0027] When the difference between the voltage residual margin and the preset threshold value is smaller than the hysteresis coefficient, it is determined that the permanent magnet synchronous motor does not need to enter the high voltage utilization area.

[0028] In a second aspect, the present application further provides a control device for a permanent magnet synchronous motor, the device comprising:

[0029] The voltage acquisition module is used to obtain the voltage vector and phase voltage peak value of the permanent magnet synchronous motor in real time when it is running;

[0030] A residual margin acquisition module, used for acquiring a voltage residual margin according to the voltage vector and the phase voltage peak value;

[0031] A high voltage utilization area judgment module, used to determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold;

[0032] The regulating module is used to perform PI regulation on the voltage vector according to the difference between the voltage residual margin and the preset threshold value when the permanent magnet synchronous motor needs to enter the high voltage utilization area.

[0033] In a third aspect, the present application further provides a motor controller, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in any of the above embodiments when executing the computer program.

[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method provided in any of the above embodiments.

[0035] In a fourth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the method provided in any of the above embodiments when executed by a processor.

[0036] In the control method, device, motor controller, computer-readable storage medium and computer program product of the above-mentioned permanent magnet synchronous motor, the voltage vector and phase voltage peak value when the permanent magnet synchronous motor is running are obtained in real time, the voltage residual margin is obtained according to the voltage vector and the phase voltage peak value, and it is determined whether the permanent magnet synchronous motor needs to enter the high voltage utilization area according to the voltage residual margin and the preset threshold value; further, in the case that the permanent magnet synchronous motor needs to enter the high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and the preset threshold value, which can increase the motor speed and improve the voltage utilization of the permanent magnet synchronous motor. In addition, since the actual operating conditions of the permanent magnet synchronous motor are considered when adjusting the voltage vector, the stability and robustness of the motor system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 1 is a flow chart of a control method of a permanent magnet synchronous motor in one embodiment;

[0039] Figure 2 A schematic diagram of a flow chart of a step of obtaining a phase voltage peak value of a permanent magnet synchronous motor in real time when the permanent magnet synchronous motor is running in an embodiment;

[0040] Figure 3 is a structural block diagram of a control device for a permanent magnet synchronous motor in one embodiment;

[0041] Figure 4 FIG. 4 is a diagram showing the internal structure of a motor controller in one embodiment. DETAILED DESCRIPTION

[0042] 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.

[0043] During the rotation of the permanent magnet synchronous motor, the rotating magnetic field of the stator drives the rotor to rotate while the winding coil cuts the rotor magnetic field to generate back electromotive force. The faster the speed of the permanent magnet synchronous motor, the greater the back electromotive force. When the permanent magnet synchronous motor works in the constant torque area, the voltage provided by the inverter can meet the speed requirements of the permanent magnet synchronous motor. When the permanent magnet synchronous motor works in the constant power area, the speed needs to be further increased, and the inverter cannot provide a larger voltage. At this time, the stator current or voltage can be adjusted through weak magnetic control to weaken the rotor excitation magnetic field and thus reduce the back electromotive force, maintain voltage balance, and increase the motor torque or speed.

[0044] Currently, a more practical control method is to directly set the modulation coefficient through software, directly give the direct-axis voltage and quadrature-axis voltage, and modulate the appropriate weak magnetic current through the PI controller. However, this method does not take into account the actual operating conditions of the permanent magnet synchronous motor and has poor robustness.

[0045] Based on this, the present application proposes a control method for a permanent magnet synchronous motor that comprehensively considers the actual operating conditions of the motor. Figure 1As shown, the control method of the permanent magnet synchronous motor includes steps S120-S180.

[0046] S120, obtaining in real time the voltage vector and the phase voltage peak value of the permanent magnet synchronous motor when it is running.

[0047] The voltage vector can be obtained by adding the three-phase voltage vectors of the permanent magnet synchronous motor in the natural coordinate system, or by adding the d-axis voltage and q-axis voltage vectors in the dq-axis coordinate system. In the relevant calculations of the embodiments of the present application, the voltage vector only considers its value. The phase voltage peak value can be obtained by measuring the bus voltage of the motor controller, and the phase voltage peak value is usually 1 / 4 of the line voltage peak value. .

[0048] S140, obtaining a voltage residual margin according to the voltage vector and the phase voltage peak value.

[0049] The voltage residual margin can reflect the relative margin of the voltage vector and the phase voltage peak value.

[0050] S160: Determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold.

[0051] Among them, the high voltage utilization area is defined as a stage where the voltage vector needs to be adjusted to improve the voltage utilization. In the high voltage utilization area, the value of the voltage vector has reached the maximum. The preset threshold can be set according to the actual operating state of the motor and the motor system efficiency obtained by bench testing. For example, as shown in Table 1, the preset threshold can be adjusted according to the voltage utilization obtained by bench testing.

[0052] Table 1 Voltage utilization and preset threshold mapping table obtained from bench test

[0053]

[0054] Furthermore, when the voltage residual margin is less than a preset threshold, it can be considered that the permanent magnet synchronous motor does not need to enter the high voltage utilization area; when the voltage residual margin is greater than or equal to the preset threshold, it can be considered that the permanent magnet synchronous motor needs to enter the high voltage utilization area.

[0055] S180: When the permanent magnet synchronous motor needs to enter a high voltage utilization area, a PI adjustment is performed on the voltage vector according to a difference between a voltage residual margin and a preset threshold.

[0056] It can be understood that when the permanent magnet synchronous motor needs to enter the high voltage utilization area, the difference between the voltage residual margin and the preset threshold can be used as the input of the PI regulator, and the direct-axis current and the quadrature-axis current can be adjusted through the PI logic algorithm to find the maximum current point and realize the adjustment of the voltage vector.

[0057] In the embodiment of the present application, by obtaining the voltage vector and the phase voltage peak value when the permanent magnet synchronous motor is running in real time, the voltage residual margin is obtained according to the voltage vector and the phase voltage peak value, and it is determined whether the permanent magnet synchronous motor needs to enter the high voltage utilization area according to the voltage residual margin and the preset threshold value; further, in the case where the permanent magnet synchronous motor needs to enter the high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and the preset threshold value, which can further increase the motor speed and improve the voltage utilization of the permanent magnet synchronous motor. In addition, since the actual operating conditions of the permanent magnet synchronous motor are considered when adjusting the voltage vector, the stability and robustness of the motor system can be improved.

[0058] In one embodiment, Figure 2 As shown, the phase voltage peak value of the permanent magnet synchronous motor when running is obtained in real time, including steps S220-S260.

[0059] S220, obtaining in real time a bus voltage of a motor controller connected to the permanent magnet synchronous motor.

[0060] S240, calibrating parameters according to functional requirements to obtain a phase voltage peak factor of the permanent magnet synchronous motor.

[0061] Among them, the functional requirement calibration parameter can reflect whether the motor system has a need to improve the voltage utilization rate. Exemplarily, if the motor system has a need to improve the voltage utilization rate, the functional requirement calibration parameter can be set to 1; if the motor system does not need to improve the voltage utilization rate, the functional requirement calibration parameter can be set to 0. Optionally, if the motor system has a need to improve the voltage utilization rate, the functional requirement calibration parameter can be set to 0; if the motor system does not need to improve the voltage utilization rate, the functional requirement calibration parameter can be set to 1. The functional requirement calibration parameter can be reasonably set according to whether the motor system has a need to improve the voltage utilization rate.

[0062] S260, obtaining a phase voltage peak value according to the bus voltage and the phase voltage peak coefficient.

[0063] For example, the phase voltage peak value may be determined according to formula (1):

[0064]

[0065] in, Indicates the phase voltage peak value, represents the bus voltage, Indicates the phase voltage peak factor.

[0066] In one embodiment, the phase voltage peak coefficient of the permanent magnet synchronous motor is obtained according to the functional requirement calibration parameter, including the steps of determining the phase voltage peak coefficient as a first preset value when the functional requirement calibration parameter is 1; and determining the phase voltage peak coefficient as a second preset value when the functional requirement calibration parameter is 0. Wherein, a functional requirement calibration parameter of 1 indicates that the motor system has a demand for improving voltage utilization, and a functional requirement calibration parameter of 0 indicates that the motor system does not need to improve voltage utilization. The first preset value is less than the second preset value. Exemplarily, the first preset value may be 1.5, and the second preset value may be .

[0067] In one embodiment, real-time acquisition of the voltage vector of the permanent magnet synchronous motor during operation includes the steps of real-time acquisition of the direct-axis voltage and the quadrature-axis voltage of the permanent magnet synchronous motor, and determining the voltage vector according to the direct-axis voltage and the quadrature-axis voltage.

[0068] The three-phase voltage of the permanent magnet synchronous motor can be obtained first, and the direct-axis voltage and quadrature-axis voltage can be obtained by Clark-park transformation. Then, the voltage vector can be calculated according to formula (2):

[0069]

[0070] in, represents the voltage vector, represents the direct axis voltage, Represents the quadrature axis voltage.

[0071] In one embodiment, the voltage residual margin may be determined according to formula (3):

[0072]

[0073] in, Indicates the voltage residual margin, Indicates the phase voltage peak value, Represents the voltage vector.

[0074] In one embodiment, whether the permanent magnet synchronous motor enters a high voltage utilization area is determined based on the voltage residual margin and a preset threshold, including the steps of determining that the permanent magnet synchronous motor needs to enter a high voltage utilization area when the difference between the voltage residual margin and the preset threshold is greater than or equal to the hysteresis coefficient, and determining that the permanent magnet synchronous motor does not need to enter a high voltage utilization area when the difference between the voltage residual margin and the preset threshold is less than the hysteresis coefficient. The value of the hysteresis coefficient can be set to be less than 0.1.

[0075] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.

[0076] Based on the same inventive concept, the embodiment of the present application also provides a control device for a permanent magnet synchronous motor for implementing the control method for a permanent magnet synchronous motor 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 the embodiments of the control device for one or more permanent magnet synchronous motors provided below can refer to the limitations of the control method for a permanent magnet synchronous motor above, and will not be repeated here.

[0077] In an exemplary embodiment, Figure 3 As shown, a control device for a permanent magnet synchronous motor is provided, comprising: a voltage acquisition module 302, a residual margin acquisition module 304, a high voltage utilization area judgment module 306 and an adjustment module 308, wherein:

[0078] The voltage acquisition module is used to obtain the voltage vector and phase voltage peak value of the permanent magnet synchronous motor in real time when it is running;

[0079] A residual margin acquisition module is used to acquire the voltage residual margin according to the voltage vector and the phase voltage peak value;

[0080] A high voltage utilization area judgment module is used to determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold;

[0081] The regulation module is used to perform PI regulation on the voltage vector according to the difference between the voltage residual margin and a preset threshold value when the permanent magnet synchronous motor needs to enter a high voltage utilization area.

[0082] Each module in the control device of the permanent magnet synchronous motor can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of the processor in the motor controller in the form of hardware, or can be stored in the memory in the motor controller in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0083] In an exemplary embodiment, a motor controller is provided. The motor controller may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The motor controller includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the motor controller is used to provide computing and control capabilities. The memory of the motor controller 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 motor controller is used to store data such as direct-axis voltage, quadrature-axis voltage, voltage vector, preset threshold value, etc. The input / output interface of the motor controller is used to exchange information between the processor and an external device. The communication interface of the motor controller is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method for a permanent magnet synchronous motor is implemented.

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

[0085] In an exemplary embodiment, a motor controller is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0086] Real-time acquisition of voltage vector and phase voltage peak value of permanent magnet synchronous motor during operation;

[0087] Obtain voltage residual margin according to voltage vector and phase voltage peak value;

[0088] Determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold;

[0089] When the permanent magnet synchronous motor needs to enter a high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and a preset threshold.

[0090] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0091] Real-time acquisition of voltage vector and phase voltage peak value of permanent magnet synchronous motor during operation;

[0092] Obtain voltage residual margin according to voltage vector and phase voltage peak value;

[0093] Determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold;

[0094] When the permanent magnet synchronous motor needs to enter a high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and a preset threshold.

[0095] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0096] Real-time acquisition of voltage vector and phase voltage peak value of permanent magnet synchronous motor during operation;

[0097] Obtain voltage residual margin according to voltage vector and phase voltage peak value;

[0098] Determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold;

[0099] When the permanent magnet synchronous motor needs to enter a high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and a preset threshold.

[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments 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 memory 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), magnetic 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, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0101] 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 application.

[0102] 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 control method for a permanent magnet synchronous motor, characterized in that: The method comprises: Real-time acquisition of voltage vector and phase voltage peak value of permanent magnet synchronous motor during operation; Acquire a voltage residual margin according to the voltage vector and the phase voltage peak value; Determining whether the permanent magnet synchronous motor needs to enter a high voltage utilization rate region according to the voltage residual margin and a preset threshold; When the permanent magnet synchronous motor needs to enter the high voltage utilization area, the voltage vector is PI-regulated according to the difference between the voltage residual margin and the preset threshold.

2. The method according to claim 1, characterized in that The real-time acquisition of the phase voltage peak value when the permanent magnet synchronous motor is running includes: Acquiring in real time the bus voltage of a motor controller connected to the permanent magnet synchronous motor; Calibrate parameters according to functional requirements to obtain a phase voltage peak factor of the permanent magnet synchronous motor; The phase voltage peak value is obtained according to the bus voltage and the phase voltage peak coefficient.

3. The method according to claim 2, characterized in that The step of calibrating parameters according to functional requirements to obtain a phase voltage peak coefficient of the permanent magnet synchronous motor includes: When the function requirement calibration parameter is 1, determining the phase voltage peak coefficient to be a first preset value; When the function requirement calibration parameter is 0, the phase voltage peak coefficient is determined to be a second preset value; wherein the first preset value is smaller than the second preset value.

4. The method according to claim 3, characterized in that The first preset value is 1.5, and the second preset value is .

5. The method according to claim 1, characterized in that The real-time acquisition of the voltage vector of the permanent magnet synchronous motor when it is running includes: Acquiring the direct-axis voltage and quadrature-axis voltage of the permanent magnet synchronous motor in real time; The voltage vector is determined according to the direct-axis voltage and the quadrature-axis voltage.

6. The method according to claim 1, characterized in that The obtaining of the voltage residual margin according to the voltage vector and the phase voltage peak value comprises: The voltage residual margin is determined according to the following formula: in, Indicates the voltage remaining margin, represents the phase voltage peak value, represents the voltage vector.

7. The method according to claim 1, characterized in that The determining whether the permanent magnet synchronous motor enters a high voltage utilization rate region according to the voltage residual margin and a preset threshold value includes: When the difference between the voltage residual margin and the preset threshold is greater than or equal to the hysteresis coefficient, determining that the permanent magnet synchronous motor needs to enter a high voltage utilization area; When the difference between the voltage residual margin and the preset threshold value is smaller than the hysteresis coefficient, it is determined that the permanent magnet synchronous motor does not need to enter the high voltage utilization area.

8. A control device for a permanent magnet synchronous motor, characterized in that: The device comprises: The voltage acquisition module is used to obtain the voltage vector and phase voltage peak value of the permanent magnet synchronous motor in real time when it is running; A residual margin acquisition module, used for acquiring a voltage residual margin according to the voltage vector and the phase voltage peak value; A high voltage utilization area judgment module, used to determine whether the permanent magnet synchronous motor needs to enter a high voltage utilization area according to the voltage residual margin and a preset threshold; The regulating module is used to perform PI regulation on the voltage vector according to the difference between the voltage residual margin and the preset threshold value when the permanent magnet synchronous motor needs to enter the high voltage utilization area.

9. A motor controller, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: 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.

11. A computer program product, comprising a computer program, 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.