CN109302109B - Flux weakening control method and control device for permanent magnet synchronous motor - Google Patents
Flux weakening control method and control device for permanent magnet synchronous motor Download PDFInfo
- Publication number
- CN109302109B CN109302109B CN201811089589.1A CN201811089589A CN109302109B CN 109302109 B CN109302109 B CN 109302109B CN 201811089589 A CN201811089589 A CN 201811089589A CN 109302109 B CN109302109 B CN 109302109B
- Authority
- CN
- China
- Prior art keywords
- permanent magnet
- magnet synchronous
- synchronous motor
- axis current
- delta
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 79
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000003313 weakening effect Effects 0.000 title claims abstract description 35
- 230000004907 flux Effects 0.000 title claims description 11
- 239000013598 vector Substances 0.000 claims abstract description 50
- 238000004364 calculation method Methods 0.000 claims abstract description 12
- 238000012937 correction Methods 0.000 claims abstract description 5
- 230000009466 transformation Effects 0.000 claims description 3
- 238000013178 mathematical model Methods 0.000 claims description 2
- 230000003068 static effect Effects 0.000 claims 2
- 230000008569 process Effects 0.000 abstract description 10
- 230000004044 response Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 14
- 230000014509 gene expression Effects 0.000 description 13
- 238000005070 sampling Methods 0.000 description 8
- 238000004088 simulation Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/0085—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation specially adapted for high speeds, e.g. above nominal speed
- H02P21/0089—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation specially adapted for high speeds, e.g. above nominal speed using field weakening
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Ac Motors In General (AREA)
Abstract
本发明公开了一种永磁同步电机弱磁控制方法和控制装置,所述方法包括:利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。本发明在控制电机运行过程中对电机参数不敏感、计算量小且无需滤波器,从而受电机参数变化的影响小,系统响应延时小,性能较优。
The invention discloses a field weakening control method and a control device for a permanent magnet synchronous motor. The method comprises: using the cross field weakening coefficient k of the dq axis to determine the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor Make corrections to obtain Δ'id and Δ'i q ; calculate the voltage vector obtained by Δ'id and Δ'i q after passing through the d and q-axis current proportional-integral regulators respectively; output the corresponding drive signal according to the calculated voltage vector , to realize the control of the permanent magnet synchronous motor. The present invention is insensitive to motor parameters in the process of controlling motor operation, with small calculation amount and no need for filters, so that it is less affected by changes in motor parameters, the system response delay is small, and the performance is better.
Description
技术领域technical field
本发明涉及永磁同步电机控制技术领域,特别是指一种永磁同步电机弱磁控制方法和控制装置。The invention relates to the technical field of permanent magnet synchronous motor control, in particular to a field weakening control method and control device of a permanent magnet synchronous motor.
背景技术Background technique
在永磁同步电机调速控制领域,有许多应用场合需要电机的高速运行,但是由于电机反电动势是与定子磁链和电机转速成正比,所以当转速超过一定的值时有可能会因为反电动势(EMF)大于逆变器所能提供的最大定子电压而出现所谓的电压饱和。解决的方法是可以通过boost(升压)电路升高直流母线电压;另一种方法是采用弱磁控制,弱磁控制的基本思想是给定去磁的d轴电流从而减小EMF的大小,使系统有足够的电压保证电机运行在高速区。弱磁是一种简单有效的方法,从d轴电流的给定方面,学者提出了一些方法来实现电机的高速弱磁运行。In the field of permanent magnet synchronous motor speed control, there are many applications that require high-speed operation of the motor. However, since the motor back electromotive force is proportional to the stator flux linkage and the motor speed, when the speed exceeds a certain value, it may be caused by the back electromotive force. The so-called voltage saturation occurs when the (EMF) is greater than the maximum stator voltage that the inverter can provide. The solution is to increase the DC bus voltage through a boost circuit; another method is to use field weakening control. The basic idea of field weakening control is to reduce the size of the EMF by giving the demagnetized d-axis current. Make the system have enough voltage to ensure that the motor runs in the high-speed area. Field weakening is a simple and effective method. From the given aspect of the d-axis current, scholars have proposed some methods to realize the high-speed field weakening operation of the motor.
例如,一种查表法需要提前计算得到一个查找表,在系统实际运行过程中,通过查表的方式来获得d轴电流信息,但是电机运行状态实时变化,这种查表的方法虽然较为简单但是误差较大。For example, a look-up table method needs to calculate a look-up table in advance. During the actual operation of the system, the d-axis current information is obtained by looking up the table, but the running state of the motor changes in real time. Although this method of looking up the table is relatively simple But the error is bigger.
另一种方法则是基于永磁同步电机模型的解析法求解所需的d轴电流,这种方法虽然简单、快速但是它对于电机参数比较敏感。需要根据电压极限椭圆和电流极限圆来计算当前时刻的d轴弱磁电流,这种解析的方法需要用到电机的永磁体磁链、d轴电感等参数,在电机运行过程中计算结果受电机参数变化的影响较大。Another method is to solve the required d-axis current based on the analytical method of the permanent magnet synchronous motor model. Although this method is simple and fast, it is sensitive to the motor parameters. It is necessary to calculate the d-axis field weakening current at the current moment according to the voltage limit ellipse and the current limit circle. This analytical method requires the use of parameters such as the permanent magnet flux linkage and d-axis inductance of the motor. The calculation results are affected by the motor during the operation of the motor. The effect of parameter changes is greater.
此外,还有文献通过电压误差反馈、电流误差反馈等误差反馈的方式来获取d轴弱磁电流,但这些基于误差反馈的方法都需要设计滤波器,而滤波器的加入将会导致系统响应的延时,影响系统的性能。因此,需要开发一种对电机参数不敏感、计算量小同时不需要滤波器设计的性能较优的永磁同步电机弱磁控制方法。In addition, there are literatures to obtain the d-axis field weakening current by means of error feedback such as voltage error feedback, current error feedback, etc., but these methods based on error feedback all require the design of filters, and the addition of filters will cause the system response to change. The delay affects the performance of the system. Therefore, it is necessary to develop a field weakening control method of permanent magnet synchronous motor with better performance, which is insensitive to motor parameters, requires little calculation and does not require filter design.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提出一种永磁同步电机弱磁控制方法和控制装置,在控制电机运行过程中对电机参数不敏感、计算量小且无需滤波器,从而受电机参数变化的影响小,系统响应延时小,性能较优。In view of this, the purpose of the present invention is to propose a field weakening control method and control device for a permanent magnet synchronous motor, which is insensitive to motor parameters, has a small amount of calculation, and does not require a filter during the operation of the control motor, thus being affected by changes in motor parameters. The impact is small, the system response delay is small, and the performance is better.
基于上述目的本发明提供一种永磁同步电机弱磁控制方法,包括:Based on the above purpose, the present invention provides a field weakening control method for a permanent magnet synchronous motor, comprising:
利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;Correct the current error values Δid and Δi q of the d and q axes of the permanent magnet synchronous motor by using the cross field weakening coefficient k of the dq axis to obtain Δ′id and Δ′i q ;
计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;Calculate the voltage vector obtained after Δ′i d and Δ′i q pass through the d and q-axis current proportional-integral regulators respectively;
根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。The corresponding driving signal is output according to the calculated voltage vector, so as to realize the control of the permanent magnet synchronous motor.
进一步,在所述利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正前,还包括:Further, before the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor are corrected by using the dq axis cross field weakening coefficient k, the method further includes:
根据永磁同步电机的d轴电流参考值和q轴电流初始值以及当前的d轴电流采样值id和q轴电流采样值iq分别计算d、q轴的电流误差值Δid和Δiq。According to the d-axis current reference value of PMSM and q-axis current initial value and the current d-axis current sampling value id and q-axis current sampling value i q to calculate the current error values Δid and Δi q of the d and q axes, respectively.
其中,所述系数k为与所述永磁同步电机的转速成正比的系数。Wherein, the coefficient k is a coefficient proportional to the rotational speed of the permanent magnet synchronous motor.
其中,所述系数k=ωr·L;Wherein, the coefficient k=ω r ·L;
其中,ωr为所述永磁同步电机的转速,L为所述永磁同步电机的平均电感。Wherein, ω r is the rotational speed of the permanent magnet synchronous motor, and L is the average inductance of the permanent magnet synchronous motor.
或者,所述系数k根据如下表达式三计算得到:Or, the coefficient k is calculated according to the following expression 3:
其中,为设置的乘积系数,ωrbase为所述永磁同步电机的额定转速,ωr为所述永磁同步电机的实际转速。in, is the set product coefficient, ω rbase is the rated speed of the permanent magnet synchronous motor, and ω r is the actual speed of the permanent magnet synchronous motor.
本发明还提供一种永磁同步电机弱磁控制装置,包括:The present invention also provides a field weakening control device for the permanent magnet synchronous motor, comprising:
所述系数k根据如下表达式三计算得到:The coefficient k is calculated according to the following expression 3:
其中,为设置的乘积系数,ωrbase为所述永磁同步电机的额定转速,ωr为所述永磁同步电机的实际转速。in, is the set product coefficient, ω rbase is the rated speed of the permanent magnet synchronous motor, and ω r is the actual speed of the permanent magnet synchronous motor.
本发明实施例的技术方案中,利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。在此电机控制过程中,由于没有涉及电机的永磁体磁链、d轴电感等参数,对电机参数变化不敏感、受电机参数变化的影响小,且无需滤波器,计算量小,从而达到较优的性能。In the technical solution of the embodiment of the present invention, the current error values Δid and Δi q of the d and q axes of the permanent magnet synchronous motor are corrected by using the cross field weakening coefficient k of the d and q axes to obtain Δ'id and Δ'i q ; Calculate the voltage vector obtained by Δ'id and Δ'i q after passing through the d and q-axis current proportional-integral regulators respectively; output the corresponding drive signal according to the calculated voltage vector to realize the control of the permanent magnet synchronous motor. In this motor control process, since there is no permanent magnet flux linkage, d-axis inductance and other parameters involved in the motor, it is not sensitive to changes in motor parameters, and is less affected by changes in motor parameters. Filters are not needed, and the amount of calculation is small, thus achieving a relatively high performance. excellent performance.
附图说明Description of drawings
图1为本发明实施例提供的一种永磁同步电机调速控制系统的内部结构图;1 is an internal structure diagram of a permanent magnet synchronous motor speed control system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种永磁同步电机弱磁控制方法流程图;2 is a flowchart of a method for field weakening control of a permanent magnet synchronous motor provided by an embodiment of the present invention;
图3为本发明实施例提供的一种永磁同步电机弱磁控制装置的内部结构框图;3 is a block diagram of the internal structure of a field weakening control device for a permanent magnet synchronous motor provided by an embodiment of the present invention;
图4为本发明实施例提供的额定频率为100Hz的永磁同步电机带半载在10kHz采样率下,电机从5Hz直接升到150Hz的仿真结果曲线图;4 is a graph showing a simulation result of a permanent magnet synchronous motor with a rated frequency of 100 Hz provided by an embodiment of the present invention with a half-load sampling rate of 10 kHz, and the motor is directly increased from 5 Hz to 150 Hz;
图5为本发明实施例提供的仿真实验的示波器数据波形截图;5 is a screenshot of an oscilloscope data waveform of a simulation experiment provided by an embodiment of the present invention;
图6为本发明实施例提供的带载增加后的仿真实验的示波器数据波形截图;6 is a screenshot of the oscilloscope data waveform of the simulation experiment after the load is increased according to an embodiment of the present invention;
图7为本发明实施例提供的通过DA输出的在带载7.5Nm情况下,iq和Δid的示波器数据波形截图;Fig. 7 is provided by the embodiment of the present invention through the DA output under the load of 7.5Nm, Screenshots of oscilloscope data waveforms of i q and Δid ;
图8为本发明实施例提供的电机的转矩转速曲线图。FIG. 8 is a torque and rotational speed curve diagram of a motor provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to specific embodiments and accompanying drawings.
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but not to be construed as a limitation of the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It will further be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" It is only for the convenience of expression and should not be construed as a limitation to the embodiments of the present invention, and subsequent embodiments will not describe them one by one.
本发明的发明人考虑到,利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量,则不需要类似传统的基于电压幅值反馈或是电流误差反馈经过滤波器后得到d轴的弱磁电流参考值;而是根据实际的运行状况以及根据当前的工况,利用交叉弱磁系数k实现dq轴电流之间相互的调节和补偿。具体表现为当电机运行在高速区时,在实际d轴误差反馈电流的基础之上再减去q轴电流的误差反馈,提供更多的弱磁电流;同时在实际q轴误差反馈电流的基础之上再加上d轴电流的误差反馈,以保证给电机提供足够的出力电流,整个过程都是dq轴实际电流的相互调节,不需要滤波器的参与。具体实现过程为利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;进而,根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。在此电机控制过程中,由于没有涉及电机的永磁体磁链、d轴电感等参数,对电机参数变化不敏感、受电机参数变化的影响小,且无需滤波器,计算量小,从而达到较优的性能。The inventor of the present invention considers that the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor are corrected by using the dq-axis cross field weakening coefficient k to obtain Δ'id and Δ'i q ; calculate The voltage vector obtained by Δ′i d and Δ′i q after passing through the d and q-axis current proportional-integral regulators, respectively, does not require similar traditional voltage amplitude feedback or current error feedback through the filter to obtain the d-axis voltage vector. The reference value of the field weakening current; instead, the cross field weakening coefficient k is used to realize the mutual adjustment and compensation of the dq-axis currents according to the actual operating conditions and the current working conditions. The specific performance is that when the motor runs in the high-speed region, the error feedback of the q-axis current is subtracted from the actual d-axis error feedback current to provide more field weakening current; at the same time, on the basis of the actual q-axis error feedback current On top of this, the error feedback of the d-axis current is added to ensure that enough output current is provided to the motor. The whole process is the mutual adjustment of the actual current of the dq-axis, without the participation of the filter. The specific implementation process is to correct the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor by using the cross field weakening coefficient k of the dq axis to obtain Δ′id and Δ′i q ; calculate Δ′id and Δ′i q respectively through the d and q-axis current proportional-integral regulators to obtain the voltage vector; and then, according to the calculated voltage vector output corresponding driving signal, realize the control of the permanent magnet synchronous motor. In this motor control process, since there is no permanent magnet flux linkage, d-axis inductance and other parameters involved in the motor, it is not sensitive to changes in motor parameters, and is less affected by changes in motor parameters. Filters are not needed, and the amount of calculation is small, thus achieving a relatively high performance. excellent performance.
下面结合附图详细说明本发明实施例的技术方案。The technical solutions of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
本发明实施例提供的一种永磁同步电机调速控制系统的内部结构,如图1所示,包括:三相电压源、永磁同步电机、直流侧电容、三相二极管整流桥、电压电流采样电路、DSP控制器和逆变器及其驱动电路。The internal structure of a permanent magnet synchronous motor speed control system provided by an embodiment of the present invention, as shown in FIG. 1 , includes: a three-phase voltage source, a permanent magnet synchronous motor, a DC side capacitor, a three-phase diode rectifier bridge, a voltage and current Sampling circuit, DSP controller and inverter and its drive circuit.
其中,电压电流采样电路可以利用电压霍尔传感器和电流霍尔传感器分别采集直流侧电压以及永磁同步电机a、b相电流,采样信号经过信号调理电路后进入DSP控制器转换为数字信号。DSP控制器完成本发明所提出方法的运算,输出六路开关脉冲信号经过驱动电路后得到逆变器的六个开关管的最终驱动信号。Among them, the voltage and current sampling circuit can use the voltage Hall sensor and the current Hall sensor to collect the DC side voltage and the a and b phase currents of the permanent magnet synchronous motor respectively. The DSP controller completes the operation of the method proposed by the present invention, and outputs the six-channel switching pulse signals after passing through the driving circuit to obtain the final driving signals of the six switching tubes of the inverter.
本发明实施例提供的一种永磁同步电机弱磁控制方法的具体流程,如图2所示,包括如下步骤:A specific process of a method for field weakening control of a permanent magnet synchronous motor provided by an embodiment of the present invention, as shown in FIG. 2 , includes the following steps:
步骤S201:计算d、q轴的电流误差值Δid和Δiq。Step S201: Calculate the current error values Δi d and Δi q of the d and q axes.
本步骤中,根据永磁同步电机的d轴电流参考值和q轴电流初始值以及当前的d轴电流采样值id和q轴电流采样值iq分别计算d、q轴的电流误差值Δid和Δiq,即 In this step, according to the reference value of the d-axis current of the permanent magnet synchronous motor and q-axis current initial value and the current d-axis current sampling value id and q-axis current sampling value i q to calculate the current error values Δi d and Δi q of the d and q axes respectively, namely
其中,q轴电流初始值可以采用现有方法得到。例如,根据转矩指令得到 其中np为永磁同步电机的电机极对数,ψf为永磁体磁链,例如,np=4。而转矩指令可以通过速度环的PI(比例积分)调节器得到,如表达式一所示:Among them, the initial value of the q-axis current can be obtained using existing methods. For example, according to the torque command get where n p is the number of pole pairs of the permanent magnet synchronous motor, and ψ f is the permanent magnet flux linkage, for example, n p =4. while the torque command It can be obtained by the PI (proportional-integral) regulator of the speed loop, as shown in Expression 1:
表达式一中,ωr *为永磁同步电机的参考速度,ωr为永磁同步电机的实际速度,s为积分算子;Kp和Ki分别为速度环的PI调节器中的比例增益和积分增益。In
其中,初始给定的d轴电流参考值一般为零。Among them, the initial given d-axis current reference value Usually zero.
步骤S202:利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq。Step S202: Correct the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor by using the dq-axis cross field weakening coefficient k to obtain Δ'id and Δ'i q .
本步骤中,利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到修正后的d、q轴的电流误差值Δ′id和Δ′iq。In this step, the current error values Δi d and Δi q of the d and q axes of the permanent magnet synchronous motor are corrected by the cross field weakening coefficient k of the dq axis, and the corrected current error values Δ′id of the d and q axes are obtained. and Δ′i q .
其中,弱磁系数k是根据电流环传递函数设计的;电流环传递函数如表达式二所示:Among them, the field weakening coefficient k is designed according to the current loop transfer function; the current loop transfer function is shown in Expression 2:
表达式二中,R、L分别为永磁同步电机的定子电阻和平均电感,分别为系统计算电流环传递函数时的参考电流和参考电压矢量,j为复数运算算子,kg=Kp/L=Ki/R,Kp和Ki分别为系统电流环比例系数和积分系数,s为积分算子。In
k为与所述永磁同步电机的角速度成正比的系数,即随着速度正比增加的系数,当k=ωr·L时,可以得到电流环传递函数与复矢量PI一致,故k可以设计为:k=ωr·L,ωr为永磁同步电机的实际速度。k is a coefficient proportional to the angular velocity of the permanent magnet synchronous motor, that is, a coefficient that increases proportionally with the speed. When k=ω r ·L, the current loop transfer function can be obtained to be consistent with the complex vector PI, so k can be designed is: k=ω r ·L, where ω r is the actual speed of the permanent magnet synchronous motor.
更优地,考虑到实际系统的运行状态,系数k应该在一定的范围内,即有k(ωr)min=0,则k可以根据如下表达式三计算得到:More preferably, considering the operating state of the actual system, the coefficient k should be within a certain range, that is, k(ωr)min=0, then k can be calculated according to the following expression 3:
其中,是一个与实际系统有关的乘积系数,可由本领域技术人员根据经验设置,比如,可以设置ωrbase为永磁同步电机的额定速度。in, is a product coefficient related to the actual system, which can be set by those skilled in the art according to experience, for example, can be set ω rbase is the rated speed of the permanent magnet synchronous motor.
步骤S203:计算Δ′id和Δ′iq分别经过d、q轴电流PI(比例积分)调节器后得到的电压矢量。Step S203: Calculate the voltage vector obtained after Δ'id and Δ'i q pass through the d and q-axis current PI (proportional-integral) regulators, respectively.
本步骤中,可以根据永磁同步电机的数学模型中两相旋转坐标系上的电压方程,如表达式四、五所示,计算将Δ′id和Δ′iq分别经过d、q轴电流PI调节器后所得到的电压矢量ud和uq:In this step, according to the voltage equation on the two-phase rotating coordinate system in the mathematical model of the permanent magnet synchronous motor, as shown in
表达式四、五中,Lq、Ld、iq、id分别表示永磁同步电机的q轴电感、d轴电感、q轴电流和d轴电流,s为积分算子,ωr为永磁同步电机的电机实际速度;In
此外,表达式四中的Kp和Ki分别为d轴电流PI调节器的比例系数和积分系数;表达式五中的Kp和Ki分别为q轴电流PI调节器的比例系数和积分系数。In addition, K p and K i in
步骤S204:根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。Step S204 : output a corresponding driving signal according to the calculated voltage vector, so as to realize the control of the permanent magnet synchronous motor.
具体地,先将计算得到的电压矢量ud、uq,经过两相旋转到两相静止的坐标变换后,得到变换后的电压矢量uα和uβ;进而,将电压矢量uα和uβ经过空间矢量脉宽调制(SVPWM)后得到用以驱动逆变器的开关管的驱动信号,从而实现控制驱动所述永磁同步电机。Specifically, the voltage vectors u d and u q obtained by calculation are firstly transformed into two-phase rotation to two-phase stationary coordinates to obtain the transformed voltage vectors u α and u β ; further, the voltage vectors u α and u After β is subjected to space vector pulse width modulation (SVPWM), a drive signal for driving the switch tube of the inverter is obtained, so as to realize the control and drive of the permanent magnet synchronous motor.
基于上述的方法,本发明实施例提供的一种可以设置于DSP控制器中的永磁同步电机弱磁控制装置,内部结构框图,如图3所示,包括:电流误差修正单元301、电压矢量计算单元302、驱动信号输出单元303。Based on the above method, an embodiment of the present invention provides a permanent magnet synchronous motor field weakening control device that can be set in a DSP controller. The internal structural block diagram, as shown in FIG. 3 , includes: a current
其中,电流误差修正单元301用于利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;具体地,电流误差修正单元301可以根据永磁同步电机的d轴电流参考值和q轴电流初始值以及当前的d轴电流采样值id和q轴电流采样值iq分别计算d、q轴的电流误差值Δid和Δ′iq,进而利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq。Wherein, the current
电压矢量计算单元302用于计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;具体地,电压矢量计算单元302可以根据永磁同步电机的数学模型中两相旋转坐标系上的电压方程,计算将Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后所得到的电压矢量。The voltage
驱动信号输出单元303用于根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制;具体地,驱动信号输出单元303可以将计算得到的电压矢量ud、uq,经过两相旋转到两相静止的坐标变换后,得到变换后的电压矢量uα和uβ;将电压矢量uα和uβ经过空间矢量脉宽调制后得到用以驱动所述永磁同步电机的逆变器的开关管的驱动信号,实现控制驱动所述永磁同步电机。The drive
上述各单元的功能的具体实现方法可参考如图2所示流程中的各步骤方法,此处不再赘述。For the specific implementation method of the functions of the above units, reference may be made to the respective step methods in the flow as shown in FIG. 2 , which will not be repeated here.
本发明实施例的技术方案中,利用dq轴交叉弱磁系数k对永磁同步电机的d、q轴的电流误差值Δid和Δiq进行修正,得到Δ′id和Δ′iq;计算Δ′id和Δ′iq分别经过d、q轴电流比例积分调节器后得到的电压矢量;根据计算的电压矢量输出对应驱动信号,实现对所述永磁同步电机的控制。在此电机控制过程中,由于没有涉及电机的永磁体磁链、d轴电感等参数,对电机参数变化不敏感、受电机参数变化的影响小,且无需滤波器,计算量小,从而达到较优的性能。In the technical solution of the embodiment of the present invention, the current error values Δid and Δi q of the d and q axes of the permanent magnet synchronous motor are corrected by using the cross field weakening coefficient k of the d and q axes to obtain Δ'id and Δ'i q ; Calculate the voltage vector obtained by Δ'id and Δ'i q after passing through the d and q-axis current proportional-integral regulators respectively; output the corresponding drive signal according to the calculated voltage vector to realize the control of the permanent magnet synchronous motor. In this motor control process, since there is no permanent magnet flux linkage, d-axis inductance and other parameters involved in the motor, it is not sensitive to changes in motor parameters, and is less affected by changes in motor parameters. Filters are not needed, and the amount of calculation is small, thus achieving a relatively high performance. excellent performance.
本发明所提出方法的有效性可以通过仿真和实验来验证。The effectiveness of the method proposed in the present invention can be verified by simulation and experiments.
图4是额定频率为100Hz的永磁同步电机带半载在10kHz采样率下,电机从5Hz直接升到150Hz的仿真结果,即为0.1倍速启动直接升速到1.5倍额定转速的结果,由于实际系统最大电流设为10A,但是深度弱磁所以电流较大,故仿真与实验速度只升到1.5倍的额定。其中负载为5Nm(半载),其中通道1为电机转速指令值与实际值,通道2为电磁转矩,通道3为磁链,通道4为a相电流。从图4中可以看出,在电机转速从0.1额定转速启动直接升速到1.5倍额定转速时一开始电机还能运行在恒转矩区,当速度超过0.1倍额定转速时,电机运行在恒功率区,最后转矩稳定在负载转矩5Nm。Figure 4 shows the simulation results of a permanent magnet synchronous motor with a rated frequency of 100Hz and a half-load sampling rate of 10kHz, the motor is directly increased from 5Hz to 150Hz, that is, the result of direct acceleration from 0.1 times the speed to 1.5 times the rated speed. The maximum current of the system is set to 10A, but the current is relatively large due to deep field weakening, so the simulation and experimental speed are only increased to 1.5 times the rated value. The load is 5Nm (half load),
图5为图4仿真所对应的实验结果,示波器通道1对应为电机的转速,通道2为转矩,通道3对应为永磁体磁链,通道4对应为电机a相电流。图6为与图5所做的实验仅将带载增加为7.5Nm时对应的实验波形,通道对应与图5一致,证明本发明方法在电机不同负载情况下,均能实现良好的性能。Figure 5 shows the experimental results corresponding to the simulation in Figure 4. The
为了更直观观察在弱磁升速过程中dq轴电流的变化情况,图7为通过数模转换DA(Digital to Analog Convert)输出的在带载7.5Nm情况下,iq和Δid的波形,对应的通道1为速度波形,通道2为iq,通道3为通道4为Δid。In order to more intuitively observe the change of the dq-axis current during the acceleration process of weak field, Figure 7 shows the output through the digital-to-analog conversion DA (Digital to Analog Convert) under the load of 7.5Nm. The waveforms of i q and Δid , the corresponding
图8为电机的转矩转速曲线图,可以看出在基速以下时电机处于恒转矩区,基速以上电机处于恒功率区。Figure 8 is the torque and rotational speed curve diagram of the motor. It can be seen that the motor is in the constant torque region when the base speed is below, and the motor is in the constant power region above the base speed.
本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable ProgrammableRead-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically ErasableProgrammable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。As will be appreciated by those skilled in the art, the present invention includes apparatuses for performing one or more of the operations described in this application. These devices may be specially designed and manufactured for the required purposes, or they may include those known in general purpose computers. These devices have computer programs stored in them that are selectively activated or reconfigured. Such a computer program may be stored in a device (eg, computer) readable medium including, but not limited to, any type of medium suitable for storing electronic instructions and coupled to a bus, respectively Types of disks (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form that can be read by a device (eg, a computer).
本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block of these structural diagrams and/or block diagrams and/or flow diagrams, and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to a general-purpose computer, a professional computer or a processor of other programmable data processing methods to implement, so that the present invention can be executed by a processor of a computer or other programmable data processing method. The block or blocks specified in the block or blocks of the block diagrams and/or block diagrams and/or flow diagrams of the invention are disclosed.
本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, steps, measures, and solutions discussed in the present invention may be alternated, modified, combined or deleted. Further, other steps, measures, and solutions in the various operations, methods, and processes that have been discussed in the present invention may also be alternated, modified, rearranged, decomposed, combined, or deleted. Further, steps, measures and solutions in the prior art with various operations, methods, and processes disclosed in the present invention may also be alternated, modified, rearranged, decomposed, combined or deleted.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明的保护范围之内。Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; under the spirit of the present invention, the above embodiments or There may also be combinations between technical features in different embodiments, steps may be carried out in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089589.1A CN109302109B (en) | 2018-09-18 | 2018-09-18 | Flux weakening control method and control device for permanent magnet synchronous motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089589.1A CN109302109B (en) | 2018-09-18 | 2018-09-18 | Flux weakening control method and control device for permanent magnet synchronous motor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109302109A CN109302109A (en) | 2019-02-01 |
CN109302109B true CN109302109B (en) | 2020-09-22 |
Family
ID=65163278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811089589.1A Expired - Fee Related CN109302109B (en) | 2018-09-18 | 2018-09-18 | Flux weakening control method and control device for permanent magnet synchronous motor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109302109B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113348620B (en) * | 2019-02-15 | 2023-06-02 | 深圳配天智能技术研究院有限公司 | Motor control method and motor control device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4655871B2 (en) * | 2005-10-19 | 2011-03-23 | 株式会社日立製作所 | Field weakening vector control device and module for permanent magnet synchronous motor |
US8519648B2 (en) * | 2011-07-22 | 2013-08-27 | GM Global Technology Operations LLC | Temperature compensation for improved field weakening accuracy |
CN102324877B (en) * | 2011-09-15 | 2013-08-07 | 重庆长安汽车股份有限公司 | Car permanent magnet synchronous motor control system and method |
CN106452243B (en) * | 2016-10-26 | 2018-11-30 | 珠海格力电器股份有限公司 | Weak magnetic control system and method of permanent magnet synchronous motor, refrigerator controller and refrigerator |
-
2018
- 2018-09-18 CN CN201811089589.1A patent/CN109302109B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109302109A (en) | 2019-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5156352B2 (en) | AC motor control device | |
JP5781235B2 (en) | Synchronous machine controller | |
JP5964391B2 (en) | Motor control device for controlling current phase of dq three-phase coordinate | |
US9742333B2 (en) | Motor control device | |
JP6032143B2 (en) | Rotating machine control device | |
JP5168536B2 (en) | Motor control device | |
US9379655B2 (en) | Method of field weakening control of permanent magnet motor drivers | |
JPWO2016121751A1 (en) | Inverter control device and motor drive system | |
JP5267848B2 (en) | Motor control device | |
JP4008724B2 (en) | Motor control device | |
US10608560B2 (en) | Motor controller and a motor system | |
JP5863367B2 (en) | Inverter device | |
JP2018085840A (en) | Motor controller | |
JP5392530B2 (en) | Motor control device | |
CN110336504B (en) | Permanent magnet synchronous motor control method based on virtual signal injection and gradient descent method | |
JP4605254B2 (en) | Rotating machine control device | |
CN105591575A (en) | Non-salient-pole permanent magnet synchronous motor direct characteristic control system and control method | |
CN109302109B (en) | Flux weakening control method and control device for permanent magnet synchronous motor | |
CN103888039B (en) | A Torque Estimation Based Correction Method for Induction Motor Rotor Field Orientation Deviation | |
JP2014200148A (en) | Controller for rotary machine | |
JP7099226B2 (en) | Motor control device | |
JP2010063336A (en) | Controller for rotary machine | |
JP6848406B2 (en) | Inverter controller | |
JP2009100544A (en) | Motor controller | |
JP2013183558A (en) | Motor controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200922 |