Control method and device of permanent magnet synchronous motor and permanent magnet synchronous motor control system

By using model predictive control algorithms and the concept of finite sets, the fifth and seventh harmonic currents in permanent magnet synchronous motors are extracted and eliminated, simplifying the control system structure, solving the torque pulsation problem, and improving the drive control efficiency and safety of permanent magnet synchronous motors.

CN116569475BActive Publication Date: 2026-11-20CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202180081664.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-26
Publication Date
2026-11-20
Estimated Expiration
2041-08-26

AI Technical Summary

Technical Problem

The permanent magnet synchronous motor has a torque pulsation problem during the control process, which is mainly caused by harmonic torque, affecting the drive control efficiency and safety. Existing harmonic current suppression methods are complex and rely on a large number of PI controllers.

Method used

A model predictive control algorithm is adopted to predict the current at the next moment for each switching state by extracting and eliminating the fifth and seventh harmonic components in the d-axis and q-axis currents. This simplifies the control system structure, eliminates the PI controller, and uses the concept of finite sets to determine the optimal switching state.

Benefits of technology

It effectively suppresses harmonic currents, simplifies the control system, improves dynamic response, avoids complex PI parameter adjustments, and reduces system complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116569475B_ABST
    Figure CN116569475B_ABST
Patent Text Reader

Abstract

This application provides a control method, apparatus, and control system for a permanent magnet synchronous motor. The method includes: acquiring the d-axis current i in the control loop of the permanent magnet synchronous motor at the current moment. d and q-axis current i q ; Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th The control strategy for the permanent magnet synchronous motor is determined by: determining the d-axis current at a given moment for each switching state based on a first current, a second current, and a second voltage for each switching state; and determining the q-axis current at a given moment for each switching state based on the d-axis current at a given moment for each switching state. This method eliminates the need for the original PI controller and avoids complex PI parameter adjustments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motor control technology, and more specifically, to a control method, device, and control system for a permanent magnet synchronous motor. Background Technology

[0002] Permanent magnet synchronous motors (PMSMs), as high-performance drive motors and generators, are currently widely used in new energy electric vehicles, wind power generation, and ship turbine propulsion. Built-in PMSMs, with their salient pole structure allowing for easier and more efficient utilization of reluctance torque, are particularly well-suited for current electric vehicle applications.

[0003] However, torque ripple always exists during the control process of permanent magnet synchronous motors (such as built-in permanent magnet synchronous motors), which seriously affects the use of the motor in applications requiring high-precision control. Torque ripple is partly caused by harmonic torque resulting from dead time and the nonlinear characteristics of the inverter. These harmonic components mix with the fundamental current component, not only causing greater iron and copper losses in the permanent magnet synchronous motor, severely affecting normal drive control efficiency, but also increasing the possibility of current overshoot and runaway, leading to safety hazards and thus limiting the application range of permanent magnet synchronous motors.

[0004] To eliminate harmonic torque, it is first necessary to extract the harmonic current components during motor operation. However, current harmonic current suppression methods require the participation of numerous PI (Proportional Integral) controllers, and the entire suppression process necessitates complex PI parameter adjustments. The integration of a large number of PI controllers also significantly increases the complexity of the entire control system. Summary of the Invention

[0005] The purpose of this application is to provide a control method, device, and control system for a permanent magnet synchronous motor, so as to simplify the complexity of the control system and avoid the complex parameter tuning process caused by a large number of PI controllers.

[0006] This invention is implemented as follows:

[0007] In a first aspect, embodiments of this application provide a control method for a permanent magnet synchronous motor, comprising: acquiring the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i q ; Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i inq5th and the seventh harmonic current i q7th Based on the fifth harmonic current i d5th The seventh harmonic current i d7th The fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages; wherein, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th ; the d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis Subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th The first voltage on the d-axis for each switching state is obtained; the fifth harmonic voltage u on the q-axis is subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th The second voltage on the q-axis for each of the said switching states is obtained; based on the first current... The second current The first voltage for each of the switching states determines the d-axis current at the next moment for each of the switching states. Based on the first current The second current The second voltage for each of the switching states determines the q-axis current at the next moment for each of the switching states. Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states Determine the control strategy for the permanent magnet synchronous motor.

[0008] The control method for permanent magnet synchronous motors provided in this embodiment is based on model predictive control (MMC). It predicts the d-axis and q-axis currents at the next moment for each switching state by using the d-axis and q-axis currents at the current moment after removing harmonic components. The control strategy for the permanent magnet synchronous motor is then determined based on the prediction results. Compared with existing harmonic current suppression methods, the MMC eliminates the original PI controller, avoids complex PI parameter adjustments, simplifies the system structure, and achieves better harmonic current suppression.

[0009] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the step of obtaining the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment... d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th The process includes: acquiring the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; converting the three-phase current into d-axis and q-axis currents in a fifth-order rotating coordinate system based on a coordinate transformation algorithm and the phase angle of the fifth harmonic; and filtering the d-axis and q-axis currents in the fifth-order rotating coordinate system to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis current and q-axis current in the seventh rotating coordinate system; the d-axis current and q-axis current in the seventh rotating coordinate system are filtered by a filter to obtain the seventh harmonic current and the seventh harmonic current.

[0010] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the d-axis fifth harmonic voltage u d5th The calculation formula is: u d5th =5w e L q i q5th +R s i d5th The q-axis fifth harmonic voltage u q5th The calculation formula is: u q5th =-5w e L d i d5th +R s i q5th The d-axis seventh harmonic voltage u d7th The calculation formula is: u d7th =-7we L q i q7th +R s i d7th The q-axis seventh harmonic voltage u q7th The calculation formula is: u q7th =7w e L d i d7th +R s i q7th Among them, w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter. q This represents the q-axis inductance parameter.

[0011] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the d-axis current based on each of the switching states at a given moment is... q-axis current at a given moment in each of the aforementioned switching states The control strategy for the permanent magnet synchronous motor is determined, including: a torque-current distribution strategy based on MTPA and field weakening control, and obtaining the d-axis reference current. and q-axis reference current Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states The d-axis reference current and the q-axis reference current Calculate the cost function corresponding to each of the switching states; wherein the switching state with the lowest cost function is the control strategy of the permanent magnet synchronous motor.

[0012] The control method for permanent magnet synchronous motors provided in this application adopts the concept of finite sets. It calculates the cost function corresponding to each switching state based on the voltage vector of the inverter's switching states, and determines the optimal switching state based on the cost function. This approach eliminates the modem in vector control, further simplifying the system's control structure, and improves the system's dynamic response by directly outputting the optimal switching vector.

[0013] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the inverter is a two-level inverter, which includes eight switching states.

[0014] Secondly, embodiments of this application provide a control device for a permanent magnet synchronous motor, comprising: a first acquisition module, configured to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i qThe second acquisition module is used to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th The first calculation module is used to calculate based on the fifth harmonic current i d5th The seventh harmonic current i d7th The fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages; wherein, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th The second calculation module is used to calculate the d-axis current i. d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis The third calculation module is used to subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th The first voltage on the d-axis for each switching state is obtained; the fifth harmonic voltage u on the q-axis is subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th The second voltage on the q-axis is obtained for each of the switching states; the fourth calculation module is used to calculate the voltage based on the first current. The second current The first voltage for each of the switching states determines the d-axis current at the next moment for each of the switching states. Based on the first current The second current The second voltage for each of the switching states determines the q-axis current at the next moment for each of the switching states. The determination module is used to determine the d-axis current at a given moment for each of the said switching states. q-axis current at a given moment in each of the aforementioned switching states Determine the control strategy for the permanent magnet synchronous motor.

[0015] In conjunction with the technical solution provided in the second aspect above, in some possible implementations, the second acquisition module is specifically used to acquire the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; based on the coordinate transformation algorithm and the phase angle of the fifth harmonic, the three-phase current is converted into d-axis current and q-axis current in the fifth rotating coordinate system; the d-axis current and q-axis current in the fifth rotating coordinate system are filtered by a filter to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis and q-axis currents in a seventh-order rotating coordinate system. The d-axis and q-axis currents in the seventh-order rotating coordinate system are then filtered to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th .

[0016] In conjunction with the technical solution provided in the second aspect above, in some possible implementations, the d-axis fifth harmonic voltage u d5th The calculation formula is: u d5th =5w e L q i q5th +R s i d5th The q-axis fifth harmonic voltage u q5th The calculation formula is: u q5th =-5w e L d i d5th +R s i q5th The d-axis seventh harmonic voltage u d7th The calculation formula is: u d7th =-7w e L q i q7th +R s i d7th The q-axis seventh harmonic voltage u q7th The calculation formula is: u q7th =7w e L d i d7th +R s i q7th Among them, w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter.q This represents the q-axis inductance parameter.

[0017] In conjunction with the technical solution provided in the second aspect above, in some possible implementations, the determining module is specifically used to obtain the d-axis reference current based on the torque current distribution strategy of MTPA and field weakening control. and q-axis reference current Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states The d-axis reference current and the q-axis reference current Calculate the cost function corresponding to each of the switching states; wherein the switching state with the lowest cost function is the control strategy for the permanent magnet synchronous motor.

[0018] Thirdly, embodiments of this application provide a permanent magnet synchronous motor control system, including: a motor controller, a permanent magnet synchronous motor, and an inverter; the motor controller is connected to the permanent magnet synchronous motor and the inverter respectively; the permanent magnet synchronous motor is also connected to the inverter; the motor controller is used to perform the method provided by the embodiments of the first aspect above and / or some possible implementations of the embodiments of the first aspect above.

[0019] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program executing, when run by a processor, the methods provided as described in the first aspect embodiments and / or some possible implementations of the first aspect embodiments. Attached Figure Description

[0020] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a block diagram of a permanent magnet synchronous motor control system provided in an embodiment of this application.

[0022] Figure 2 A flowchart illustrating the steps of a permanent magnet synchronous motor control method provided in this application embodiment.

[0023] Figure 3 This is a control block diagram of a permanent magnet synchronous motor control system provided in an embodiment of this application.

[0024] Figure 4This is a block diagram of a permanent magnet synchronous motor control device provided in an embodiment of this application.

[0025] Icons: 100-Permanent magnet synchronous motor control system; 10-Motor controller; 20-Permanent magnet synchronous motor; 30-Inverter; 200-Control device for permanent magnet synchronous motor; 201-First acquisition module; 202-Second acquisition module; 203-First calculation module; 204-Second calculation module; 205-Third calculation module; 206-Fourth calculation module; 207-Determination module. Detailed Implementation

[0026] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0027] Please see Figure 1 This application provides a permanent magnet synchronous motor control system 100, including: a motor controller 10, a permanent magnet synchronous motor 20, and an inverter 30.

[0028] The motor controller 10 is connected to the permanent magnet synchronous motor 20 and the inverter 30. The permanent magnet synchronous motor 20 is also connected to the inverter 30.

[0029] It should be noted that the inverter 30 is a converter that transforms DC power into AC power with fixed frequency and voltage or frequency and voltage regulation. The motor controller 10 can be an integrated circuit chip with signal processing capabilities. The motor controller 10 can also be a general-purpose processor, such as a digital signal processor (DSP), application-specific integrated circuit (ASIC), discrete gate or transistor logic device, or discrete hardware component, which can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. In addition, the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0030] In this embodiment of the application, the motor controller 10 controls the permanent magnet synchronous motor 20 by controlling the inverter 30.

[0031] Please see Figure 2 , Figure 2 This is a flowchart illustrating the steps of a permanent magnet synchronous motor control method provided in an embodiment of this application. This method is applied to, for example... Figure 1 The permanent magnet synchronous motor control system 100 shown is a motor controller 10. It should be noted that the permanent magnet synchronous motor control method provided in this application embodiment is not based on... Figure 2 The following order is a limitation, and the method includes: steps S101-S107.

[0032] Step S101: Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i q .

[0033] When the motor controller is directly connected to the permanent magnet synchronous motor, the motor controller obtains the three-phase current in the permanent magnet synchronous motor control loop at the current moment, and then performs current transformation based on a coordinate transformation algorithm to obtain the d-axis current i in the permanent magnet synchronous motor control loop at the current moment. d and q-axis current i q .

[0034] The coordinate transformation algorithm described above is used to convert three-phase current into dq current. Since such coordinate transformation algorithms are well known in the art, this application will not elaborate further.

[0035] Furthermore, the aforementioned conversion process can be performed by a separate control chip. For example, a control chip can be added to the permanent magnet synchronous motor control system, connected between the motor controller and the permanent magnet synchronous motor. This control chip acquires the three-phase current in the permanent magnet synchronous motor control loop at the current moment, and then performs current conversion based on a coordinate transformation algorithm to obtain the d-axis current i in the permanent magnet synchronous motor control loop at the current moment. d and q-axis current i q The control chip then inputs the d-axis current i from the permanent magnet synchronous motor control circuit at the current moment. d and q-axis current i q The data is transmitted to the motor controller so that the motor controller can obtain the d-axis current i in the permanent magnet synchronous motor control circuit at the current moment. d and q-axis current i q .

[0036] Step S102: Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th .

[0037] Since the harmonic currents in permanent magnet synchronous motors are mainly fifth and seventh order, it is necessary to extract the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i inq5th and the seventh harmonic current i q7th .

[0038] Specifically, this step includes: acquiring the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; converting the three-phase current into d-axis and q-axis currents in a fifth-order rotating coordinate system based on a coordinate transformation algorithm and the phase angle of the fifth harmonic; and then filtering the d-axis and q-axis currents in the fifth-order rotating coordinate system to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Then, based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis and q-axis currents in a seventh-order rotating coordinate system. The d-axis and q-axis currents in the seventh-order rotating coordinate system are then filtered to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th .

[0039] It should be noted that the harmonic currents extracted from the d-axis and q-axis are the currents in the fifth and seventh rotating coordinate systems, respectively. For example, the fifth harmonic current extracted from the d-axis and q-axis currents are both in the fifth rotating coordinate system, and the seventh harmonic current extracted from the d-axis and q-axis currents are both in the seventh rotating coordinate system. For ease of calculation, the currents in the fifth and seventh rotating coordinate systems are uniformly converted to the values ​​of the aforementioned d-axis current i. d and q-axis current i q In the same synchronous rotating coordinate system, the fifth harmonic current i is obtained by transforming it to the same synchronous rotating coordinate system. d5th Fifth harmonic current i q5th 7th harmonic current i d7th and the seventh harmonic current i q7th .

[0040] The coordinate transformation described above can be performed using Park transformation. Since this transformation method is well known in the field, it will not be described in detail here.

[0041] Step S103: Based on the fifth harmonic current i d5th 7th harmonic current i d7th Fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages.

[0042] Among them, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th .

[0043] d-axis fifth harmonic voltage u d5th The calculation formula is:

[0044] u d5th =5w e L q i q5th +R s i d5th (1)

[0045] q-axis fifth harmonic voltage u q5th The calculation formula is:

[0046] u q5th =-5w e L d i d5th +R s i q5th (2)

[0047] d-axis seventh harmonic voltage u d7th The calculation formula is:

[0048] u d7th =-7w e L q i q7th +R s i d7th (3)

[0049] q-axis seventh harmonic voltage u q7th The calculation formula is:

[0050] u q7th =7w e L d i d7th +R s i q7th (4)

[0051] In formula (1) to formula (4), w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter. q This represents the q-axis inductance parameter.

[0052] Step S104: Convert the d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis

[0053] Due to the d-axis current i d and q-axis current i q The current contains harmonic components (fifth harmonic current and seventh harmonic current). Therefore, the harmonic components are removed to obtain the current after harmonic removal.

[0054] Step S105: Subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th This yields the first voltage on the d-axis for each switching state; the fifth harmonic voltage u on the q-axis is then subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th Harmony axis seventh harmonic voltage u q7th This yields the second voltage on the q-axis for each switching state.

[0055] The expression for the first voltage is:

[0056]

[0057] In formula (5), The d-axis voltage represents any switching state; Representation and correspondence The first voltage. It should be noted that the first voltage on the d-axis for each switching state can be obtained by formula (5).

[0058] The expression for the second voltage is:

[0059]

[0060] In formula (6), Represents the q-axis voltage for any switching state; Indicates and The corresponding second voltage. It should be noted that the second voltage on the q-axis for each switching state can be obtained using formula (6).

[0061] Step S106: Based on the first current Second current The first voltage for each switching state determines the d-axis current at the next moment for each switching state. Based on the first current Second current The second voltage for each switching state determines the q-axis current at the next moment for each switching state.

[0062] In the embodiments of this application, the current at the previous moment of each switching state is predicted by the current of the harmonic component removed at the current moment and the voltage of the harmonic component removed in each switching state.

[0063] d-axis current at a given moment in each switching state The expression is:

[0064]

[0065] In formula (7), The first voltage represents any switching state. For ease of calculation, the first voltage has been pre-converted into the voltage in a synchronous rotating coordinate system. Indicates and The d-axis current at the next moment corresponding to the switching state. R s L represents the stator resistance. d T represents the d-axis inductance parameter; s Indicates sampling time; L q Indicates the axial inductance parameter; ψ f Indicates magnetic flux linkage; w e It represents electric angular velocity.

[0066] q-axis current at any given moment under each switching state The expression is:

[0067]

[0068] In formula (8), The second voltage represents any switching state. For ease of calculation, the second voltage has been pre-converted into the voltage in a synchronous rotating coordinate system. Indicates and The q-axis current at the next moment corresponding to the switching state. R s L represents the stator resistance. d T represents the d-axis inductance parameter; s Indicates sampling time; L q ψ represents the q-axis inductance parameter. f Indicates magnetic flux linkage; w e It represents electric angular velocity.

[0069] Step S107: Based on the d-axis current at a given moment in each switching state q-axis current at any given moment under each switching state Determine the control strategy for the permanent magnet synchronous motor.

[0070] Predicting the d-axis current at a given moment for each switching state. and q-axis current Then, the control strategy for the permanent magnet synchronous motor can be determined based on the prediction results.

[0071] The above steps may specifically include: obtaining the d-axis reference current based on a torque-current distribution strategy using MTPA (maximum torque-current ratio control) and field weakening control. and q-axis reference current Based on the d-axis current at a given moment in each switching state q-axis current at any given moment under each switching state d-axis reference current and q-axis reference current Calculate the cost function corresponding to each switching state; the switching state with the lowest cost function is the control strategy for the permanent magnet synchronous motor.

[0072] It should be noted that both MTPA and field weakening control torque current distribution strategies are well-known in the art, and therefore will not be described in detail in this application. In the embodiments of this application, the purpose of the MTPA and field weakening control torque current distribution strategy is to provide a reference current (including: d-axis reference current). and q-axis reference current This is to facilitate the calculation of the cost function.

[0073] As one implementation method, the expression for the above cost function is:

[0074]

[0075] In formula (9), g represents the calculated value of the cost function; This represents the d-axis current at a given moment in a switching state. This represents the q-axis current at a given moment in this switching state.

[0076] The cost function corresponding to each switching state can be obtained through formula (9). Then, the switching state with the lowest calculated cost function value is used as the control strategy for the permanent magnet synchronous motor. That is, the switch corresponding to the switching state with the lowest calculated cost function value is used to control the permanent magnet synchronous motor.

[0077] As can be seen, the control method for permanent magnet synchronous motors provided in this application adopts the concept of finite sets, calculates the cost function corresponding to each switching state based on the voltage vector of the inverter's switching states, and determines the optimal switching state based on the cost function. This approach eliminates the need for a modem in vector control, further simplifying the system's control structure, and improves the system's dynamic response by directly outputting the optimal switching vector.

[0078] In the embodiments of this application, the inverter described above is a two-level inverter, which includes eight switching states, and the eight switching states correspond to seven voltage vectors.

[0079] When the inverter is a two-level inverter, the optimal switching state can be determined from eight switching states to control the permanent magnet synchronous motor using the above method.

[0080] To facilitate understanding of this scheme, the following will be combined with... Figure 3 The control block diagram of the permanent magnet synchronous motor control system shown above illustrates the control method of the permanent magnet synchronous motor.

[0081] First, the motor controller is used to obtain the three-phase current (including i) in the control circuit of the permanent magnet synchronous motor at the current moment. a i b and i c Then, based on the coordinate transformation algorithm, current transformation is performed to obtain the d-axis current i in the control loop of the permanent magnet synchronous motor at the current moment. d and q-axis current i q .

[0082] Since the harmonic currents in permanent magnet synchronous motors are mainly fifth and seventh orders, therefore, through Figure 3 The harmonic current calculation module shown extracts the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th . Figure 3 The steps for extracting the middle harmonic current shown include: based on the coordinate transformation algorithm and the phase angle of the fifth harmonic, extracting the three-phase current (including i... a i b and i c The current is converted into d-axis and q-axis currents in a fifth-order rotating coordinate system; then, the d-axis and q-axis currents in the fifth-order rotating coordinate system are filtered to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Then, based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis and q-axis currents in a seventh-order rotating coordinate system. The d-axis and q-axis currents in the seventh-order rotating coordinate system are then filtered to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th In the diagram, θ r Represents the phase angle, fifth harmonic θ r The phase angle is -5θ, and the phase angle of the seventh harmonic is θ. r It is 7θ.

[0083] Then through Figure 3 The harmonic voltage calculation module shown calculates the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th .

[0084] Then, the d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis Then subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th This yields the first voltage on the d-axis for each switching state; the fifth harmonic voltage u on the q-axis is then subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th This yields the second voltage on the q-axis for each switching state. Then, based on the first current... The first voltage for each switching state determines the d-axis current at the next moment for each switching state. Based on the second current The second voltage for each switching state determines the q-axis current at the next moment for each switching state.

[0085] Finally, based on the torque current distribution strategy using MTPA and field weakening control, the d-axis reference current is obtained. and q-axis reference current Based on the d-axis current at a given moment in each switching state q-axis current at any given moment under each switching state d-axis reference current and q-axis reference current Calculate the cost function for each switch state. Finally, the control strategy for the permanent magnet synchronous motor is based on the switching state that minimizes the cost function. It should be noted that... Figure 3 The diagram shows a two-level inverter. It includes eight switching states, each corresponding to one of seven voltage vectors. Since two voltage vectors are identical, therefore... Figure 3 The vector diagram shown includes only six vectors. Since the relevant structures of the MTPA and field weakening control torque current distribution strategy are well-known in the art, they will not be described in detail here.

[0086] In summary, the control method for permanent magnet synchronous motors provided in this application is based on model predictive control algorithms. It predicts the d-axis and q-axis currents at the next moment for each switching state by using the d-axis and q-axis currents at the current moment after removing harmonic components, and then determines the control strategy for the permanent magnet synchronous motor based on the prediction results. Compared with existing harmonic current suppression methods, the model predictive control algorithm eliminates the original PI controller, avoids complex PI parameter adjustments, simplifies the system structure, and achieves better harmonic current suppression.

[0087] Please see Figure 4 Based on the same inventive concept, this application also provides a control device 200 for a permanent magnet synchronous motor, including: a first acquisition module 201, a second acquisition module 202, a first calculation module 203, a second calculation module 204, a third calculation module 205, a fourth calculation module 206, and a determination module 207.

[0088] The first acquisition module 201 is used to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i q .

[0089] The second acquisition module 202 is used to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th .

[0090] The first calculation module 203 is used to calculate based on the fifth harmonic current i d5th The seventh harmonic current i d7th The fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages; wherein, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th .

[0091] The second calculation module 204 is used to calculate the d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7thObtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis

[0092] The third calculation module 205 is used to subtract the fifth harmonic voltage u of the d-axis from the axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th The first voltage on the d-axis for each switching state is obtained; the fifth harmonic voltage u on the q-axis is subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th The second voltage on the q-axis is obtained for each of the said switching states.

[0093] The fourth calculation module 206 is used to calculate based on the first current. The second current The first voltage for each of the switching states determines the d-axis current at the next moment for each of the switching states. Based on the first current The second current The second voltage for each of the switching states determines the q-axis current at the next moment for each of the switching states.

[0094] Determining module 207, used to determine the d-axis current at a given moment for each of the switching states. q-axis current at a given moment in each of the aforementioned switching states Determine the control strategy for the permanent magnet synchronous motor.

[0095] Optionally, the second acquisition module is specifically used to acquire the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; based on the coordinate transformation algorithm and the phase angle of the fifth harmonic, the three-phase current is converted into d-axis current and q-axis current in the fifth rotating coordinate system; the d-axis current and q-axis current in the fifth rotating coordinate system are filtered by a filter to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis and q-axis currents in a seventh-order rotating coordinate system. The d-axis and q-axis currents in the seventh-order rotating coordinate system are then filtered to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th .

[0096] Optionally, the d-axis fifth harmonic voltage u d5th The calculation formula is: u d5th =5w e L q i q5th +R s i d5th The q-axis fifth harmonic voltage u q5th The calculation formula is: u q5th =-5w e L d i d5th +R s i q5th The d-axis seventh harmonic voltage u d7th The calculation formula is: u d7th =-7w e L q i q7th +R s i d7th The q-axis seventh harmonic voltage u q7th The calculation formula is: u q7th =7w e L d i d7th +R s i q7th Among them, w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter. q This represents the q-axis inductance parameter.

[0097] Optionally, the determining module is specifically used to obtain the d-axis reference current based on the torque current distribution strategy of MTPA and field weakening control. and q-axis reference current Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states The d-axis reference current and the q-axis reference current Calculate the cost function corresponding to each of the switching states; wherein the switching state with the lowest cost function is the control strategy for the permanent magnet synchronous motor.

[0098] It should be noted that, as those skilled in the art will clearly understand, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0099] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which executes the methods provided in the above embodiments when the computer program is run.

[0100] The storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

[0101] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0102] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0103] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0104] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.

[0105] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A control method for a permanent magnet synchronous motor, characterized in that, include: Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i q ; Obtain the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th ; Based on the fifth harmonic current i d5th The seventh harmonic current i d7th The fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages; wherein, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th ; The d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis Subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th The first voltage on the d-axis for each switching state is obtained; the fifth harmonic voltage u on the q-axis is subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th The second voltage on the q-axis is obtained for each of the said switch states; Based on the first current The second current The first voltage for each of the switching states determines the d-axis current at the next moment for each of the switching states. Based on the first current The second current The second voltage for each of the switching states determines the q-axis current at the next moment for each of the switching states. Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states Determine the control strategy for the permanent magnet synchronous motor.

2. The method according to claim 1, characterized in that, The d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment is obtained. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the q-axis current i in the permanent magnet synchronous motor circuit at the current moment. q The fifth harmonic current i in q5th and the seventh harmonic current i q7th ,include: Obtain the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; Based on the coordinate transformation algorithm and the phase angle of the fifth harmonic, the three-phase current is converted into the d-axis current and q-axis current in the fifth rotating coordinate system. The d-axis current and q-axis current in the fifth rotating coordinate system are filtered by a filter to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th ; Based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into the d-axis current and q-axis current in the seventh rotating coordinate system. The d-axis current and q-axis current in the seventh rotating coordinate system are filtered by a filter to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th .

3. The method according to claim 1, characterized in that, The d-axis fifth harmonic voltage u d5th The calculation formula is: u d5th =5w e L q i q5th +R s i d5th ; The formula for calculating the q-axis fifth harmonic voltage is: u q5th =-5w e L d i d5th +R s i q5th ; The formula for calculating the d-axis seventh harmonic voltage is: u d7th =-7w e L q i q7th +R s i d7th ; The formula for calculating the q-axis seventh harmonic voltage is: u q7th =7w e L d i d7th +R s i q7th ; Among them, w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter. q This represents the q-axis inductance parameter.

4. The method according to claim 1, characterized in that, The d-axis current at a given moment in each of the switching states q-axis current at a given moment in each of the aforementioned switching states Determining the control strategy for the permanent magnet synchronous motor includes: A torque-current distribution strategy based on MTPA and field weakening control is used to obtain the d-axis reference current. and q-axis reference current Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states The d-axis reference current and the q-axis reference current Calculate the cost function corresponding to each of the switch states; Among them, the switching state with the lowest cost function is the control strategy of the permanent magnet synchronous motor.

5. The method according to claim 1, characterized in that, The inverter is a two-level inverter, which includes eight switching states.

6. A control device for a permanent magnet synchronous motor, characterized in that, include: The first acquisition module is used to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d and q-axis current i q ; The second acquisition module is used to acquire the d-axis current i in the control circuit of the permanent magnet synchronous motor at the current moment. d The fifth harmonic current i in d5th and the seventh harmonic current i d7th And the fifth harmonic current and i in the q-axis current of the permanent magnet synchronous motor circuit at the current moment. q5th Seventh harmonic current i q7th ; The first calculation module is used to calculate based on the fifth harmonic current i d5th The seventh harmonic current i d7th The fifth harmonic current i q5th and the seventh harmonic current i q7th Calculate the four harmonic voltages; wherein, the four harmonic voltages include the d-axis fifth harmonic voltage u. d5th q-axis fifth harmonic voltage u q5th d-axis seventh harmonic voltage u d7th and the q-axis seventh harmonic voltage u q7th ; The second calculation module is used to calculate the d-axis current i d Subtract the fifth harmonic current i d5th and the seventh harmonic current i d7th Obtain the first current on the d-axis The q-axis current i q Subtract the fifth harmonic current i q5th and the seventh harmonic current i q7th Obtain the second current on the q-axis The third calculation module is used to subtract the fifth harmonic voltage u of the d-axis from the d-axis voltage corresponding to each switching state of the inverter. d5th and the d-axis seventh harmonic voltage u d7th The first voltage on the d-axis for each switching state is obtained; the fifth harmonic voltage u on the q-axis is subtracted from the voltage on the q-axis corresponding to each switching state of the inverter. q5th and the q-axis seventh harmonic voltage u q7th The second voltage on the q-axis is obtained for each of the said switch states; The fourth calculation module is used to calculate based on the first current. The second current The first voltage for each of the switching states determines the d-axis current at the next moment for each of the switching states. Based on the first current The second current The second voltage for each of the switching states determines the q-axis current at the next moment for each of the switching states. The determination module is used to determine the d-axis current at a given moment for each of the said switching states. q-axis current at a given moment in each of the aforementioned switching states Determine the control strategy for the permanent magnet synchronous motor.

7. The apparatus according to claim 6, characterized in that, The second acquisition module is specifically used to acquire the three-phase current in the control circuit of the permanent magnet synchronous motor at the current moment; based on the coordinate transformation algorithm and the phase angle of the fifth harmonic, the three-phase current is converted into d-axis current and q-axis current in the fifth rotating coordinate system; the d-axis current and q-axis current in the fifth rotating coordinate system are filtered by a filter to obtain the fifth harmonic current i. d5th and the fifth harmonic current i q5th Based on the coordinate transformation algorithm and the phase angle of the seventh harmonic, the three-phase current is converted into d-axis current and q-axis current in a seventh rotating coordinate system; the d-axis current and q-axis current in the seventh rotating coordinate system are then filtered to obtain the seventh harmonic current i. d7th and the seventh harmonic current i q7th .

8. The apparatus according to claim 6, characterized in that, The d-axis fifth harmonic voltage u d5th The calculation formula is: u d5th =5w e L q i q5th +R s i d5th ; The q-axis fifth harmonic voltage u q5th The calculation formula is: u q5th =-5w e L d i d5th +R s i q5th ; The d-axis seventh harmonic voltage u d7th The calculation formula is: u d7th =-7w e L q i q7th +R s i d7th ; The q-axis seventh harmonic voltage u q7th The calculation formula is: u q7th =7w e L d i d7th +R s i q7th ; Among them, w e Represents electric angular velocity; R s L represents the stator resistance. d L represents the d-axis inductance parameter. q This represents the q-axis inductance parameter.

9. The apparatus according to claim 6, characterized in that, The determining module is specifically used to obtain the d-axis reference current based on the torque current distribution strategy of MTPA and field weakening control. and q-axis reference current Based on the d-axis current at a given moment in each of the aforementioned switching states. q-axis current at a given moment in each of the aforementioned switching states The d-axis reference current and the q-axis reference current Calculate the cost function corresponding to each of the switching states; wherein the switching state with the lowest cost function is the control strategy for the permanent magnet synchronous motor.

10. A permanent magnet synchronous motor control system, characterized in that, include: Motor controllers, permanent magnet synchronous motors, and inverters; The motor controller is connected to both the permanent magnet synchronous motor and the inverter; the permanent magnet synchronous motor is also connected to the inverter. The motor controller is used to perform the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method for injecting harmonic voltage to restrain harmonic current of PMSM (permanent magnet synchronous motor)

    CN102201770A

  • Permanent magnet synchronous motor direct torque control method with current error correction function

    CN112271972A