Permanent magnet synchronous motor, control method and device thereof, storage medium and program product
By dividing the over-modulation area in the permanent magnet synchronous motor and calculating the switching point of the three-phase voltage switching time, the problem that the fundamental voltage amplitude of the three-phase voltage inverter cannot be adjusted in the square wave mode is solved, and the motor's performance is improved. drive performance and voltage utilization.
Patent Information
- Application Number
- CN202410696894.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-06
AI Technical Summary
In the permanent magnet synchronous motor frequency conversion speed regulation system, when the three-phase voltage inverter works in the square wave mode, the fundamental wave voltage amplitude cannot be adjusted, which affects the driving performance of the motor.
By dividing the over-modulation area in the voltage vector modulation area based on the regular hexagonal flux linkage trajectory, the relationship between the voltage signal and the DC bus voltage under the dq rotating coordinate system is used to determine whether it has entered the over-modulation area, and different strategies are used in different areas to calculate the three The switching point of the phase voltage switching time realizes the adjustment of the output voltage of the three-phase inverter.
The accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor are improved, the maximum output torque of the motor is increased, and the voltage utilization rate is improved.
Smart Images

Figure CN118611529A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of motor technology, and specifically relates to a control method, device, permanent magnet synchronous motor, storage medium and computer program product for a permanent magnet synchronous motor, and in particular to a control method, device, permanent magnet synchronous motor, storage medium and computer program product for SVPWM overmodulation of a permanent magnet synchronous motor. Background Art
[0002] In the drive system of new energy vehicles, the permanent magnet synchronous motor is the source of its core power, and its performance is directly related to the driving performance of the entire vehicle. In the variable frequency speed regulation system of the permanent magnet synchronous motor, when the motor works at different speeds and loads, the requirements for the motor stator terminal voltage are different, which requires the voltage inverter that supplies power to the motor to have the function of adjusting the output voltage. When the three-phase voltage inverter works in square wave mode, the amplitude of its output fundamental voltage cannot be adjusted.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The purpose of the present invention is to provide a control method and device for a permanent magnet synchronous motor, a permanent magnet synchronous motor, a storage medium and a computer program product to solve the problem that in a variable frequency speed regulation system of a permanent magnet synchronous motor, when the three-phase voltage type inverter operates in a square wave mode, the fundamental voltage amplitude output by the three-phase voltage type inverter cannot be adjusted, so as to achieve the effect of improving the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor by adopting different strategies in different overmodulation regions to calculate the switching point of the three-phase voltage switching time in the overmodulation control scheme of the space voltage vector PWM, so that the fundamental voltage amplitude output by the three-phase voltage type inverter when the three-phase voltage type inverter operates in the square wave mode can be adjusted.
[0005] The present invention provides a control method for a permanent magnet synchronous motor, comprising: dividing an overmodulation area in a voltage vector modulation area of the permanent magnet synchronous motor based on a preset regular hexagonal flux linkage trajectory; obtaining a component U of a reference voltage vector of the permanent magnet synchronous motor in a two-phase stationary coordinate system; α , U β ; The component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a 、V b 、Vc The maximum value U in max , minimum value U min According to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc to determine whether it has entered the overmodulation area, and if it has entered the overmodulation area, calculate the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the permanent magnet synchronous motor drive system according to the calculated switching point of the three-phase voltage switching time, so as to realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor.
[0006] In some embodiments, according to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determining whether to enter the overmodulation region, and in the case of entering the overmodulation region, calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: presetting an overmodulation flag, a first calculation amount, and a second calculation amount; wherein the value of the second calculation amount = the value of the PWM cycle counter * the value of the first calculation amount; determining the maximum value U max With the minimum value U min Is the difference greater than the DC bus voltage U dc If yes, then set the value of the overmodulation flag bit = 1, and set the value of the first calculation amount = (2*U max +U min ) / (U max -U min ); otherwise, set the value of the overmodulation flag bit = 0, set the value of the first calculation amount = 0; according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm; wherein the variable V x For the three variables V a 、V b 、V c Any variable in .
[0007] In some embodiments, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: determining the maximum value U max With the minimum value U min Is the sum of greater than or equal to 0? If the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, then the first calculation coefficient and the maximum value U are determined. max Is the product value greater than the DC bus voltage U dc If the first calculation coefficient and the maximum value U are determined max The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; where T x is the switching point T of the three-phase voltage switching time a , T b , T c Assignment of the switching time switching point of any phase voltage in; if V x Not equal to or greater than the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
[0008] In some embodiments, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x, the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: determining the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; if it is determined that the value of the overmodulation flag is equal to 0, determine not to enter the overmodulation area, and calculate the assignment T of the switching point of the three-phase voltage switching time in the linear modulation area x If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; if V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0009] In some embodiments, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x, the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: if the maximum value U is determined max With the minimum value U min If the sum of the two values is less than 0, the second calculation coefficient and the minimum value U are determined. min Is the product value greater than the DC bus voltage U dc ; Wherein, the second calculation coefficient is the negative value of the first calculation coefficient; if it is determined that the second calculation coefficient is equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
[0010] In some embodiments, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: determining the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; if it is determined that the value of the overmodulation flag is equal to 0, determine not to enter the overmodulation area, and calculate the assignment T of the switching point of the three-phase voltage switching time in the linear modulation areax If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; if V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0011] Matching the above method, the present invention provides a control device for a permanent magnet synchronous motor on the other hand, comprising: a control unit configured to divide an overmodulation area in a voltage vector modulation area of the permanent magnet synchronous motor based on a preset regular hexagonal flux linkage trajectory; an acquisition unit configured to acquire a component U of a reference voltage vector of the permanent magnet synchronous motor in a two-phase stationary coordinate system. α , U β The control unit is further configured to convert the reference voltage vector of the permanent magnet synchronous motor into a component U in a two-phase stationary coordinate system α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a 、V b 、V c The maximum value U in max , minimum value U min The control unit is further configured to max , the minimum value U min, and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc to determine whether it has entered the overmodulation area, and if it has entered the overmodulation area, calculate the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the permanent magnet synchronous motor drive system according to the calculated switching point of the three-phase voltage switching time, so as to realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor.
[0012] In some embodiments, the control unit, according to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determining whether to enter the overmodulation region, and in the case of entering the overmodulation region, calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: presetting an overmodulation flag, a first calculation amount, and a second calculation amount; wherein the value of the second calculation amount = the value of the PWM cycle counter * the value of the first calculation amount; determining the maximum value U max With the minimum value U min Is the difference greater than the DC bus voltage U dc If yes, then set the value of the overmodulation flag bit = 1, and set the value of the first calculation amount = (2*U max +U min ) / (U max -U min ); otherwise, set the value of the overmodulation flag bit = 0, set the value of the first calculation amount = 0; according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm; wherein the variable V x For the three variables V a 、V b 、V c Any variable in .
[0013] In some embodiments, the control unit, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc, and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: determining the maximum value U max With the minimum value U min Is the sum of the values greater than or equal to 0? If the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, then the first calculation coefficient and the maximum value U are determined. max Is the product value greater than the DC bus voltage U dc If the first calculation coefficient and the maximum value U are determined max The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; where T x is the switching point T of the three-phase voltage switching time a , T b , T c Assignment of the switching time switching point of any phase voltage in; if V x Not equal to or the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
[0014] In some embodiments, the control unit, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: determining the maximum value U max With the minimum value Umin When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; if it is determined that the value of the overmodulation flag is equal to 0, determine not to enter the overmodulation area, and calculate the assignment T of the switching point of the three-phase voltage switching time in the linear modulation area x If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; if V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0015] In some embodiments, the control unit, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: if the maximum value U is determined max With the minimum value U min If the sum of the two values is less than 0, the second calculation coefficient and the minimum value U are determined. minIs the product value greater than the DC bus voltage U dc ; Wherein, the second calculation coefficient is the negative value of the first calculation coefficient; if it is determined that the second calculation coefficient is equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
[0016] In some embodiments, the control unit, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and further include: determining the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; if it is determined that the value of the overmodulation flag is equal to 0, determine not to enter the overmodulation area, and calculate the assignment T of the switching point of the three-phase voltage switching time in the linear modulation area x If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max If V is determined x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm.x =0; if V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min If V is determined x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter; if V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0017] Matching the above device, the present invention provides a permanent magnet synchronous motor on another aspect, including: the control device of the permanent magnet synchronous motor mentioned above.
[0018] In order to match the above-mentioned permanent magnet synchronous motor, the present invention further provides a computer program product, including a computer program, which implements the steps of the above-mentioned permanent magnet synchronous motor control method when executed by a processor.
[0019] In order to match the above method, the present invention provides a storage medium on the other hand, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the permanent magnet synchronous motor control method described above.
[0020] Therefore, the solution of the present invention divides the overmodulation area in the voltage vector modulation area of the permanent magnet synchronous motor based on the regular hexagonal flux trajectory; according to the voltage signal U in the dq rotating coordinate system d , U q With DC bus voltage U dc As the criterion for whether to enter the overmodulation area, when the reference voltage vector exceeds the hexagonal boundary and cannot be modulated normally, the components of the reference voltage vector in the two-phase stationary coordinate system are subjected to Clarke inverse transformation to obtain three variables V a 、V b 、V c , find V a 、V b 、V c The maximum value u among the three variables max , minimum value u min , the maximum value U max, minimum value U min And the DC bus voltage U dc , the switching point of the three-phase voltage switching time is calculated through the SVPWM overmodulation algorithm; a triangular carrier signal of a certain frequency is used to compare with the switching point of the three-phase voltage switching time to generate the PWM pulse signal required by the converter, and the SVPWM overmodulation control of the permanent magnet synchronous motor is realized. Thus, in the overmodulation control scheme of the space voltage vector PWM, the voltage signal U in the dq rotating coordinate system is used d , U q The relationship between the maximum difference of the three-phase voltage after the coordinate transformation from two phases to three phases and the bus voltage is used as the judgment condition for entering the overmodulation area. Different strategies are used in different overmodulation areas to calculate the switching points of the three-phase voltage switching time, so that the fundamental voltage amplitude output by the three-phase voltage inverter can be adjusted when the three-phase voltage inverter works in the square wave mode, thereby improving the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, and at the same time effectively improving the voltage utilization rate and increasing the maximum output torque of the motor.
[0021] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.
[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic flow chart of an embodiment of a method for controlling a permanent magnet synchronous motor of the present invention;
[0024] Figure 2 A schematic diagram of a flow chart of an embodiment of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm in the method of the present invention;
[0025] Figure 3 A flow chart of an embodiment of a first process of calculating a switching point of a three-phase voltage switching time by a preset SVPWM overmodulation algorithm in the method of the present invention;
[0026] Figure 4 A flow chart of an embodiment of a second process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm in the method of the present invention;
[0027] Figure 5 A schematic flow chart of an embodiment of a third process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm in the method of the present invention;
[0028] Figure 6 A schematic flow chart of an embodiment of a fourth process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm in the method of the present invention;
[0029] Figure 7 It is a structural schematic diagram of an embodiment of a control device for a permanent magnet synchronous motor of the present invention;
[0030] Figure 8 This is the vector control block diagram of the permanent magnet synchronous motor;
[0031] Fig. 9 This is the control structure block diagram of the SVPWM overmodulation of the permanent magnet synchronous motor;
[0032] Fig.10 This is the logic block diagram of the SVPWM overmodulation control algorithm for a permanent magnet synchronous motor.
[0033] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:
[0034] 102 - acquisition unit; 104 - control unit. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0036] Considering that in the variable frequency speed regulation system of permanent magnet synchronous motor, when the three-phase voltage inverter works in square wave mode, the fundamental voltage amplitude output by the three-phase voltage inverter cannot be adjusted. In order to solve the problem that in the variable frequency speed regulation system of permanent magnet synchronous motor, when the three-phase voltage inverter works in square wave mode, the fundamental voltage amplitude output by the three-phase voltage inverter cannot be adjusted, various pulse width modulation (PWM, Pulse Width Modulation) technologies are proposed. In the process of the development of pulse width modulation technology, space voltage vector modulation technology (SVPWM, Space-Vector Pluse Width Modulation) is increasingly used in various electrical control occasions due to its high DC bus voltage utilization, small harmonic content and the characteristics of being conducive to digital realization.
[0037] In a voltage source inverter controlled by SVPWM, the DC bus voltage is V dc , the maximum fundamental amplitude of the inverter output phase voltage in the linear modulation area is Compared with the inverter controlled by sine wave pulse width modulation technology (SPWM, Sinual Pulse WidthModulation), the maximum output phase voltage fundamental amplitude is V dc / 2, the output voltage is increased by 15%, but if the inverter is put into six-step wave working state, the output phase voltage fundamental amplitude can reach 2V dc / π, it can be seen that the output voltage of the voltage-type inverter controlled by SVPWM still has 10% room for improvement. If the reference voltage vector exceeds the range of the linear modulation area in SVPWM modulation, the normal SVPWM modulation method will no longer be used. This area is called the overmodulation area. In the overmodulation area, a new control method is required to realize the modulation of the inverter, that is, the overmodulation algorithm. In engineering applications, in order to improve the inverter's utilization of the DC bus and increase the inverter's output voltage amplitude, an overmodulation algorithm can be used to make the inverter transition from the linear modulation area to the six-beat step wave working state, and control the inverter's voltage output in the overmodulation area.
[0038] In motor control, the introduction of SVPWM overmodulation technology improves the motor's utilization of the DC bus voltage, allowing the customized output voltage to be improved to a certain extent. This is of great significance for improving the motor's instantaneous overload capacity, accelerating the motor's starting process, and realizing the motor's weak magnetic control.
[0039] The different applications and requirements of permanent magnet synchronous motors have different requirements for modulation algorithm technology. For example, although the voltage utilization rate of SVPWM technology is not as high as that of its overmodulation algorithm, its harmonic content is small. Different modulation technologies have their own advantages and disadvantages, and they also need to be combined with other control algorithms when necessary.
[0040] The solution of the present invention proposes a control method for a permanent magnet synchronous motor, specifically a SVPWM overmodulation control method for a permanent magnet synchronous motor, and mainly proposes an overmodulation control scheme of a space voltage vector PWM for overmodulation control of a permanent magnet synchronous motor. In the overmodulation control scheme of the space voltage vector PWM, a voltage signal U in a dq rotating coordinate system is mainly used. d , U q The relationship between the maximum difference of the three-phase voltage after the coordinate transformation from two-phase to three-phase and the bus voltage is used as the judgment condition for entering the overmodulation area. Different strategies are used in different overmodulation areas to calculate the switching point of the three-phase voltage switching time, which can effectively improve the voltage utilization rate, increase the maximum output torque of the motor, and improve the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor.
[0041] According to an embodiment of the present invention, a control method for a permanent magnet synchronous motor is provided. Figure 1The flowchart of an embodiment of the method of the present invention is shown in FIG. The control method of the permanent magnet synchronous motor may include: steps S110 to S140.
[0042] In step S110, based on a preset regular hexagonal flux linkage trajectory, an overmodulation region in the voltage vector modulation region of the permanent magnet synchronous motor is divided.
[0043] In step S120, the component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system is obtained. α , U β ;
[0044] In step S130, the component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system is α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a 、V b 、V c The maximum value U in max , minimum value U min , as the maximum value U of the three-phase voltage of the permanent magnet synchronous motor max , minimum value U min .
[0045] At step S140, according to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the drive system of the permanent magnet synchronous motor according to the calculated switching point of the three-phase voltage switching time, specifically, use a triangular carrier signal of a certain frequency to compare with the calculated switching point of the three-phase voltage switching time, generate the PWM pulse signal required by the converter, and realize the SVPWM overmodulation control of the permanent magnet synchronous motor; of course, if it does not enter the overmodulation area, maintain the current PWM duty cycle of the switch tube in the three-phase inverter of the drive system of the permanent magnet synchronous motor, that is, maintain the current control of the permanent magnet synchronous motor.
[0046] Figure 8 This is the vector control block diagram of the permanent magnet synchronous motor. Figure 8 As shown in the figure, the vector control process of the permanent magnet synchronous motor includes:
[0047] Step 11: After the position sensor detects the mechanical angle of the motor and calculates the electrical angle θ of the motor, the calculated electrical angle θ of the motor is transmitted to the speed calculation module, the Park inverse transformation module and the Park transformation module respectively; the speed calculation module calculates the actual speed n of the motor according to the electrical angle θ of the motor. The first comparator calculates the actual speed n of the motor according to the detected actual speed n of the motor and the input reference speed n. ref By comparison, the reference speed n is obtained ref The difference n from the actual motor speed n ref -n. Among them, the position sensor detects the mechanical angle, and the electrical angle θ = mechanical angle * number of pole pairs.
[0048] Step 12: Using the relationship between torque and speed, convert the reference speed n ref The difference n from the actual motor speed n ref -n, through the speed PI controller calculation, obtain the stator current torque component i of the motor q The reference quantity i qref , and the stator current excitation component i of the given motor dref .
[0049] Furthermore, the current signal i of the motor is extracted from the connection line between the three-phase inverter and the motor (i.e., the permanent magnet synchronous motor PMSM) through the phase current detection circuit. A 、i B , transform them into a two-phase stationary coordinate system through Clarke transformation, and then transform them into a dq rotating coordinate system through Park transformation, and then compare the current signals in the dq coordinate system with their reference current i dref 、i qref Compare them respectively, and then obtain the voltage signal U in the dq rotating coordinate system through the PI controller d , U q Specifically, the second comparator is used to compare the q-axis current in the dq coordinate system with the reference current i qref Compare and get the reference current i qref The difference between the motor's q-axis current and the reference current i qref The difference between the motor's q-axis current and the motor's q-axis current is used to obtain the d-axis voltage U in the dq rotating coordinate system through the PI controller. d ; Through the third comparator according to the d-axis current in the dq coordinate system and the reference current i dref Compare and get the reference current i dref The difference between the motor's d-axis current and the reference current i dref The difference between the motor's d-axis current and the motor's d-axis current is used to obtain the q-axis voltage U in the dq rotating coordinate system through the PI controller. q .
[0050] Step 13: Voltage signal U in dq rotating coordinate system d , U q , the voltage signal U in the two-phase stationary coordinate system is obtained through Park inverse transformation α , U β , and send it to SVPWM to generate control pulses, which control the various switch states of the switch tubes in the three-phase inverter through the control pulses, and then obtain the actual current of the three-phase symmetrical stator winding of the control motor. Among them, the three-phase inverter provides a three-phase voltage u to the three-phase symmetrical stator winding of the motor A 、u B 、u C .
[0051] Fig. 9 The control structure block diagram of SVPWM overmodulation of permanent magnet synchronous motor. The basic idea of SVPWM overmodulation is that when the reference voltage vector exceeds the hexagonal boundary and cannot be modulated normally, this part of the vector is appropriately adjusted through the overmodulation method to re-plan the voltage vector trajectory. In the solution of the present invention, Fig. 9 As shown in FIG. 1 , the SVPWM overmodulation control process of the permanent magnet synchronous motor includes:
[0052] Step 21: Reference voltage vector The component in the two-phase stationary coordinate system is the voltage signal U α , U β , the voltage signal U α , U β Perform Clarke inverse transformation to obtain three variables V a 、V b 、V c , as follows:
[0053]
[0054] Step 22: Calculate V a 、V b 、V c The maximum value U among the three variables max , minimum value U min .
[0055] Step 23: Set the maximum value U max , minimum value U min And the DC bus voltage U dc , the switching point of the three-phase voltage switching time is calculated through the SVPWM overmodulation algorithm, and finally a triangular carrier signal with a certain frequency is used to compare with the switching point of the three-phase voltage switching time to generate the PWM pulse signal required by the converter.
[0056] The scheme of the present invention proposes a SVPWM overmodulation control scheme for a permanent magnet synchronous motor, which divides the overmodulation area in the voltage vector modulation area of the permanent magnet synchronous motor based on the regular hexagonal flux trajectory, which is different from the division of the overmodulation area by using the relationship between the phase or reference voltage vector amplitude and the bus voltage in the related scheme; the scheme of the present invention is based on the voltage signal U in the dq rotating coordinate system d , U q With DC bus voltage U dc as the judgment criterion of whether to enter the overmodulation area, different strategies are adopted in different areas to calculate the switching point of the three-phase voltage switching time, and finally a triangular carrier signal of a certain frequency is used to compare with the switching point of the three-phase voltage switching time, so as to generate the PWM pulse signal required by the converter, and realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor. The control scheme of the SVPWM overmodulation of the permanent magnet synchronous motor proposed by the scheme of the present invention can improve the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, effectively improve the voltage utilization rate, increase the maximum output torque of the motor, simplify the calculation process, and be easy to implement, reliable in control, easy to implement, and convenient for promotion and use. Thus, the problem that the fundamental voltage amplitude output by the three-phase voltage type inverter cannot be adjusted when the three-phase voltage type inverter works in the square wave mode is solved, the utilization rate of the inverter to the DC bus is improved, and the output voltage amplitude of the inverter and the maximum output torque of the motor are increased.
[0057] In some embodiments, in step S140, according to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc The relationship between, judging whether to enter the overmodulation area, and when entering the overmodulation area, calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, is described in the following exemplary embodiment.
[0058] Combine the following Figure 2 The flowchart of an embodiment of the method of the present invention for calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm is shown, which further illustrates the specific process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm in step S140, including: steps S210 to S230.
[0059] Step S210, pre-setting an overmodulation flag, a first calculation amount, a second calculation amount, a third calculation amount, and a fourth calculation amount, wherein the overmodulation flag is Flagovermodule, the first calculation amount is TempData, the second calculation amount is Tox, the third calculation amount is V s And the fourth calculation quantity is Vxn ; Wherein, the value of the second calculated amount = the value of the PWM cycle counter * the value of the first calculated amount; the value of the third calculated amount = -k*(U max +U min ), k is a preset coefficient such as k is 0.5; the value of the fourth calculation amount = V x + the value of the third calculated quantity, V x For the three variables V a 、V b 、V c Any variable in .
[0060] Step S220, determining the maximum value U max With the minimum value U min Is the difference greater than the DC bus voltage U dc If yes, then set the value of the overmodulation flag bit = 1, and set the value of the first calculation amount = (2*U max +U min ) / (U max -U min ); otherwise, set the value of the overmodulation flag bit = 0, and set the value of the first calculation amount = 0.
[0061] Step S230, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm; wherein the variable V x For the three variables V a 、V b 、V c Any variable in .
[0062] Specifically, Fig.10 The figure is the logic block diagram of the SVPWM overmodulation control algorithm of the permanent magnet synchronous motor. Fig.10 As shown in FIG. 1 , the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor includes:
[0063] Step 31: First determine the maximum value U max , minimum value U min With bus voltage U dc The relationship between max -U min >U dc: If yes, go to step 32; otherwise, go to step 33.
[0064] Among them, U max , U min is the AC and DC axis voltage U d , U q The U in the two-phase stationary coordinate system obtained after Park inverse transformation a , U β After the Clarke inverse transformation, V in the three-phase stationary coordinate system a 、V b 、V c The maximum and minimum values in .
[0065] Step 32: If U is satisfied max -U min >U dc , then let:
[0066] Overmodulation flag Flagovermodule = 1;
[0067] TempData=(2*U max +U min ) / (U max -U min );
[0068] Tox=value of PWM cycle counter*TempData, then execute step 34.
[0069] Among them, the value of the PWM cycle counter is related to the DSP used. Assuming that the switching frequency is fs and the DSP clock is fdsp, according to the PWM setting, if the switching frequency is fs, the value of the PWM cycle counter is fdsp / fs / 2.
[0070] Step 33: If U is not satisfied max -U min >U dc , then let:
[0071] Overmodulation flag Flagovermodule = 0;
[0072] TempData = 0;
[0073] Tox=0, then execute step 34.
[0074] Among them, in step 32 and step 33, Flagovermodule is the overmodulation flag; TempData is an intermediate variable used to define the calculation formula value; Tox is used to define the product value of the PWM cycle count value and TempData.
[0075] Step 34: Calculate V s =-0.5*(U max +U min ), and calculate V xn =V x +V s , then execute step 35. In step 34, V xn =V x +V s The details are as follows:
[0076]
[0077] Among them, V s is the intermediate variable, V xn is an intermediate variable, where x refers to the three phases a, b, and c; V x is the AC-DC voltage U d , U q The U in the two-phase stationary coordinate system obtained after Park inverse transformation α , U β After the Clarke inverse transformation, U a 、V b 、V c , where x refers to the three-phase a, b, and c. V is used when calculating the three-phase voltage switching time switching points Ta, Tb, and Tc in the linear modulation area. xn .
[0078] In some embodiments, in step S230, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculated amount, to determine whether entering the overmodulation area, and when entering the overmodulation area, calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, including: a first process of calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm.
[0079] Combine the following Figure 3 The flowchart of an embodiment of the first process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in the method of the present invention is shown, which further illustrates the specific process of the first process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in step S230, including: step S310 to step S350.
[0080] Step S310, determining the maximum value Umax With the minimum value U min Is the sum of greater than or equal to 0?
[0081] Step S320: If the maximum value U is determined max With the minimum value U min The sum of the values is greater than or equal to 0, then the first calculation coefficient and the maximum value U are determined. max Is the product value greater than the DC bus voltage U dc ; Wherein, the first calculation coefficient is such as 3 / 2.
[0082] Step S330, after determining the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the maximum value U max .
[0083] Step S340, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc In the case of x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; where T x is the switching point T of the three-phase voltage switching time a , T b , T c Assignment of the switching time switching point of any phase voltage in .
[0084] Step S350, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc In the case of x Not equal to or the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm.x =The value of the PWM period counter.
[0085] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0086] Step 35: Determine whether U is satisfied max +U min ≥0: If yes, go to step 41; otherwise, go to step 51.
[0087] Step 41: When U is satisfied max +U min ≥0, determine whether If yes, execute step 42; otherwise, execute step 43.
[0088] Step 42: When U is satisfied max +U min ≥0, if satisfied Then determine whether V x ==U max :If so, let T x =0, otherwise let T x = PWM cycle count value. Where, T x is the switching point of the three-phase voltage switching time, where x refers to the three phases a, b, and c. The three phases are compared and assigned values separately during calculation.
[0089] Specifically, when U max +U min ≥0, if satisfied Determine V a 、V b 、V c with U max The relationship between:
[0090] In meeting U max +U min ≥0, and meets When: If V a =U max , then determine the A phase voltage switching time switching point T among the three-phase voltage switching time switching points a =0; if V a =U max , then determine the A phase voltage switching time switching point T among the three-phase voltage switching time switching points a =Value of PWM period counter.
[0091] In meeting U max +U min ≥0, and meets When: If Vb =U max , then determine the B phase voltage switching time switching point T among the three-phase voltage switching time switching points b =0; if V b =U max , then determine the B phase voltage switching time switching point T among the three-phase voltage switching time switching points b =Value of PWM period counter.
[0092] In meeting U max +U min ≥0, and meets When: If V c =U max , then determine the C phase voltage switching time switching point T among the three-phase voltage switching time switching points c =0; if V c =U max , then determine the C phase voltage switching time switching point T among the three-phase voltage switching time switching points c =Value of PWM period counter.
[0093] In some embodiments, in step S230, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculated amount, to determine whether entering the overmodulation area, and when entering the overmodulation area, calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, also including: a second process of calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm.
[0094] Combine the following Figure 4 The flowchart of an embodiment of the second process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in the method of the present invention is shown, which further illustrates the specific process of the second process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in step S230, including: step S410 to step S470.
[0095] Step S410, after determining the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc, then determine whether the value of the overmodulation flag is equal to 0.
[0096] Step S420, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation area, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation area x .
[0097] Step S430, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max .
[0098] Step S440, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
[0099] Step S450, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min .
[0100] Step S460, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to or greater than the maximum value U max In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
[0101] Step S470, after determining the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to or greater than the maximum value U max In the case of x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0102] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0103] Step 43: When U is satisfied max +U min ≥0, if not satisfied Then, it is determined whether the overmodulation flag Flagovermodule is equal to 0, that is, it is determined whether the overmodulation flag Flagovermodule == 0 is satisfied: if so, step 44 is executed; otherwise, step 45 is executed.
[0104] Step 44: When U is satisfied max +U min ≥0, but not satisfied When: If Flagovermodule=0, calculate T in the linear modulation areaa , T b , T c .
[0105] Wherein, Tx=-1 / Udc*value of PWM cycle counter*Vxn+1 / 2*(value of PWM cycle counter+(current sampling time-inverter upper tube turn-on time)*PWM clock frequency).
[0106] Step 45: When U is satisfied max +U min ≥0, but not satisfied When: If Flagovermodule=0 is not satisfied, that is, Flagovermodule≠0, then determine whether V x ==U max :If V is satisfied x ==U max Then let T x =0, if V x ==U max Then execute step 46.
[0107] Step 46: When U is satisfied max +U min ≥0, but not satisfied Does not satisfy Flagovermodule=0, and does not satisfy V x ==U max When V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =Tox.
[0108] Specifically, in step 45 and step 46, when U is satisfied max +U min ≥0, but not satisfied When: If V a =U max , then the A phase voltage switching time switching point T a =0; if V a =U max , but satisfy V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U max , and does not satisfy V a =U min , then the A phase voltage switching time switching point T a =Tox.
[0109] In meeting U max +U min ≥0, but not satisfied When: If V b =U max , then the B phase voltage switching time switching point T b =0; if V b =U max , but satisfy V b =U min , then the B phase voltage switching time switching point T b =PWM cycle counter value; if V b =U max , and does not satisfy V b =U min , then the B phase voltage switching time switching point T b =Tox.
[0110] In meeting U max +U min ≥0, but not satisfied When: If V c =U max , then the C phase voltage switching time switching point T c =0; if V c =U max , but satisfy V c =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U max , and does not satisfy V c =U min , then the C phase voltage switching time switching point T c =Tox.
[0111] In some embodiments, in step S230, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculated amount, to determine whether entering the overmodulation area, and when entering the overmodulation area, calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, also including: a third process of calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm.
[0112] Combine the following Figure 5The flowchart of an embodiment of the third process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in the method of the present invention is shown, which further illustrates the specific process of the third process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in step S230, including: step S510 to step S540.
[0113] Step S510, after determining the maximum value U max With the minimum value U min After the sum of the values is greater than or equal to 0, if the maximum value U is determined max With the minimum value U min If the sum of the two values is less than 0, the second calculation coefficient and the minimum value U are determined. min Is the product value greater than the DC bus voltage U dc ; Among them, the second calculation coefficient is the negative value of the first calculation coefficient, such as -3 / 2.
[0114] Step S520, after determining the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the minimum value U min .
[0115] Step S530, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
[0116] Step S540, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc In the case of x Not equal to the minimum value U min, it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
[0117] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0118] Step 51: If U is not satisfied max +U min ≥0, determine whether If yes, execute step 52; otherwise, execute step 53.
[0119] Step 52: If U is not satisfied max +U min ≥0, if satisfied Then determine whether V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =0.
[0120] Specifically, in step 52, if U max +U min ≥0, if satisfied Then judge V a 、V b 、V c with U min The relationship between:
[0121] In not satisfying U max +U min ≥0, but meets When: If V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U min , then the A phase voltage switching time switching point does not meet T a =0.
[0122] In not satisfying U max +U min ≥0, but meets When: If V b =U min , then the B phase voltage switching time switching point T b =PWM cycle counter value; if V b =U min, then the B phase voltage switching time switching point T b =0.
[0123] In not satisfying U max +U min ≥0, but meets When: If V c =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U min , then the C phase voltage switching time switching point T c =0.
[0124] In some embodiments, in step S230, according to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculated amount, to determine whether entering the overmodulation area, and when entering the overmodulation area, calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, also including: a fourth process of calculating the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm.
[0125] Combine the following Figure 6 The flowchart of an embodiment of the fourth process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in the method of the present invention is shown, which further illustrates the specific process of the fourth process of calculating the switching point of the three-phase voltage switching time by the preset SVPWM overmodulation algorithm in step S230, including: step S610 to step S670.
[0126] Step S610, after determining the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0.
[0127] Step S620, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dcIn the case of, if it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation area, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation area x .
[0128] Step S630, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max .
[0129] Step S640, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
[0130] Step S650, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min .
[0131] Step S660, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to the maximum value Umax In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
[0132] Step S670, after determining the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to the maximum value U max In the case of x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
[0133] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0134] Step 53: If U is not satisfied max +U min ≥0, if not satisfied Then determine whether the overmodulation flag Flagovermodule is equal to 0, that is, determine whether the overmodulation flag Flagovermodule == 0 is satisfied: if so, execute step 54; otherwise, execute step 55.
[0135] Step 54: If U is not satisfied max +U min ≥0, and does not meet When: If Flagovermodule=0, then calculate T in the linear modulation area a , T b , T c .
[0136] Step 55: If U is not satisfied max +U min ≥0, if not satisfied When: If Flagovermodule=0 is not satisfied, that is, Flagovermodule≠0, then determine whether V x ==U max :If V is satisfied x ==U max Then let T x =0, if V x ==U max Then execute step 56.
[0137] Step 56: If U is not satisfied max +U min ≥0, but not satisfied Flagovermodule=0 is not satisfied, and V x ==U max When V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =Tox.
[0138] Specifically, in step 55 and step 56, if U is not satisfied, max +U min ≥0, and does not meet When: If V a =U max , then the A phase voltage switching time switching point T a =0; if V a =U max , but satisfy V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U max , and does not satisfy V a =U min , then the A phase voltage switching time switching point T a =Tox.
[0139] In not satisfying U max +U min ≥0, and does not meet When: If V b =U max , then the B phase voltage switching time switching point T b =0; if V b =U max , but satisfy V b =U min , then the B phase voltage switching time switching point T b=PWM cycle counter value; if V b =U max , and does not satisfy V b =U min , then the B phase voltage switching time switching point T b =Tox.
[0140] In not satisfying U max +U min ≥0, and does not meet When: If V c =U max , then the C phase voltage switching time switching point T c =0; if V c =U max , but satisfy V c =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U max , and does not satisfy V c =U min , then the C phase voltage switching time switching point T c =Tox.
[0141] The SVPWM overmodulation control scheme of the permanent magnet synchronous motor proposed in the scheme of the present invention has ingenious data calculation, is convenient for data collection and calculation, and is effective and easy to implement. It is not only used in the field of electric vehicles, but also in other application fields of permanent magnet synchronous motor control. For example, in addition to the field of electric vehicles, it is also applicable to permanent magnet synchronous motor application occasions such as CNC machine tools, mechanical manufacturing, industrial robots, aerospace, etc.; it can improve the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, effectively improve the voltage utilization rate, increase the maximum output torque of the motor, simplify the calculation process, and is easy to implement, reliable in control, easy to implement, and convenient for promotion and use.
[0142] By adopting the technical solution of this embodiment, the overmodulation area in the voltage vector modulation area of the permanent magnet synchronous motor is divided based on the regular hexagonal flux trajectory; according to the voltage signal U in the dq rotating coordinate system d , U q With DC bus voltage U dc As the criterion for whether to enter the overmodulation area, when the reference voltage vector exceeds the hexagonal boundary and cannot be modulated normally, the components of the reference voltage vector in the two-phase stationary coordinate system are subjected to Clarke inverse transformation to obtain three variables V a 、V b 、V c , find V a 、V b 、V cThe maximum value U among the three variables max , minimum value U min , the maximum value U max , minimum value U min And the DC bus voltage U dc , the switching point of the three-phase voltage switching time is calculated through the SVPWM overmodulation algorithm; a triangular carrier signal of a certain frequency is used to compare with the switching point of the three-phase voltage switching time to generate the PWM pulse signal required by the converter, and the SVPWM overmodulation control of the permanent magnet synchronous motor is realized. Thus, in the overmodulation control scheme of the space voltage vector PWM, the voltage signal U in the dq rotating coordinate system is used d , U q The relationship between the maximum difference of the three-phase voltage after the coordinate transformation from two phases to three phases and the bus voltage is used as the judgment condition for entering the overmodulation area. Different strategies are used in different overmodulation areas to calculate the switching points of the three-phase voltage switching time, so that the fundamental voltage amplitude output by the three-phase voltage inverter can be adjusted when the three-phase voltage inverter works in the square wave mode, thereby improving the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, and at the same time effectively improving the voltage utilization rate and increasing the maximum output torque of the motor.
[0143] According to an embodiment of the present invention, a control device for a permanent magnet synchronous motor corresponding to the control method for the permanent magnet synchronous motor is also provided. Figure 7 The structure diagram of an embodiment of the device of the present invention is shown in FIG. The control device of the permanent magnet synchronous motor may include: an acquisition unit 102 and a control unit 104 .
[0144] The control unit 104 is configured to divide the overmodulation area in the voltage vector modulation area of the permanent magnet synchronous motor based on a preset regular hexagonal flux linkage trajectory. The specific functions and processing of the control unit 104 refer to step S110.
[0145] The acquisition unit 102 is configured to acquire a component U of the reference voltage vector of the permanent magnet synchronous motor in a two-phase stationary coordinate system. α , U β The specific functions and processing of the acquisition unit 102 refer to step S120.
[0146] The control unit 104 is further configured to convert the component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system into α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a、V b 、V c The maximum value U in max , minimum value U min , as the maximum value U of the three-phase voltage of the permanent magnet synchronous motor max , minimum value U min The specific functions and processing of the control unit 104 can also be found in step S130.
[0147] The control unit 104 is further configured to max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time through the preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the drive system of the permanent magnet synchronous motor according to the calculated switching point of the three-phase voltage switching time, specifically, use a triangular carrier signal of a certain frequency to compare with the calculated switching point of the three-phase voltage switching time, generate the PWM pulse signal required by the converter, and realize the SVPWM overmodulation control of the permanent magnet synchronous motor; of course, if it does not enter the overmodulation area, maintain the current PWM duty cycle of the switch tube in the three-phase inverter of the drive system of the permanent magnet synchronous motor, that is, maintain the current control of the permanent magnet synchronous motor. The specific functions and processing of the control unit 104 can also be found in step S140.
[0148] Figure 8 This is the vector control block diagram of the permanent magnet synchronous motor. Figure 8 As shown in the figure, the vector control process of the permanent magnet synchronous motor includes:
[0149] Step 11: After the position sensor detects the mechanical angle of the motor and calculates the electrical angle θ of the motor, the calculated electrical angle θ of the motor is transmitted to the speed calculation module, the Park inverse transformation module and the Park transformation module respectively; the speed calculation module calculates the actual speed n of the motor according to the electrical angle θ of the motor. The first comparator calculates the actual speed n of the motor according to the detected actual speed n of the motor and the input reference speed n. ref By comparison, the reference speed n is obtained ref The difference n from the actual motor speed n ref -n.
[0150] Step 12: Using the relationship between torque and speed, convert the reference speed n ref The difference n from the actual motor speed n ref -n, through the speed PI controller calculation, obtain the stator current torque component i of the motor qThe reference quantity i qref , and the stator current excitation component i of the given motor dref .
[0151] Furthermore, the current signal i of the motor is extracted from the connection line between the three-phase inverter and the motor (i.e., the permanent magnet synchronous motor PMSM) through the phase current detection circuit. A 、i B , transform them into a two-phase stationary coordinate system through Clarke transformation, and then transform them into a dq rotating coordinate system through Park transformation, and then compare the current signals in the dq coordinate system with their reference current i dref 、i qref Compare them respectively, and then obtain the voltage signal U in the dq rotating coordinate system through the PI controller d , U q Specifically, the second comparator is used to compare the q-axis current in the dq coordinate system with the reference current i qref Compare and get the reference current i qref The difference between the motor's q-axis current and the reference current i qref The difference between the motor's q-axis current and the motor's q-axis current is used to obtain the d-axis voltage U in the dq rotating coordinate system through the PI controller. d ; Through the third comparator according to the d-axis current in the dq coordinate system and the reference current i dref Compare and get the reference current i dref The difference between the motor's d-axis current and the reference current i dref The difference between the motor's d-axis current and the motor's d-axis current is used to obtain the q-axis voltage U in the dq rotating coordinate system through the PI controller. q .
[0152] Step 13: Voltage signal U in dq rotating coordinate system d , U q , the voltage signal U in the two-phase stationary coordinate system is obtained through Park inverse transformation α , U β , and send it to SVPWM to generate control pulses, which control the various switch states of the switch tubes in the three-phase inverter through the control pulses, and then obtain the actual current of the three-phase symmetrical stator winding of the control motor. Among them, the three-phase inverter provides a three-phase voltage u to the three-phase symmetrical stator winding of the motor A 、u B 、u C .
[0153] Fig. 9The control structure block diagram of SVPWM overmodulation of permanent magnet synchronous motor. The basic idea of SVPWM overmodulation is that when the reference voltage vector exceeds the hexagonal boundary and cannot be modulated normally, this part of the vector is appropriately adjusted through the overmodulation method to re-plan the voltage vector trajectory. In the solution of the present invention, Fig. 9 As shown in FIG. 1 , the SVPWM overmodulation control process of the permanent magnet synchronous motor includes:
[0154] Step 21: Reference voltage vector The component in the two-phase stationary coordinate system is the voltage signal U α , U β , the voltage signal U α , U β Perform Clarke inverse transformation to obtain three variables V a 、V b 、V c , as follows:
[0155]
[0156] Step 22: Calculate V a 、V b 、V c The maximum value U among the three variables max , minimum value U min .
[0157] Step 23: Set the maximum value U max , minimum value U min And the DC bus voltage U dc , the switching point of the three-phase voltage switching time is calculated through the SVPWM overmodulation algorithm, and finally a triangular carrier signal with a certain frequency is used to compare with the switching point of the three-phase voltage switching time to generate the PWM pulse signal required by the converter.
[0158] The scheme of the present invention proposes a SVPWM overmodulation control scheme for a permanent magnet synchronous motor, which divides the overmodulation area in the voltage vector modulation area of the permanent magnet synchronous motor based on the regular hexagonal flux trajectory, which is different from the division of the overmodulation area by using the relationship between the phase or reference voltage vector amplitude and the bus voltage in the related scheme; the scheme of the present invention is based on the voltage signal U in the dq rotating coordinate system d , U q With DC bus voltage U dcas the judgment criterion of whether to enter the overmodulation area, different strategies are adopted in different areas to calculate the switching point of the three-phase voltage switching time, and finally a triangular carrier signal of a certain frequency is used to compare with the switching point of the three-phase voltage switching time, so as to generate the PWM pulse signal required by the converter, and realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor. The control scheme of the SVPWM overmodulation of the permanent magnet synchronous motor proposed by the scheme of the present invention can improve the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, effectively improve the voltage utilization rate, increase the maximum output torque of the motor, simplify the calculation process, and be easy to implement, reliable in control, easy to implement, and convenient for promotion and use. Thus, the problem that the fundamental voltage amplitude output by the three-phase voltage type inverter cannot be adjusted when the three-phase voltage type inverter works in the square wave mode is solved, the utilization rate of the inverter to the DC bus is improved, and the output voltage amplitude of the inverter and the maximum output torque of the motor are increased.
[0159] In some implementations, the control unit 104, based on the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determining whether to enter the overmodulation region, and in the case of entering the overmodulation region, calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including:
[0160] The control unit 104 is further configured to pre-set an overmodulation flag, a first calculation amount, a second calculation amount, a third calculation amount, and a fourth calculation amount, wherein the overmodulation flag is such as Flagovermodule, the first calculation amount is such as TempData, the second calculation amount is such as Tox, the third calculation amount is such as V s And the fourth calculation quantity is V xn ; Wherein, the value of the second calculated amount = the value of the PWM cycle counter * the value of the first calculated amount; the value of the third calculated amount = -k*(U max +U min ), k is a preset coefficient such as k is 0.5; the value of the fourth calculation amount = V x + the value of the third calculated quantity, V x For the three variables V a 、V b 、V c The specific functions and processing of the control unit 104 also refer to step S210.
[0161] The control unit 104 is further configured to determine the maximum value U max With the minimum value U minIs the difference greater than the DC bus voltage U dc If yes, then set the value of the overmodulation flag bit = 1, and set the value of the first calculation amount = (2*U max +U min ) / (U max -U min ); otherwise, set the value of the overmodulation flag bit = 0, and set the value of the first calculation amount = 0. The specific functions and processing of the control unit 104 can also be found in step S220.
[0162] The control unit 104 is further configured to max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm; wherein the variable V x For the three variables V a 、V b 、V c The specific functions and processing of the control unit 104 also refer to step S230.
[0163] Specifically, Fig.10 The figure is the logic block diagram of the SVPWM overmodulation control algorithm of the permanent magnet synchronous motor. Fig.10 As shown in FIG. 1 , the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor includes:
[0164] Step 31: First determine the maximum value U max , minimum value U min With bus voltage U dc The relationship between max -U min >U dc : If yes, go to step 32; otherwise, go to step 33.
[0165] Among them, U max , U min is the AC-DC voltage U d , U q The U in the two-phase stationary coordinate system obtained after Park inverse transformation α , U β After the Clarke inverse transformation, V in the three-phase stationary coordinate system a 、V b 、Vc The maximum and minimum values in .
[0166] Step 32: If U is satisfied max -U min >U dc , then let:
[0167] Overmodulation flag Flagovermodule = 1;
[0168] TempData=(2*U max +U min ) / (U max -U min );
[0169] Tox=value of PWM cycle counter*TempData, then execute step 34.
[0170] Step 33: If U is not satisfied max -U min >U dc , then let:
[0171] Overmodulation flag Flagovermodule = 0;
[0172] TempData = 0;
[0173] Tox=0, then execute step 34.
[0174] Among them, in step 32 and step 33, Flagovermodule is the overmodulation flag; TempData is an intermediate variable used to define the calculation formula value; Tox is used to define the product value of the PWM cycle count value and TempData.
[0175] Step 34: Calculate V s =-0.5*(U max +U min ), and calculate V xn =V x +V s , then execute step 35. In step 34, V xn =V x +V s The details are as follows:
[0176]
[0177] Among them, V s is the intermediate variable, V xn is an intermediate variable, where x refers to the three phases a, b, and c; V x is the AC and DC axis voltage U d , Uq The U in the two-phase stationary coordinate system obtained after Park inverse transformation α , U β After the Clarke inverse transformation, V in the three-phase stationary coordinate system a 、V b 、V c , where x refers to the three phases a, b, and c.
[0178] In some implementations, the control unit 104, based on the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: a first process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, which is specifically as follows:
[0179] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of is greater than or equal to 0. The specific functions and processing of the control unit 104 are also referred to step S310.
[0180] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, then the first calculation coefficient and the maximum value U are determined. max Is the product value greater than the DC bus voltage U dc ; The first calculation coefficient is, for example, 3 / 2. The specific functions and processing of the control unit 104 are also referred to step S320.
[0181] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the maximum value U max The specific functions and processing of the control unit 104 can also be found in step S330.
[0182] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc In the case of x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; where T x is the switching point T of the three-phase voltage switching time a , T b , T c The specific functions and processing of the control unit 104 can also be found in step S340.
[0183] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is greater than the DC bus voltage U dc In the case of x Not equal to or the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter. The specific functions and processing of the control unit 104 are also shown in step S350.
[0184] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0185] Step 35: Determine whether U is satisfied max +U min ≥0: If yes, go to step 41; otherwise, go to step 51.
[0186] Step 41: When U is satisfied max +U min ≥0, determine whether If yes, execute step 42; otherwise, execute step 43.
[0187] Step 42: When U is satisfied max +Umin ≥0, if satisfied Then determine whether V x ==U max :If so, let T x =0, otherwise let T x = PWM cycle count value. Where, T x is the switching point of the three-phase voltage switching time, where x refers to the three phases a, b, and c. The three phases are compared and assigned values separately during calculation.
[0188] Specifically, when U max +U min ≥0, if satisfied Determine V a 、V b 、V c with U max The relationship between:
[0189] In meeting U max +U min ≥0, and meets When: If V a =U max , then determine the A phase voltage switching time switching point T among the three-phase voltage switching time switching points a =0; if V a =U max , then determine the A phase voltage switching time switching point T among the three-phase voltage switching time switching points a =Value of PWM period counter.
[0190] In meeting U max +U min ≥0, and meets When: If V b =U max , then determine the B phase voltage switching time switching point T among the three-phase voltage switching time switching points b =0; if V b =U max , then determine the B phase voltage switching time switching point T among the three-phase voltage switching time switching points b =Value of PWM period counter.
[0191] In meeting U max +U min ≥0, and meets When: If V c =U max , then determine the C phase voltage switching time switching point T among the three-phase voltage switching time switching points c =0; if V c =U max, then determine the C phase voltage switching time switching point T among the three-phase voltage switching time switching points c =Value of PWM period counter.
[0192] In some implementations, the control unit 104, based on the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and when entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: a second process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, which is specifically as follows:
[0193] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc , it is determined whether the value of the overmodulation flag is equal to 0. The specific functions and processing of the control unit 104 are also shown in step S410.
[0194] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation area, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation area x The specific functions and processing of the control unit 104 can also be found in step S420.
[0195] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, and the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is not equal to 0, then V xIs it equal to the maximum value U max The specific functions and processing of the control unit 104 can also be found in step S430.
[0196] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = 0. The specific functions and processing of the control unit 104 refer to step S440.
[0197] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min The specific functions and processing of the control unit 104 can also be found in step S450.
[0198] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to or the maximum value U max In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x= the value of the PWM cycle counter. The specific functions and processing of the control unit 104 are also shown in step S460.
[0199] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is greater than or equal to 0, determining the first calculation coefficient and the maximum value U max The value of the product is greater than the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to or the maximum value U max In the case of x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the second calculated amount. The specific functions and processing of the control unit 104 can also be found in step S470.
[0200] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0201] Step 43: When U is satisfied max +U min ≥0, if not satisfied Then, it is determined whether the overmodulation flag Flagovermodule is equal to 0, that is, it is determined whether the overmodulation flag Flagovermodule == 0 is satisfied: if so, step 44 is executed; otherwise, step 45 is executed.
[0202] Step 44: When U is satisfied max +U min ≥0, but not satisfied When: If Flagovermodule=0, then calculate T in the linear modulation area a , T b , T c .
[0203] Step 45: When U is satisfied max +U min ≥0, but not satisfied When: If Flagovermodule=0 is not satisfied, that is, Flagovermodule≠0, then determine whether V x ==U max :If V is satisfied x ==U maxThen let T x =0, if V x ==U max Then execute step 46.
[0204] Step 46: When U is satisfied max +U min ≥0, but not satisfied Does not satisfy Flagovermodule=0, and does not satisfy V x ==U max When V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =Tox.
[0205] Specifically, in step 45 and step 46, when U is satisfied max +U min ≥0, but not satisfied When: If V a =U max , then the A phase voltage switching time switching point T a =0; if V a =U max , but satisfy V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U max , and does not satisfy V a =U min , then the A phase voltage switching time switching point T a =Tox.
[0206] In meeting U max +U min ≥0, but not satisfied When: If V b =U max , then the B phase voltage switching time switching point T b =0; if V b =U max , but satisfy V b =U min , then the B phase voltage switching time switching point T b =PWM cycle counter value; if V b =U max , and does not satisfy V b =U min , then the B phase voltage switching time switching point T b =Tox.
[0207] In meeting U max +U min ≥0, but not satisfied When: If V c =U max , then the C phase voltage switching time switching point T c =0; if V c =U max , but satisfy V c =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U max , and does not satisfy V c =U min , then the C phase voltage switching time switching point T c =Tox.
[0208] In some implementations, the control unit 104, based on the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and when entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: a third process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, which is specifically as follows:
[0209] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min After the sum of the values is greater than or equal to 0, if the maximum value U is determined max With the minimum value U min If the sum of the two values is less than 0, the second calculation coefficient and the minimum value U are determined. min Is the product value greater than the DC bus voltage U dc ; Wherein, the second calculation coefficient is the negative value of the first calculation coefficient, such as -3 / 2. The specific function and processing of the control unit 104 can also be seen in step S510.
[0210] The control unit 104 is further configured to determine the maximum value U max With the minimum value U minWhen the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the minimum value U min The specific functions and processing of the control unit 104 can also be found in step S520.
[0211] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter. The specific functions and processing of the control unit 104 are also shown in step S530.
[0212] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc In the case of x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = 0. The specific functions and processing of the control unit 104 refer to step S540.
[0213] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0214] Step 51: If U is not satisfied max +U min ≥0, determine whether If yes, execute step 52; otherwise, execute step 53.
[0215] Step 52: If U is not satisfied max +U min ≥0, if satisfied Then determine whether V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =0.
[0216] Specifically, in step 52, if U max +U min ≥0, if satisfied Then judge V a 、V b 、V c with U min The relationship between:
[0217] In not satisfying U max +U min ≥0, but meets When: If V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U min , then the A phase voltage switching time switching point does not meet T a =0.
[0218] In not satisfying U max +U min ≥0, but meets When: If V b =U min , then the B phase voltage switching time switching point T b =PWM cycle counter value; if V b =U min , then the B phase voltage switching time switching point T b =0.
[0219] In not satisfying U max +U min ≥0, but meets When: If V c =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U min , then the C phase voltage switching time switching point T c =0.
[0220] In some implementations, the control unit 104, based on the maximum value U max , the minimum value U min , and the DC bus voltage Udc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determine whether to enter the overmodulation area, and when entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: a fourth process of calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, which is specifically as follows:
[0221] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , it is determined whether the value of the overmodulation flag is equal to 0. The specific functions and processing of the control unit 104 are also shown in step S610.
[0222] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation area, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation area x The specific functions and processing of the control unit 104 can also be found in step S620.
[0223] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, and the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc In the case of, if it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max The specific functions and processing of the control unit 104 can also be found in step S630.
[0224] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U minThe value of the product is less than or equal to the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = 0. The specific functions and processing of the control unit 104 refer to step S640.
[0225] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , and it is determined that the value of the overmodulation flag is not equal to 0, if it is determined that V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min The specific functions and processing of the control unit 104 can also be found in step S650.
[0226] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to the maximum value U max In the case of x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM cycle counter. The specific functions and processing of the control unit 104 are also shown in step S660.
[0227] The control unit 104 is further configured to determine the maximum value U max With the minimum value U min The sum of the values is less than 0, determining the second calculation coefficient and the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc, determine that the value of the overmodulation flag is not equal to 0, and determine V x Not equal to the maximum value U max In the case of x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the second calculated amount. The specific functions and processing of the control unit 104 can also be found in step S670.
[0228] Specifically, Fig.10 As shown, the specific implementation logic of the SVPWM overmodulation algorithm of the permanent magnet synchronous motor also includes:
[0229] Step 53: If U is not satisfied max +U min ≥0, if not satisfied Then determine whether the overmodulation flag Flagovermodule is equal to 0, that is, determine whether the overmodulation flag Flagovermodule == 0 is satisfied: if so, execute step 54; otherwise, execute step 55.
[0230] Step 54: If U is not satisfied max +U min ≥0, and does not meet When: If Flagovermodule=0, calculate T in the linear modulation area a , T b , T c .
[0231] Step 55: If U is not satisfied max +U min ≥0, if not satisfied When: If Flagovermodule=0 is not satisfied, that is, Flagovermodule≠0, then determine whether V x ==U max :If V is satisfied x ==U max Then let T x =0, if V x ==U max Then execute step 56.
[0232] Step 56: If U is not satisfied max +U min ≥0, but not satisfied Does not satisfy Flagovermodule=0, and does not satisfy V x ==Umax When V x ==U min :If so, let T x = PWM cycle count value, otherwise let T x =Tox.
[0233] Specifically, in step 55 and step 56, if U is not satisfied, max +U min ≥0, and does not meet When: If V a =U max , then the A phase voltage switching time switching point T a =0; if V a =U max , but satisfy V a =U min , then the A phase voltage switching time switching point T a =PWM cycle counter value; if V a =U max , and does not satisfy V a =U min , then the A phase voltage switching time switching point T a =Tox.
[0234] In not satisfying U max +U min ≥0, and does not meet When: If V b =U max , then the B phase voltage switching time switching point T b =0; if V b =U max , but satisfy V b =U min , then the B phase voltage switching time switching point T b =PWM cycle counter value; if V b =U max , and does not satisfy V b =U min , then the B phase voltage switching time switching point T b =Tox.
[0235] In not satisfying U max +U min ≥, and does not meet When: If V c =U max , then the C phase voltage switching time switching point T c =0; if V c =U max , but satisfy Vc =U min , then the C phase voltage switching time switching point T c =PWM cycle counter value; if V c =U max , and does not satisfy V c =U min , then the C phase voltage switching time switching point T c =Tox.
[0236] The SVPWM overmodulation control scheme of the permanent magnet synchronous motor proposed in the scheme of the present invention has ingenious data calculation, is convenient for data collection and calculation, and is effective and easy to implement. It is not only used in the field of electric vehicles, but also in other application fields of permanent magnet synchronous motor control. For example, in addition to the field of electric vehicles, it is also applicable to permanent magnet synchronous motor application occasions such as CNC machine tools, mechanical manufacturing, industrial robots, aerospace, etc.; it can improve the accuracy and modulation precision of the SVPWM overmodulation of the permanent magnet synchronous motor, effectively improve the voltage utilization rate, increase the maximum output torque of the motor, simplify the calculation process, and is easy to implement, reliable in control, easy to implement, and convenient for promotion and use.
[0237] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0238] According to an embodiment of the present invention, a permanent magnet synchronous motor corresponding to the control device of the permanent magnet synchronous motor is also provided. The permanent magnet synchronous motor may include: the control device of the permanent magnet synchronous motor described above.
[0239] Since the processing and functions implemented by the permanent magnet synchronous motor of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned device, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0240] According to an embodiment of the present invention, a computer program product corresponding to a permanent magnet synchronous motor is also provided, comprising a computer program, which implements the steps of the above-mentioned control method of the permanent magnet synchronous motor when executed by a processor.
[0241] Since the processing and functions implemented by the product of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned permanent magnet synchronous motor, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0242] According to an embodiment of the present invention, a storage medium corresponding to a control method for a permanent magnet synchronous motor is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the control method for the permanent magnet synchronous motor described above.
[0243] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0244] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.
[0245] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A control method for a permanent magnet synchronous motor, characterized in that: include: Based on a preset regular hexagonal flux linkage trajectory, dividing an overmodulation area in a voltage vector modulation area of the permanent magnet synchronous motor; Obtain the component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system α , U β ; The component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system is α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a 、V b 、V c The maximum value U in max , minimum value U min ; According to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc to determine whether it has entered the overmodulation area, and if it has entered the overmodulation area, calculate the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the permanent magnet synchronous motor drive system according to the calculated switching point of the three-phase voltage switching time, so as to realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor.
2. The control method of the permanent magnet synchronous motor according to claim 1, characterized in that: According to the maximum value U max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc , determining whether to enter the overmodulation region, and in the case of entering the overmodulation region, calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: Pre-setting an overmodulation flag, a first calculation amount, and a second calculation amount; wherein the value of the second calculation amount = the value of the PWM cycle counter * the value of the first calculation amount; Determine the maximum value U max With the minimum value U min Is the difference greater than the DC bus voltage U dc If yes, then set the value of the overmodulation flag bit = 1, and set the value of the first calculation amount = (2*U max +U min ) / (U max -U min ); otherwise, set the value of the overmodulation flag bit = 0, and set the value of the first calculation amount = 0; According to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the preset variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether it enters the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm; wherein the variable V x For the three variables V a 、V b 、V c Any variable in .
3. The control method of the permanent magnet synchronous motor according to claim 2, characterized in that: According to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, determining whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculating the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, including: Determine the maximum value U max With the minimum value U min Is the sum of greater than or equal to 0? If the maximum value U is determined max With the minimum value U min The sum of the values is greater than or equal to 0, then the first calculation coefficient and the maximum value U are determined. max Is the product value greater than the DC bus voltage U dc ; If the first calculation coefficient and the maximum value U are determined max The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the maximum value U max ; If V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; where T x is the switching point T of the three-phase voltage switching time a 、T b 、T c Assignment of the switching time switching point of any phase voltage in; If V x Not equal to or the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =The value of the PWM period counter.
4. The control method of the permanent magnet synchronous motor according to claim 2 or 3, characterized in that: According to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: In determining the maximum value U max With the minimum value U min When the sum of the values is greater than or equal to 0, if the first calculation coefficient is determined to be equal to the maximum value U max The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; If it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation region, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation region. x ; If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max ; If V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; If V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min ; If V x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM period counter; If V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
5. The control method of a permanent magnet synchronous motor according to any one of claims 2 to 4, characterized in that: According to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: If the maximum value U is determined max With the minimum value U min If the sum of the two values is less than 0, the second calculation coefficient and the minimum value U are determined. min Is the product value greater than the DC bus voltage U dc ; Wherein, the second calculation coefficient is the negative value of the first calculation coefficient; If the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is greater than the DC bus voltage U dc , then determine V x Is it equal to the minimum value U min ; If V x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM period counter; If V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0.
6. The control method of a permanent magnet synchronous motor according to any one of claims 2 to 5, characterized in that: According to the maximum value U max , the minimum value U min , and the DC bus voltage U dc , and combined with the value of the overmodulation flag, the variable V x , the value of the PWM cycle counter, and at least one of the values of the second calculation amount, to determine whether to enter the overmodulation area, and in the case of entering the overmodulation area, calculate the switching point of the three-phase voltage switching time by a preset SVPWM overmodulation algorithm, and also include: In determining the maximum value U max With the minimum value U min When the sum of the values is less than 0, if the second calculation coefficient is determined to be equal to the minimum value U min The value of the product is less than or equal to the DC bus voltage U dc , then determine whether the value of the overmodulation flag is equal to 0; If it is determined that the value of the overmodulation flag is equal to 0, it is determined not to enter the overmodulation region, and the assignment T of the switching point of the three-phase voltage switching time is calculated in the linear modulation region. x ; If it is determined that the value of the overmodulation flag is not equal to 0, then V x Is it equal to the maximum value U max ; If V x Equal to the maximum value U max , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =0; If V x Not equal to the maximum value U max , then determine V x Is it equal to the minimum value U min ; If V x Equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x = the value of the PWM period counter; If V x Not equal to the minimum value U min , it is determined that it enters the overmodulation area, and in the overmodulation area, the assignment T of the switching point of the three-phase voltage switching time is calculated by the preset SVPWM overmodulation algorithm. x =the value of the second calculated quantity.
7. A control device for a permanent magnet synchronous motor, characterized in that: include: A control unit configured to divide an overmodulation area in a voltage vector modulation area of the permanent magnet synchronous motor based on a preset regular hexagonal flux linkage trajectory; An acquisition unit is configured to acquire a component U of a reference voltage vector of the permanent magnet synchronous motor in a two-phase stationary coordinate system. α , U β ; The control unit is further configured to convert the component U of the reference voltage vector of the permanent magnet synchronous motor in the two-phase stationary coordinate system α , U β Perform Clarke inverse transformation to obtain three variables V of three-phase voltage a 、V b 、V c ; and obtain the three variables V a 、V b 、V c The maximum value U in max , minimum value U min ; The control unit is further configured to max , the minimum value U min , and the DC bus voltage U of the drive system of the permanent magnet synchronous motor dc to determine whether it has entered the overmodulation area, and if it has entered the overmodulation area, calculate the switching point of the three-phase voltage switching time through a preset SVPWM overmodulation algorithm, so as to determine the PWM duty cycle of the switch tube in the three-phase inverter of the permanent magnet synchronous motor drive system according to the calculated switching point of the three-phase voltage switching time, so as to realize the control of the SVPWM overmodulation of the permanent magnet synchronous motor.
8. A permanent magnet synchronous motor, characterized in that: include: The control device for a permanent magnet synchronous motor as claimed in claim 7.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the control method for the permanent magnet synchronous motor according to any one of claims 1 to 6.
10. 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 for controlling a permanent magnet synchronous motor according to any one of claims 1 to 6 are implemented.
