A method and system for unified vector control of permanent magnet synchronous motor in full speed range
By adopting the unified vector control method in the full speed zone in the permanent magnet synchronous motor and utilizing the optimization operation of the current angle β, the maximum torque current ratio control in the medium and low speed zones and the field weakening control in the high speed zone are automatically realized, solving the basic speed problems in the existing technology. The problem of complex point detection and unstable speed zone switching improves the operating stability and speed range of the motor.
Patent Information
- Application Number
- CN202210296037.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-03-24
AI Technical Summary
The existing permanent magnet synchronous motor vector control technology needs to distinguish between medium and low speed zones and high speed zones, which increases the difficulty of programming and may cause system instability during the speed zone switching process.
This paper proposes a unified vector control method for the permanent magnet synchronous motor in the full-speed area. It does not need to calculate or detect the base speed point of the motor. By obtaining the stator three-phase current and rotor angle in real time, Clark transformation and improved Park transformation are performed to automatically realize medium and low speeds. The maximum torque current ratio control in the area and the field weakening control in the high-speed area use the optimization operation of the current angle β to satisfy the conditions of the motor electromagnetic torque equation, current limit circle and voltage limit ellipse, and realize unified vector control in the full-speed area.
It achieves the operating stability of the permanent magnet synchronous motor during mode switching in different speed zones, avoids the complexity of base speed point detection, automatically realizes control of the medium-low speed zone and high-speed zone, and improves the speed regulation range and stability of the motor. .
Smart Images

Figure CN114696696B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor vector control, and more specifically, to a full-speed unified vector control method and system for a permanent magnet synchronous motor. Background Art
[0002] In recent years, with the improvement of social awareness of energy conservation and environmental protection, the rapid development of power electronics technology, and the improvement of the cost-effectiveness of rare earth permanent magnet materials, permanent magnet synchronous motors have been widely used in rail transit, wind power generation, electric vehicles, indoor air purification, mine tunnel ventilation and other fields due to their simple structure, high efficiency and wide speed regulation range.
[0003] The existing permanent magnet synchronous motor vector control technology needs to calculate or detect the base speed point of the motor. When the motor's operating speed is lower than the base speed point, it is judged as a medium-low speed zone. When the motor's operating speed is higher than the base speed point, it is judged as a high-speed zone. The medium-low speed zone usually adopts the maximum torque current ratio control. The high-speed zone is limited by the DC terminal voltage of the converter. It is necessary to widen the motor's speed regulation range through weak magnetic control to improve the motor's operating stability in the high-speed zone. Commonly used weak magnetic control methods include formula calculation method, table lookup method, gradient descent method and voltage feedback compensation method. The above vector control technology process needs to distinguish between the medium-low speed zone and the high-speed zone, and then adopt different control strategies in the two areas, which increases the difficulty of programming, and the system instability may also occur during the adjustment and switching process of different speed zones.
[0004] In the prior art, a method for realizing the d =0, first determine the base speed of the motor, if the motor is below the base speed, perform maximum torque current ratio control; if the motor is above the base speed, perform field weakening control; wherein, when performing field weakening control, the dq axis of the traditional rotating coordinate system is rotated counterclockwise by an angle as a whole, and a new rotating coordinate system is virtualized to achieve the I based d =0, optimizes the unified vector control method, but this method needs to obtain the base speed point, and then program the motor vector control separately in the medium and low speed area and the high speed area based on the base speed point. It is also necessary to obtain the weak magnetic control data table of the relationship between torque, speed, current and current angle in advance through measurement and calibration, which is highly complex. Summary of the invention
[0005] In order to solve the problem that the existing vector control method of permanent magnet synchronous motor needs to obtain the base speed point of the motor and needs to distinguish different speed zones, which is highly complex, the present invention proposes a unified vector control method and system for the full-speed zone of permanent magnet synchronous motor, which does not need to calculate or detect the base speed point of the motor, and automatically realizes the maximum torque current ratio control in the medium and low speed zones and the weak magnetic control in the high speed zone, that is, realizes the unified vector control of the full-speed zone of the permanent magnet synchronous motor, and ensures the operating stability of the permanent magnet synchronous motor during the mode switching process in different speed zones.
[0006] In order to achieve the above technical effects, the technical solution of the present invention is as follows:
[0007] A full-speed unified vector control method for a permanent magnet synchronous motor, wherein the full-speed region includes a medium-low speed region and a high-speed region, and the full-speed unified vector control method comprises the following steps:
[0008] S1. Obtain the stator three-phase current, rotor angle θ and real-time speed ω of the permanent magnet synchronous motor in real time, perform Clark transformation on the stator three-phase current, and obtain the current i α andi β ;
[0009] S2. Rotate the dq axis coordinate system along the motor rotation direction by a current angle of β to obtain d new q new The rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ;
[0010] S3. Perform the optimization operation of the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value;
[0011] S4. Assume that the given signal of the permanent magnet synchronous motor d-axis regulator is i dref and fixed to 0, setting the sub-current limit to i smax , given speed is ω ref , based on real-time speed ω, given speed ω ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing;
[0012] S5. Calculate the given signal i of the d-axis regulator dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal udref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qref Perform limiting processing;
[0013] S6. Based on the rotor angle θ and the optimal current angle β obtained by S3, the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref , for u αref and u βref The spatial pulse modulation is performed to form a PWM signal, and the PWM signal is used to drive the inverter circuit to control the speed of the permanent magnet synchronous motor.
[0014] In the technical scheme, the dq-axis coordinate system is rotated as a whole along the rotation direction of the motor with a current angle of β to obtain a new rotating coordinate system, and the permanent magnet synchronous motor is vector controlled based on the improved Park transformation, the optimization operation of the current angle β, and the improved Park inverse transformation in sequence. Based on the characteristic that the motor efficiency is close to the highest at the working point closest to the center of the coordinate system when the working points in the medium and low speed zones and the high speed zones simultaneously satisfy the motor electromagnetic torque equation, the current limit circle equation, and the voltage limit ellipse equation, this set of current angle β optimization operations is used to automatically realize the maximum torque-to-current ratio control in the medium and low speed zones and the weak magnetic control in the high speed zone, without calculating or detecting the base speed point of the motor, and without judging whether the motor is working in the medium and low speed zone or the high speed zone, unified vector control in the full speed zone is realized.
[0015] Preferably, in the dq axis coordinate system, the steady-state voltage equation of the permanent magnet synchronous motor is:
[0016]
[0017] The electromagnetic torque equation of permanent magnet synchronous motor is:
[0018]
[0019] Among them, u d 、u q are the motor d-axis and q-axis voltages respectively; i d 、i q are the motor d and q axis currents respectively; R is the stator resistance; L d , L q are the d-axis and q-axis inductances respectively; ω is the electrical angular velocity of the motor, ψ m The permanent magnet flux of the motor; p nis the number of motor pole pairs. The d-axis and q-axis currents are affected by the maximum sustainable current i of the motor stator winding. max The limit satisfies the current limit circle equation:
[0020]
[0021] The d and q axis voltages are affected by the maximum output voltage u of the inverter. qmax The restriction satisfies the relationship:
[0022]
[0023] Among them, u dc is the DC bus voltage of the inverter, and the voltage limit ellipse equation is:
[0024]
[0025] Here, the voltage limit ellipse equation is obtained by considering that the voltage drop of the stator resistance in the high-speed zone can be ignored compared with the voltage drop of the d- and q-axis inductance.
[0026] Preferably, in step S2, the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression is:
[0027]
[0028] Among them, θ is the rotor angle and β is the current angle of overall rotation.
[0029] Here, due to the new d new q new The rotating coordinate system is obtained by rotating the traditional coordinate system by a current angle, so the traditional Park transformation is improved. The improved Park transformation matrix is:
[0030]
[0031] Preferably, the specific process of the current angle β optimization operation described in step S3 is:
[0032] S31. Assume that the search mark of the current angle β is βChangFLG, the current angle β is the initial value β0, the step size of each increase or decrease of the current angle β is Δβ, and the signal u dref The maximum value of u qmax ;
[0033] S32. Determine whether the real-time motor speed ω reaches the given speed ω ref , signal u qrefWhether the maximum value u is reached qmax If the given speed is not reached and the signal u qref The maximum value u is not reached qmax , the current speed of the synchronous motor is controlled by the speed regulator; if the motor speed ω reaches the given speed ω ref , or signal u qref Reach the maximum value u qmax , then enter the current angle β optimization search and execute step S33;
[0034] S33. Determine whether βChangFLG=1 is established. If so, increase the current angle β by Δβ. According to the q-axis feedback current i obtained in step S2, qnew The calculation expression of the q-axis feedback current actual value i is obtained. q1_new , execute step S34; otherwise, reduce the current angle β by Δβ to obtain the actual value of the q-axis feedback current i q2_new , execute step S35;
[0035] S34. Assume that the minimum q-axis current value found under the current working conditions is i qmin , judge i q1_new Is it less than i qmin , if so, let i qmin =i q1_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=0, and execute step S36;
[0036] S35. Assume that the minimum q-axis current value found under the current working conditions is i qmin , determine the actual value of the q-axis feedback current i q2_new Is it less than i qmin , if so, let i qmin =i q2_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=1, and execute step S36;
[0037] S36. Return to step S32 and repeat steps S32 to S35. When the recorded current angle β is set to the same value, the value is used as the optimal value of the current angle β.
[0038] Here, in the whole process, if i q_new When it is gradually reduced, refresh and save the current minimum value i qmin ; if i q_new If it no longer decreases, the βChangFLG value is changed to change the search direction of the β angle so that the β angle is maintained near the optimal value.
[0039] Preferably, in step S4, according to the limit value i of the stator current smax to iqref When the amplitude is limited, the limit value of the stator current i smax With signal i qref The relationship satisfies:
[0040] i qref ≤i smax .
[0041] Preferably, the step S5 is to process the signal u dref When the limiting process is performed, the signal u dref satisfy:
[0042]
[0043] Preferably, the step S5 is to process the signal u qref When the amplitude limiting process is performed, the signal u qref satisfy:
[0044]
[0045] Among them, u dc is the DC bus voltage of the inverter.
[0046] Preferably, in step S6, based on the rotor angle θ and the current angle β, the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref The expression is:
[0047]
[0048] Among them, θ is the rotor angle and β is the current angle of overall rotation.
[0049] The present invention also proposes a full-speed unified control system for a permanent magnet synchronous motor, the system comprising:
[0050] Stator current detection module, used to obtain the stator three-phase current of the permanent magnet synchronous motor in real time;
[0051] Position detection module, used to obtain the rotor angle θ and real-time speed ω in real time;
[0052] Clark transformation module is used to perform Clark transformation on the three-phase current of the stator to obtain the current i α andi β ;
[0053] Improved Park transformation module, used to rotate the dq axis coordinate system along the motor rotation direction to obtain d new q newThe rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ;
[0054] β optimization module is used to optimize the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value;
[0055] The speed regulator makes the motor run at a given speed to meet the user's requirements for the speed of the permanent magnet synchronous motor under different working conditions. ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing;
[0056] The current regulator includes a d-axis current regulator and a q-axis current regulator; wherein the d-axis current regulator has a given signal i dref Fixed to 0; used to calculate the d-axis current given signal i dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal u dref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qref Perform limiting processing;
[0057] Improve the Park inverse transformation module, based on the rotor angle θ and the optimal current angle β obtained by the β optimization module, and apply the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref ;
[0058] Space pulse modulation SVPWM module is used to αref and u βref Perform spatial pulse modulation to form a PWM signal;
[0059] The inverter circuit controls the speed of the permanent magnet synchronous motor based on the drive of the PWM signal.
[0060] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0061] The present invention proposes a full-speed unified vector control method and system for a permanent magnet synchronous motor, wherein the dq axis coordinate system is rotated as a whole along the rotation direction of the motor at a current angle of β to obtain a new rotating coordinate system, and vector control of the permanent magnet synchronous motor is performed based on an improved Park transformation, an optimization operation of the current angle β, and an improved Park inverse transformation in sequence, and based on the characteristic that the motor efficiency of the working point closest to the center of the coordinate system is close to the highest under the condition that the working points in the medium and low speed zones and the high speed zones simultaneously satisfy the electromagnetic torque equation of the motor, the current limit circle equation, and the voltage limit ellipse equation, the same set of optimization operations of the current angle β is used to automatically realize the maximum torque current ratio control in the medium and low speed zones and the weak magnetic control in the high speed zone, without calculating or detecting the base speed point of the motor, and without judging whether the motor is working in the medium and low speed zone or the high speed zone, unified vector control in the full speed zone can be realized, thereby ensuring the operation stability of the permanent magnet synchronous motor during the mode switching process in different speed zones. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A schematic diagram showing a flow chart of a method for unified vector control of a permanent magnet synchronous motor in full speed region proposed in Embodiment 1 of the present invention;
[0063] Figure 2 represents the conventional dq axis coordinate system proposed in Example 1 of the present invention and the d formed by rotating the current angle β new q new Schematic diagram of the rotating coordinate system;
[0064] Figure 3 A schematic diagram showing a current limit circle, a voltage limit ellipse and a constant electromagnetic torque curve cluster obtained based on the electromagnetic torque equation of a permanent magnet synchronous motor proposed in Embodiment 1 of the present invention;
[0065] Figure 4 A schematic diagram showing the optimization of the best working point in the medium and low speed range proposed in Example 1 of the present invention;
[0066] Figure 5 A schematic diagram showing the optimization of the best working point in the high-speed zone proposed in Embodiment 1 of the present invention;
[0067] Figure 6 A schematic diagram showing the process of optimizing the current angle β proposed in Embodiment 2 of the present invention;
[0068] Figure 7 A schematic diagram showing the circuit structure of a full-speed unified vector control system of a permanent magnet synchronous motor proposed in Example 3 of the present invention. DETAILED DESCRIPTION
[0069] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0070] In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the actual size;
[0071] It is understandable to those skilled in the art that descriptions of certain well-known contents in the drawings may be omitted.
[0072] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0073] The positional relationships described in the drawings are only for illustrative purposes and should not be construed as limiting the present patent;
[0074] Example 1
[0075] like Figure 1 As shown, this embodiment proposes a full-speed unified vector control method for a permanent magnet synchronous motor, and the full-speed area includes a medium-low speed area and a high-speed area of the permanent magnet synchronous motor. Figure 1 The unified vector control method in the full speed range includes the following steps:
[0076] S1. Obtain the stator three-phase current, rotor angle θ and real-time speed ω of the permanent magnet synchronous motor in real time, perform Clark transformation on the stator three-phase current, and obtain the current i α andi β ;
[0077] S2. Rotate the dq axis coordinate system along the motor rotation direction by a current angle of β to obtain d new q new The rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ;
[0078] S3. Perform the optimization operation of the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value;
[0079] S4. Assume that the given signal of the permanent magnet synchronous motor d-axis regulator is i dref and fixed to 0, setting the sub-current limit to i smax , given speed is ω ref , based on real-time speed ω, given speed ω ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing;
[0080] S5. Calculate the given signal i of the d-axis regulator dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal u dref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qref Perform limiting processing;
[0081] S6. Based on the rotor angle θ and the optimal current angle β obtained by S3, the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref , for u αref and u βref The spatial pulse modulation is performed to form a PWM signal, and the PWM signal is used to drive the inverter circuit to control the speed of the permanent magnet synchronous motor.
[0082] In this embodiment, the dq axis coordinate system is rotated along the motor rotation direction by a current angle β to obtain a new rotating coordinate system d new q new Then, vector control of the permanent magnet synchronous motor is performed based on the improved Park transformation, the optimization operation of the current angle β, and the improved Park inverse transformation. Here, based on the fact that the working points in the medium and low speed zones and the high speed zones simultaneously satisfy the motor electromagnetic torque equation, the current limit circle equation, and the voltage limit ellipse equation, the motor efficiency of the working point closest to the center of the coordinate system is close to the highest. This set of current angle β optimization operations is used to automatically realize the maximum torque-to-current ratio control in the medium and low speed zones and the weak magnetic control in the high speed zone. There is no need to calculate or detect the base speed point of the motor, and there is no need to judge whether the motor is working in the medium and low speed zone or the high speed zone, thereby realizing unified vector control in the full speed zone.
[0083] Figure 2 is the traditional dq axis coordinate system proposed in this embodiment and the d formed by rotating the current angle β new q new Schematic diagram of the rotating coordinate system. In the dq axis coordinate system, the steady-state voltage equation of the permanent magnet synchronous motor is:
[0084]
[0085] The electromagnetic torque equation of permanent magnet synchronous motor is:
[0086]
[0087] Among them, u d 、u q are the motor d-axis and q-axis voltages respectively; i d 、i q are the motor d and q axis currents respectively; R is the stator resistance; L d , L q are the d-axis and q-axis inductances respectively; ω is the electrical angular velocity of the motor, ψ m The permanent magnet flux of the motor; p n is the number of motor pole pairs.
[0088] The d-axis and q-axis currents are affected by the maximum sustainable current i of the motor stator winding. max The limit satisfies the current limit circle equation:
[0089]
[0090] The d and q axis voltages are affected by the maximum output voltage u of the inverter. qmax The restriction satisfies the relationship:
[0091]
[0092] Among them, u dc is the DC bus voltage of the inverter, and the voltage limit ellipse equation is:
[0093]
[0094] The voltage limit ellipse equation is derived by considering that the voltage drop of the stator resistance in the high-speed zone can be ignored compared with the voltage drop of the d- and q-axis inductance.
[0095] The current limit circle, voltage limit ellipse and constant electromagnetic torque curve cluster obtained based on the electromagnetic torque equation of the permanent magnet synchronous motor are drawn in a coordinate system with q-axis current as the vertical axis and d-axis current as the horizontal axis to obtain Figure 3 The traditional vector control of permanent magnet synchronous motor is Figure 3 Different control methods are used in the medium and low speed areas and the high speed area to find the optimal working point.
[0096] In the medium and low speed stage, the q-axis voltage has not reached the limit, so the d-axis and q-axis current regulators can be used to independently control the d-axis and q-axis currents. In this way, the point with the minimum synthetic current on each constant torque curve can be found to form the maximum torque current ratio (MTPA) curve, such as Figure 3 The MTPA curve consists of points A, B, and C; in the high-speed stage, if the motor needs to drive the T2 torque load to increase the speed to ω2, there are two possible working points, such as Figure 3D and E in the figure, where the synthetic current at point D is the smallest, and is the optimal operating point for vector control in the high-speed zone; similarly, if the motor driving the T3 torque load is to increase the speed to ω3, there are also two possible operating points, such as Figure 3 G and F in the figure, among which, the synthetic current at point G is the smallest, which is the best working point. The weak magnetic control in the high-speed area is to find similar best working points D and G under various working conditions.
[0097] Therefore, summarizing the characteristics of the optimal operating points A, B, C, D and G, it can be found that they are all the points closest to the center of the circle under the conditions of satisfying the current limit circle, voltage limit ellipse and electromagnetic torque equation. Based on this common feature, unified vector control of the motor in the full speed range can be achieved.
[0098] like Figure 4 As shown, in the medium and low speed range, the motor load torque is T1 and the speed is increased to ω1. The optimal working point A is obtained through MTPA control. At this time, the d and q axis currents are i d_A 、i q_A , where i d_A is a negative value, and the corresponding current angle is β A If Figure 4 The d and q axis current coordinate system (i d 、i q ) Rotate counterclockwise by an angle β A , that is, rotate forward an angle along the rotation direction of the motor to obtain a new coordinate system (i d_new 、i q_new ), then the current magnitude of the optimal working point A in the new coordinate system is:
[0099]
[0100] In d new q new Find the best working point A in the coordinate system, that is, at i d_new = 0, find the smallest i q_new Because d new q new The coordinate system is in the traditional coordinate system (i d 、i q ) Rotate counterclockwise by an angle β A Therefore, the Park transform formula and the Park inverse transform formula are improved.
[0101] The improved Park transformation formula is:
[0102]
[0103] The improved Park inverse transform formula is:
[0104]
[0105] The schematic diagram of optimizing the best working point in the high-speed area is as follows: Figure 5 As shown, in the high-speed area, the motor load torque is T2 and needs to be increased to ω4. The optimal working point D can be obtained through weak magnetic control. At this time, the d-axis and q-axis currents are i d_D 、i q_D , where i d_D is a large negative value, and the corresponding current angle is β D .Will Figure 5 The d and q axis current coordinate system (i d 、i q ) Rotate counterclockwise by an angle β D Get the new coordinate system (i d_new 、i q_new ), the current magnitude of the optimal working point D in the new coordinate system is:
[0106]
[0107] It is also necessary to improve the Park transformation formula and the Park inverse transformation formula. The improved Park transformation formula is:
[0108]
[0109] The improved Park inverse transform formula is:
[0110]
[0111] In summary, in step S2, the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression is:
[0112]
[0113] Among them, θ represents the rotor angle, β represents the current angle of overall rotation, that is, the improved Park transformation matrix is:
[0114]
[0115] In step S4, according to the limit value i of the stator current smax to i qref When the amplitude is limited, the limit value of the stator current i smax With signal i qref The relationship satisfies:
[0116] i qref ≤ismax .
[0117] Then, in step S5, the signal u dref When the limiting process is performed, the signal u dref satisfy:
[0118]
[0119] For signal u qref When the amplitude limiting process is performed, the signal u qref satisfy:
[0120]
[0121] Among them, u dc is the DC bus voltage of the inverter.
[0122] Step S6 is to calculate the signal u based on the rotor angle θ and the current angle β. qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref The expression is:
[0123]
[0124] Among them, θ represents the rotor angle, and β represents the current angle of overall rotation. The improved Park inverse transformation matrix is:
[0125]
[0126] Example 2
[0127] This embodiment describes the specific process of the current angle β optimization operation. In this embodiment, βChangFLG is the direction mark of the current angle β search. When βChangFLG=1, β increases, and when βChangFLG=0, β decreases. For the specific optimization process, see Figure 6 The specific process includes:
[0128] S31. Assume that the search mark of the current angle β is βChangFLG, the current angle β is the initial value β0, the step size of each increase or decrease of the current angle β is △β, and the signal u dref The maximum value of u qmax ;
[0129] S32. Determine whether the real-time motor speed ω reaches the given speed ω ref , signal u qref Whether the maximum value u is reached qmax If the given speed is not reached and the signal u qref The maximum value u is not reached qmax, the current speed of the synchronous motor is controlled by the speed regulator; if the motor speed ω reaches the given speed ω ref , or signal u qref Reach the maximum value u qmax , then enter the current angle β optimization search and execute step S33;
[0130] S33. Determine whether βChangFLG=1 is established. If so, increase the current angle β by △β. According to the q-axis feedback current i obtained in step S2 qnew The calculation expression of the q-axis feedback current actual value i is obtained. q1_new , execute step S34; otherwise, reduce the current angle β by △β to obtain the actual value i of the q-axis feedback current q2_new , execute step S35;
[0131] S34. Assume that the minimum q-axis current value found under the current working conditions is i qmin , judge i q1_new Is it less than i qmin , if so, let i qmin =i q1_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=0, and execute step S36;
[0132] S35. Assume that the minimum q-axis current value found under the current working conditions is i qmin , determine the actual value of the q-axis feedback current i q2_new Is it less than i qmin , if so, let i qmin =i q2_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=1, and execute step S36;
[0133] S36. Return to step S32 and repeat steps S32 to S35. When the recorded current angle β is set to the same value, the value is used as the optimal value of the current angle β.
[0134] Throughout the process, if q_new When it is gradually reduced, refresh and save the current minimum value i qmin ; if i q_new If it no longer decreases, change the βChangFLG value and thus change the search direction of the β angle, so that the β angle is maintained near the optimal value. There is no need to calculate or detect the base speed point of the motor, and there is no need to determine whether the motor is working in the medium and low speed zone or the high speed zone. In the new coordinate system, the same set of current angle optimization criteria can be used to automatically achieve the maximum torque current ratio control in the medium and low speed zone and the weak magnetic control in the high speed zone, thereby realizing unified vector control in the full speed zone.
[0135] Example 3
[0136] See also Figure 7 The present invention also proposes a full-speed unified control system for a permanent magnet synchronous motor, the system comprising:
[0137] Stator current detection module, used to obtain the stator three-phase current of the permanent magnet synchronous motor in real time;
[0138] Position detection module, used to obtain the rotor angle θ and real-time speed ω in real time;
[0139] Clark transformation module is used to perform Clark transformation on the three-phase current of the stator to obtain the current i α andi β ;
[0140] Improved Park transformation module, used to rotate the dq axis coordinate system along the motor rotation direction to obtain d new q new The rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ;
[0141] β optimization module is used to optimize the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value;
[0142] The speed regulator makes the motor run at a given speed to meet the user's requirements for the speed of the permanent magnet synchronous motor under different working conditions. ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing;
[0143] The current regulator includes a d-axis current regulator and a q-axis current regulator; wherein the d-axis current regulator has a given signal i dref Fixed to 0; calculate the d-axis current given signal i dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal u dref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qrefPerform limiting processing; Figure 7 PI in.
[0144] Improve the Park inverse transformation module, based on the rotor angle θ and the optimal current angle β obtained by the β optimization module, and apply the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref ;
[0145] Space pulse modulation SVPWM module is used to αref and u βref Perform spatial pulse modulation to form a PWM signal;
[0146] The inverter circuit controls the speed of the permanent magnet synchronous motor based on the drive of the PWM signal.
[0147] The unified control system in all speed areas can also calculate the given speed ω ref The difference △ω between the real-time speed ω of the permanent magnet synchronous motor.
[0148] The embodiments are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for unified vector control of a permanent magnet synchronous motor in full speed range, characterized in that: The full speed range includes a medium and low speed range and a high speed range, and the full speed range unified vector control method includes the following steps: S1. Obtain the stator three-phase current, rotor angle θ and real-time speed ω of the permanent magnet synchronous motor in real time, perform Clark transformation on the stator three-phase current, and obtain the current i α andi β ; S2. Rotate the dq axis coordinate system along the motor rotation direction by a current angle of β to obtain d new q new The rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ; S3. Perform the optimization operation of the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value; S4. Assume that the given signal of the permanent magnet synchronous motor d-axis regulator is i dref and fixed to 0, setting the sub-current limit to i smax , given speed is ω ref , based on real-time speed ω, given speed ω ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing; S5. Calculate the given signal i of the d-axis regulator dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal u dref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qref Perform limiting processing; S6. Based on the rotor angle θ and the optimal current angle β obtained by S3, the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref And voltage u βref , for u αref and u βref The spatial pulse modulation is performed to form a PWM signal, and the PWM signal is used to drive the inverter circuit to control the speed of the permanent magnet synchronous motor.
2. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 1, characterized in that: In the dq axis coordinate system, the steady-state voltage equation of the permanent magnet synchronous motor is: The electromagnetic torque equation of permanent magnet synchronous motor is: Among them, u d 、u q are the motor d-axis and q-axis voltages respectively; i d 、i q are the motor d and q axis currents respectively; R is the stator resistance; L d , L q are the d-axis and q-axis inductances respectively; ω is the electrical angular velocity of the motor, ψ m The permanent magnet flux of the motor; p n is the number of motor pole pairs.
3. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 2, characterized in that: The d-axis and q-axis currents are affected by the maximum sustainable current i of the motor stator winding. max The limit satisfies the current limit circle equation: The d and q axis voltages are affected by the maximum output voltage u of the inverter. qmax The restriction satisfies the relationship: Among them, u dc is the DC bus voltage of the inverter, and the voltage limit ellipse equation is:
4. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 1, characterized in that: In step S2, the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression is: Among them, θ is the rotor angle and β is the current angle of overall rotation.
5. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 4, characterized in that: The specific process of the current angle β optimization operation described in step S3 is: S31. Assume that the search mark of the current angle β is βChangFLG, the current angle β is the initial value β0, the step size of each increase or decrease of the current angle β is Δβ, and the signal u dref The maximum value of u qmax ; S32. Determine whether the real-time motor speed ω reaches the given speed ω ref , signal u qref Whether the maximum value u is reached qmax If the given speed is not reached and the signal u qref The maximum value u is not reached qmax , the current speed of the synchronous motor is controlled by the speed regulator; if the motor speed ω reaches the given speed ω ref , or signal u qref Reach the maximum value u qmax , then enter the current angle β optimization search and execute step S33; S33. Determine whether βChangFLG=1 is established. If so, increase the current angle β by Δβ. According to the q-axis feedback current i obtained in step S2, qnew The calculation expression of the q-axis feedback current actual value i is obtained. q1_new , execute step S34; Otherwise, reduce the current angle β by Δβ to obtain the actual value of the q-axis feedback current i q2_new , execute step S35; S34. Assume that the minimum q-axis current value found under the current working conditions is i qmin , judge i q1_new Is it less than i qmin , if so, let i qmin =i q1_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=0, and execute step S36; S35. Assume that the minimum q-axis current value found under the current working conditions is i qmin , determine the actual value of the q-axis feedback current i q2_new Is it less than i qmin , if so, let i qmin =i q2_new , record the current current angle β, and execute step S36; otherwise, set βChangFLG=1, and execute step S36; S36. Return to step S32 and repeat steps S32 to S35. When the recorded current angle β is set to the same value, the value is used as the optimal value of the current angle β.
6. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 5, characterized in that: In step S4, according to the limit value i of the stator current smax to i qref When the amplitude is limited, the limit value of the stator current i smax With signal i qref The relationship satisfies: i qref ≤i smax 。 7. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 6, characterized in that: Step S5 is to process the signal u dref When the limiting process is performed, the signal u dref satisfy:
8. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 7, characterized in that: Step S5 is to process the signal u qref When the amplitude limiting process is performed, the signal u qref satisfy: Among them, u dc is the DC bus voltage of the inverter.
9. The method for unified vector control of a permanent magnet synchronous motor in full speed range according to claim 8, characterized in that: Step S6 is to calculate the signal u based on the rotor angle θ and the current angle β. qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref and voltage u βref The expression is: Among them, θ is the rotor angle and β is the current angle of overall rotation.
10. A full-speed unified control system for a permanent magnet synchronous motor, characterized in that: The full-speed zone unified control system comprises: Stator current detection module, used to obtain the stator three-phase current of the permanent magnet synchronous motor in real time; Position detection module, used to obtain the rotor angle θ and real-time speed ω in real time; Clark transformation module is used to perform Clark transformation on the three-phase current of the stator to obtain the current i α andi β ; Improved Park transformation module, used to rotate the dq axis coordinate system along the motor rotation direction to obtain d new q new The rotating coordinate system, based on the rotor angle θ and the current angle β, is used to calculate the current i α andi β Perform the improved Park transformation to obtain the d-axis feedback current i dnew and q-axis feedback current i qnew The calculation expression of ; β optimization module is used to optimize the current angle β: adjust the current angle β, when the q-axis feedback current i qnew When it is minimum, the current angle β is the optimal value; The speed regulator makes the motor run at a given speed to meet the user's requirements for the speed of the permanent magnet synchronous motor under different working conditions. ref , get the q-axis regulator given signal i qref , according to the limit value of stator current i smax to i qref Perform limiting processing; The current regulator includes a d-axis current regulator and a q-axis current regulator; wherein the d-axis current regulator has a given signal i dref Fixed to 0; d-axis current given signal i dref and the d-axis feedback current i dnew Deviation, PI control is performed on the deviation, and the output signal u dref , and for the signal u dref Perform amplitude limiting processing; calculate the q-axis current given signal i qref With the q-axis feedback current i qnew Deviation, PI control is performed on the deviation, and the output signal u qref , and for the signal u qref Perform limiting processing; Improve the Park inverse transformation module, based on the rotor angle θ and the optimal current angle β obtained by the β optimization module, and apply the signal u qref and signal u qref Perform an improved Park inverse transform to obtain the voltage u αref and voltage u βref ; Space pulse modulation SVPWM module is used to αref and u βref Perform spatial pulse modulation to form a PWM signal; The inverter circuit controls the speed of the permanent magnet synchronous motor based on the drive of the PWM signal.
