[go: up one dir, main page]

CN111769779A - PMSM direct torque control method based on improved Luenberger observer - Google Patents

PMSM direct torque control method based on improved Luenberger observer Download PDF

Info

Publication number
CN111769779A
CN111769779A CN202010511847.1A CN202010511847A CN111769779A CN 111769779 A CN111769779 A CN 111769779A CN 202010511847 A CN202010511847 A CN 202010511847A CN 111769779 A CN111769779 A CN 111769779A
Authority
CN
China
Prior art keywords
speed
stator
motor
observer
permanent magnet
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.)
Withdrawn
Application number
CN202010511847.1A
Other languages
Chinese (zh)
Inventor
金石
金无痕
于思洋
毕猛
王博
宋顺千
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang University of Technology
Original Assignee
Shenyang University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenyang University of Technology filed Critical Shenyang University of Technology
Publication of CN111769779A publication Critical patent/CN111769779A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/30Direct torque control [DTC] or field acceleration method [FAM]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/0004Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/0086Arrangements or methods for the control of AC motors characterised by a control method other than vector control specially adapted for high speeds, e.g. above nominal speed
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/04Arrangements or methods for the control of AC motors characterised by a control method other than vector control specially adapted for damping motor oscillations, e.g. for reducing hunting
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/12Observer control, e.g. using Luenberger observers or Kalman filters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/022Synchronous motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The PMSM direct torque control method based on the improved Luenberger observer comprises the following steps: respectively carrying out Clark coordinate transformation on a stator three-phase current signal and a stator three-phase voltage signal of a high-speed permanent magnet synchronous motor (9) to obtain a stator current signal and a stator voltage signal under a two-phase static DQ coordinate system; secondly, calculating to obtain an estimated electromagnetic torque value; at the same time, the stator current signal and the stator voltage signal and the given control system rotating speed signalObtaining the difference value between the estimated value and the reference torque of the motor rotor through an improved Luenberger observer algorithm, and adjusting the difference value to the reference torque of the motor through a rotating speed PI regulator; (III) obtaining a stator flux linkage increment through a stator flux linkage hysteresis comparator and obtaining a control signal through a traditional bang-bang controller; the method has the advantages that the observation rotating speed deviation existing in the traditional observation algorithm is corrected by introducing the relation function, the high-frequency pulsation error of the observation rotating speed is eliminated by introducing the low-pass filter, and the accurate observation of the rotating speed of the motor rotor is realized.

Description

基于改进型Luenberger观测器的PMSM直接转矩控制方法PMSM direct torque control method based on improved Luenberger observer

技术领域:Technical field:

本发明属于高速电机无速度传感器控制领域,具体涉及一种高速永磁同步电机直接转矩控制方法及改进型Luenberger观测器算法。The invention belongs to the field of speed sensorless control of a high-speed motor, and in particular relates to a direct torque control method of a high-speed permanent magnet synchronous motor and an improved Luenberger observer algorithm.

背景技术:Background technique:

高速永磁同步电动机与常速电机相比具有很多优点:转动惯量小、功率密度大、体积小、工作效率高以及动态响应速度快,因此在高精密加工和高性能机械中应用越来越广泛。直接转矩控制技术的主要思想是在两相静止DQ坐标系下直接控制交流电机的转矩和磁链,使得电机的定子磁链近似为圆形。相较于矢量控制策略,直接转矩控制策略在控制过程中取消了复杂的旋转坐标变换过程,算法简单,系统动态响应快,非常适合应用到高速永磁同步电机的控制系统中。Compared with constant-speed motors, high-speed permanent magnet synchronous motors have many advantages: small rotational inertia, large power density, small size, high work efficiency and fast dynamic response speed, so they are more and more widely used in high-precision machining and high-performance machinery. . The main idea of direct torque control technology is to directly control the torque and flux linkage of the AC motor in the two-phase static DQ coordinate system, so that the stator flux linkage of the motor is approximately circular. Compared with the vector control strategy, the direct torque control strategy cancels the complex rotation coordinate transformation process in the control process. The algorithm is simple and the system dynamic response is fast. It is very suitable for application in the control system of high-speed permanent magnet synchronous motors.

为了精准地控制高速永磁同步电机,需要时刻获取电机转子的转速信息。安装在转子轴上的速度传感器(如测速发电机、光电编码器、旋转变压器等)可以检测到转子的实时转速,然而复杂的速度传感器在高速电机控制系统中有以下诸多问题:由于高速电机转子转速较高,高精度的速度传感器会增加系统的体积和成本;高速电机运行中会产生很多的高频噪声信号,因此需要引入滤波设备来滤除高次谐波信号,进而增加了系统的成本;安装在高速永磁同步电机转子上的速度传感器会增加转子的转动惯量,进而增加系统的能量损耗,并且速度传感器在某些恶劣的环境下使用会大大缩短其寿命,有些场合甚至不允许安装速度传感器。In order to accurately control the high-speed permanent magnet synchronous motor, it is necessary to obtain the speed information of the motor rotor at all times. The speed sensor installed on the rotor shaft (such as tachogenerator, photoelectric encoder, resolver, etc.) can detect the real-time speed of the rotor. However, the complex speed sensor has the following problems in the high-speed motor control system: due to the high-speed motor rotor The high-speed, high-precision speed sensor will increase the volume and cost of the system; a lot of high-frequency noise signals will be generated during the operation of the high-speed motor, so a filtering device needs to be introduced to filter out the high-order harmonic signals, thereby increasing the cost of the system ;The speed sensor installed on the rotor of the high-speed permanent magnet synchronous motor will increase the rotational inertia of the rotor, thereby increasing the energy loss of the system, and the use of the speed sensor in some harsh environments will greatly shorten its life, and some occasions are even not allowed to install speed sensor.

由于高速永磁同步电机转子转速高,可用于高速永磁同步电机转子速度检测的传感器很少,为了提高高速永磁同步电机控制系统性能,需采用无速度传感器技术对其转子转速进行估算。一些专家和学者开展了很多关于无速度传感器技术的研究。无速度传感器技术可以根据定子绕组中的电流、电压、电阻、电感等参数来估算转子转速,取代了安装在电机转子上的速度传感器。Luenberger观测器相比其他无速度传感器算法具有算法相对简单、动态响应快、鲁棒性好等优点,非常适合应用于检测高速永磁同步电机的转子转速,从而提升系统的控制性能。因此开展高速永磁同步电机无传感器技术的研究具有重要的理论和实用价值。Due to the high rotor speed of the high-speed permanent magnet synchronous motor, there are few sensors that can be used for the detection of the rotor speed of the high-speed permanent magnet synchronous motor. Some experts and scholars have carried out a lot of research on speed sensorless technology. The speed sensorless technology can estimate the rotor speed based on parameters such as current, voltage, resistance, inductance in the stator winding, replacing the speed sensor installed on the motor rotor. Compared with other speed sensorless algorithms, the Luenberger observer has the advantages of relatively simple algorithm, fast dynamic response, and good robustness. It is very suitable for detecting the rotor speed of high-speed permanent magnet synchronous motors, thereby improving the control performance of the system. Therefore, the research on sensorless technology of high-speed permanent magnet synchronous motor has important theoretical and practical value.

发明内容SUMMARY OF THE INVENTION

发明目的:Purpose of invention:

本发明提供一种高速永磁同步电机直接转矩控制方法及改进型Luenberger观测器算法,其目的是解决高速永磁同步电机控制系统电机转子观测转速存在误差及转速脉动的问题。The invention provides a direct torque control method of a high-speed permanent magnet synchronous motor and an improved Luenberger observer algorithm, which aim to solve the problems of error and speed pulsation in the observed rotation speed of the motor rotor of a high-speed permanent magnet synchronous motor control system.

技术方案:Technical solutions:

基于改进Luenberger观测器的高速永磁同步电机直接转矩控制方法,其特征在于:该方法步骤如下:The direct torque control method of high-speed permanent magnet synchronous motor based on the improved Luenberger observer is characterized in that: the method steps are as follows:

(一)、将高速永磁同步电机(9)的定子三相电流信号iA、iB、iC和定子三相电压信号uA、uB、uC分别经过Clark坐标变换得到两相静止DQ坐标系下的定子电流信号iD、iQ和定子电压信号uD、uQ(1), the stator three-phase current signal i A , i B , i C and the stator three-phase voltage signal u A , u B , u C of the high-speed permanent magnet synchronous motor (9) are respectively transformed by Clark coordinates to obtain a two-phase static state Stator current signals i D , i Q and stator voltage signals u D , u Q in the DQ coordinate system;

(二)、定子电流信号iD、iQ和定子电压信号uD、uQ经转换得到定子磁链矢量在两相静止DQ坐标系下的分量ψD、ψQ及定子磁链幅值|ψS|;定子电流信号iD、iQ和分量ψD、ψQ信号根据转矩估算方程te=p0DiQQiD),p0为电机极对数,计算得到电磁转矩估算值te;同时,定子电流信号iD、iQ和定子电压信号uD、uQ以及给定控制系统转速信号n,经改进型Luenberger观测器算法得到电机转子转速估算值n*,n与n*的差值经转速PI调节器到电机参考转矩te *(2) The stator current signals i D , i Q and the stator voltage signals u D , u Q are converted to obtain the components ψ D , ψ Q of the stator flux linkage vector in the two-phase static DQ coordinate system and the stator flux linkage amplitude | ψ S |; stator current signals i D , i Q and components ψ D , ψ Q signals are based on the torque estimation equation te = p 0D i QQ i D ), where p 0 is the number of motor pole pairs, The electromagnetic torque estimation value te is obtained by calculation; at the same time, the stator current signals i D , i Q and the stator voltage signals u D , u Q and the given control system speed signal n are obtained by the improved Luenberger observer algorithm to obtain the motor rotor speed estimation The value n * , the difference between n and n * goes through the speed PI regulator to the motor reference torque t e * ;

(三)、“(二)”步骤中,电机参考转矩与电磁转矩估算值之差经转矩滞环比较器得到转矩增量Δt;定义电机交轴等效电感Lq与直轴等效电感Ld的比值为凸极率ρ,参考定子磁链幅值|ψS *|为一常数,满足|ψS *|≤ρ/(ρ-1)ψf,ψf为永磁体转子产生的磁链矢量幅值;|ψS *|与|ψS|之差经定子磁链滞环比较器得到定子磁链增量Δψ;Δψ和Δt信号经过传统砰-砰控制器(6)得到控制信号(△t是参考转矩与反馈转矩差值),最后由控制信号驱动电压型逆变器(8)控制高速永磁同步电机(9),完成对高速永磁同步电机的控制。In steps (3) and “(2)”, the difference between the motor reference torque and the estimated value of the electromagnetic torque is obtained through the torque hysteresis comparator to obtain the torque increment Δt; define the equivalent inductance L q of the motor quadrature axis and the direct axis The ratio of the equivalent inductance L d is the salient pole ratio ρ, and the reference stator flux linkage amplitude |ψ S * | is a constant, satisfying |ψ S * |≤ρ/(ρ-1)ψ f , where ψ f is the permanent magnet The magnitude of the flux linkage vector generated by the rotor; the difference between |ψ S * | and |ψ S | obtains the stator flux linkage increment Δψ through the stator flux linkage hysteresis comparator; Δψ and Δt signals pass through the traditional bang-bang controller (6 ) to obtain the control signal (Δt is the difference between the reference torque and the feedback torque), and finally the voltage-type inverter (8) is driven by the control signal to control the high-speed permanent magnet synchronous motor (9), and the high-speed permanent magnet synchronous motor is completed. control.

(二)步骤中经改进型Luenberger观测器算法得到电机转子转速估算值的步骤如下:(2) The steps of obtaining the estimated value of the rotor speed of the motor through the improved Luenberger observer algorithm in the step are as follows:

uD、iD经DQ坐标系下的反电势D轴分量计算得到D轴反电势估算分量

Figure BDA00025286568300000212
uQ、iQ经反电势Q轴分量计算得到Q轴反电势估算分量
Figure BDA0002528656830000027
Figure BDA0002528656830000028
Figure BDA0002528656830000029
信号通过低通滤波法减小反电势分量波形的脉动,得到优化后的反电势分量信号
Figure BDA00025286568300000210
Figure BDA00025286568300000211
;u D , i D are calculated by the D-axis component of the back-EMF in the DQ coordinate system to obtain the estimated component of the D-axis back-EMF
Figure BDA00025286568300000212
u Q and i Q are calculated by the Q-axis component of the back-EMF to obtain the estimated component of the Q-axis back-EMF
Figure BDA0002528656830000027
Will
Figure BDA0002528656830000028
and
Figure BDA0002528656830000029
The pulsation of the back EMF component waveform is reduced by the low-pass filtering method, and the optimized back EMF component signal is obtained.
Figure BDA00025286568300000210
and
Figure BDA00025286568300000211
;

Luenberger观测器总参数ke、第二参数ke2、高速永磁同步电机转子永磁体产生的磁链幅值|ψf|、电机定子电感L、反电势分量

Figure BDA00025286568300000213
Figure BDA00025286568300000214
一同经Luenberger观测器转子转速计算得到观测器观测转速n,,将观测转速和给定控制系统转速信号n,经改进型Luenberger观测器转速修正算法得到电机转子转速估算值n*。The total parameter ke of the Luenberger observer, the second parameter ke2 , the flux linkage amplitude generated by the permanent magnet of the rotor of the high-speed permanent magnet synchronous motor |ψ f |, the motor stator inductance L, the back EMF component
Figure BDA00025286568300000213
and
Figure BDA00025286568300000214
At the same time, the observed speed n of the observer is obtained by calculating the rotor speed of the Luenberger observer, and the estimated value of the motor rotor speed n * is obtained by the improved Luenberger observer speed correction algorithm by combining the observed speed and the given control system speed signal n.

DQ坐标系下的反电势分量算法如下:设计反电动势观测器,观测器方程为(D轴分量和反电势Q轴分量通用):The back-EMF component algorithm in the DQ coordinate system is as follows: Design a back-EMF observer, and the observer equation is (the D-axis component and the back-EMF Q-axis component are common):

Figure BDA0002528656830000021
Figure BDA0002528656830000021

Figure BDA0002528656830000022
Figure BDA0002528656830000022

式中:is=[iD,iQ]T为两相静止DQ坐标系下的定子电流矢量;

Figure BDA0002528656830000023
为两相静止DQ坐标系下的定子电流估算矢量;L为定子电感;
Figure BDA0002528656830000024
为两相静止DQ坐标系下的定子反电动势估算矢量;es=[eD,eQ]T为两相静止DQ坐标系下的定子反电动势矢量;us=[uD,uQ]T为两相静止DQ坐标系下的定子电压向量;
Figure BDA0002528656830000025
为定子电流估算矢量的瞬时变化率;ke1,ke2为Luenberger观测器的增益系数;R为电机定子电阻;In the formula: i s = [i D , i Q ] T is the stator current vector in the two-phase static DQ coordinate system;
Figure BDA0002528656830000023
is the estimated vector of the stator current in the two-phase static DQ coordinate system; L is the stator inductance;
Figure BDA0002528656830000024
is the stator back EMF estimation vector in the two-phase static DQ coordinate system; es = [e D , e Q ] T is the stator back EMF vector in the two-phase static DQ coordinate system; u s = [u D , u Q ] T is the stator voltage vector in the two-phase static DQ coordinate system;
Figure BDA0002528656830000025
is the instantaneous rate of change of the stator current estimation vector; k e1 , k e2 are the gain coefficients of the Luenberger observer; R is the motor stator resistance;

定子反电动势估算方程可由式(2)减(1)得到The stator back EMF estimation equation can be obtained by subtracting (1) from equation (2)

Figure BDA0002528656830000026
Figure BDA0002528656830000026

设ke=ke1+ke2,观测器的稳定条件为ke>0,此观测器的特征值为-ke/L,ke值越大,观测器的收敛速度越快,但也会带来更大的超调量。式(3)表示为如下形式Set ke = ke1 + ke2 , the stability condition of the observer is ke > 0, the eigenvalue of this observer is -ke /L, the larger the value of ke , the faster the convergence speed of the observer, but also will lead to greater overshoot. Formula (3) is expressed in the following form

Figure BDA0002528656830000031
Figure BDA0002528656830000031

Luenberger观测器转子转速计算得到观测器观测转速n,算法如下:反电动势

Figure BDA0002528656830000032
的相位角
Figure BDA0002528656830000033
由反电动势估算值
Figure BDA0002528656830000034
的相位角
Figure BDA0002528656830000035
和补偿角θcomp相加求出The rotor speed of the Luenberger observer is calculated to obtain the observed speed n of the observer. The algorithm is as follows: Back EMF
Figure BDA0002528656830000032
the phase angle of
Figure BDA0002528656830000033
Estimated from back EMF
Figure BDA0002528656830000034
the phase angle of
Figure BDA0002528656830000035
Add the compensation angle θ comp to get

Figure BDA0002528656830000036
Figure BDA0002528656830000036

式中in the formula

Figure BDA0002528656830000037
Figure BDA0002528656830000037

Figure BDA0002528656830000038
Figure BDA0002528656830000038

Figure BDA0002528656830000039
是估测反电动势矢量模值;
Figure BDA0002528656830000039
is the estimated back-EMF vector modulus value;

根据图3利用勾股定理可得According to Figure 3, using the Pythagorean theorem, we can get

Figure BDA00025286568300000310
Figure BDA00025286568300000310

式中in the formula

Figure BDA00025286568300000311
Figure BDA00025286568300000311

求解式(9)即可得到转子角速度ω的估算公式Solving equation (9), the estimation formula of rotor angular velocity ω can be obtained

Figure BDA00025286568300000312
Figure BDA00025286568300000312

因为电机转子实际角速度ω的精确值是无法被直接检测到的,所以θcomp估算公式中的ω应为

Figure BDA00025286568300000313
即Since the exact value of the actual angular velocity ω of the motor rotor cannot be detected directly, ω in the estimation formula of θ comp should be
Figure BDA00025286568300000313
which is

Figure BDA00025286568300000314
Figure BDA00025286568300000314

电机转子角速度估算值

Figure BDA00025286568300000315
与电机转子转速观测值n’之间存在固定的关系:
Figure BDA00025286568300000316
Motor rotor angular velocity estimate
Figure BDA00025286568300000315
There is a fixed relationship with the motor rotor speed observation n':
Figure BDA00025286568300000316

改进型Luenberger观测器转速修正算法如下:The modified Luenberger observer speed correction algorithm is as follows:

即利用补偿算法,对观测器的电机转子转速观测值偏差进行修正,具体为:设给定控制系统转速信号为自变量x,电机转子转速观测值n’与x的比值为因变量y,建立关系函数That is to use the compensation algorithm to correct the deviation of the observed value of the motor rotor speed of the observer. Specifically, the speed signal of the given control system is set as the independent variable x, and the ratio of the observed value of the motor rotor speed n' to x is the dependent variable y. relational function

y=f(x),在坐标系内作出函数对x在区间[n1,nk]内的散点图,n1~nk为控制系统给定的k个转速信号,再对散点图进行曲线拟合得到关系函数图像为二次函数图像,其表达式为:y=ax2-bx+c,a、b、c为拟合二次函数的参数;将电机给定转速值代入到关系函数中可得到电机观测转速与实际转速比值,再将关系函数乘以给定转速即得到修正后的转子转速估算值。y=f(x), in the coordinate system, make a scatter plot of the function to x in the interval [n 1 , n k ], n 1 ~n k are the k speed signals given by the control system, and then scatter the points The relationship function image obtained by curve fitting is a quadratic function image, and its expression is: y=ax 2 -bx+c, a, b, and c are the parameters for fitting the quadratic function; substitute the motor given speed value into From the relationship function, the ratio of the observed speed of the motor to the actual speed can be obtained, and then the relationship function is multiplied by the given speed to obtain the revised estimated value of the rotor speed.

优点效果:Advantage effect:

本发明的有益效果是:The beneficial effects of the present invention are:

针对高速永磁同步电机直接转矩控制系统观测转速存在误差且观测转速脉动较大等问题,提出了一种改进型Luenberger观测器算法,通过引入关系函数修正传统观测算法存在的观测转速偏差,并且通过引入低通滤波器消除观测转速的高频脉动误差,实现了对电机转子转速的精确观测。Aiming at the problems of high-speed permanent magnet synchronous motor direct torque control system observation speed error and large observation speed fluctuation, an improved Luenberger observer algorithm is proposed. By introducing a low-pass filter to eliminate the high-frequency pulsation error of the observed speed, the accurate observation of the rotor speed of the motor is realized.

附图说明Description of drawings

图1为本发明基于改进型Luenberger观测器的高速永磁同步电机直接转矩控制原理框图;Fig. 1 is the direct torque control principle block diagram of the high-speed permanent magnet synchronous motor based on the improved Luenberger observer of the present invention;

图2为本发明改进型Luenberger观测器算法原理框图;Fig. 2 is the principle block diagram of the improved Luenberger observer algorithm of the present invention;

图3为本发明Luenberger观测器相量图;Fig. 3 is the Luenberger observer phasor diagram of the present invention;

图4为本发明改进型Luenberger观测器转速误差与给定转速曲线拟合图。FIG. 4 is a curve fitting diagram of the rotational speed error of the improved Luenberger observer of the present invention and a given rotational speed.

附图标记说明:Description of reference numbers:

1.转速PI调节器;2.转矩估算模块;3.定子磁链估算模块;4.定子磁链滞环比较器;5.转矩滞环比较器;6.开关电压矢量选择表模块;7.Clark坐标变换模块;8.电压型逆变器;9.高速永磁同步电机;10.改进型Luenberger观测器模块;11.反电势D轴分量计算模块;12.反电势Q轴分量计算模块;13.低通滤波器;14.Luenberger观测器转子转速计算模块;15.改进型Luenberger观测器转速修正模块。1. Speed PI regulator; 2. Torque estimation module; 3. Stator flux linkage estimation module; 4. Stator flux linkage hysteresis comparator; 5. Torque hysteresis comparator; 6. Switching voltage vector selection table module; 7. Clark coordinate transformation module; 8. Voltage inverter; 9. High-speed permanent magnet synchronous motor; 10. Improved Luenberger observer module; 11. Back-EMF D-axis component calculation module; 12. Back-EMF Q-axis component calculation Module; 13. Low-pass filter; 14. Luenberger observer rotor speed calculation module; 15. Improved Luenberger observer speed correction module.

具体实施方式Detailed ways

基于改进Luenberger观测器的高速永磁同步电机直接转矩控制方法,其特征在于:该方法步骤如下:The direct torque control method of high-speed permanent magnet synchronous motor based on the improved Luenberger observer is characterized in that: the method steps are as follows:

(一)、将高速永磁同步电机(9)的定子三相电流信号iA、iB、iC和定子三相电压信号uA、uB、uC分别经过Clark坐标变换得到两相静止DQ坐标系下的定子电流信号iD、iQ和定子电压信号uD、uQ(1), the stator three-phase current signal i A , i B , i C and the stator three-phase voltage signal u A , u B , u C of the high-speed permanent magnet synchronous motor (9) are respectively transformed by Clark coordinates to obtain a two-phase static state Stator current signals i D , i Q and stator voltage signals u D , u Q in the DQ coordinate system;

(二)、定子电流信号iD、iQ和定子电压信号uD、uQ经转换得到定子磁链矢量在两相静止DQ坐标系下的分量ψD、ψQ及定子磁链幅值|ψS|;定子电流信号iD、iQ和分量ψD、ψQ信号根据转矩估算方程te=p0DiQQiD),p0为电机极对数,计算得到电磁转矩估算值te;同时,定子电流信号iD、iQ和定子电压信号uD、uQ以及给定控制系统转速信号n,经改进型Luenberger观测器算法得到电机转子转速估算值n*,n与n*的差值经转速PI调节器到电机参考转矩te *(2) The stator current signals i D , i Q and the stator voltage signals u D , u Q are converted to obtain the components ψ D , ψ Q of the stator flux linkage vector in the two-phase static DQ coordinate system and the stator flux linkage amplitude | ψ S |; stator current signals i D , i Q and components ψ D , ψ Q signals are based on the torque estimation equation te = p 0D i QQ i D ), where p 0 is the number of motor pole pairs, The electromagnetic torque estimation value te is obtained by calculation; at the same time, the stator current signals i D , i Q and the stator voltage signals u D , u Q and the given control system speed signal n are obtained by the improved Luenberger observer algorithm to obtain the motor rotor speed estimation The value n * , the difference between n and n * goes through the speed PI regulator to the motor reference torque t e * ;

(三)、“(二)”步骤中,电机参考转矩与电磁转矩估算值之差经转矩滞环比较器得到转矩增量Δt;定义电机交轴等效电感Lq与直轴等效电感Ld的比值为凸极率ρ,参考定子磁链幅值|ψS *|为一常数,满足|ψS *|≤ρ/(ρ-1)ψf,ψf为永磁体转子产生的磁链矢量幅值;|ψS *|与|ψS|之差经定子磁链滞环比较器得到定子磁链增量Δψ;Δψ和Δt信号经过传统砰-砰控制器(6)得到控制信号(△t是参考转矩与反馈转矩差值),最后由控制信号驱动电压型逆变器(8)控制高速永磁同步电机(9),完成对高速永磁同步电机的控制。In steps (3) and “(2)”, the difference between the motor reference torque and the estimated value of the electromagnetic torque is obtained through the torque hysteresis comparator to obtain the torque increment Δt; define the equivalent inductance L q of the motor quadrature axis and the direct axis The ratio of the equivalent inductance L d is the salient pole ratio ρ, and the reference stator flux linkage amplitude |ψ S * | is a constant, satisfying |ψ S * |≤ρ/(ρ-1)ψ f , where ψ f is the permanent magnet The magnitude of the flux linkage vector generated by the rotor; the difference between |ψ S * | and |ψ S | obtains the stator flux linkage increment Δψ through the stator flux linkage hysteresis comparator; Δψ and Δt signals pass through the traditional bang-bang controller (6 ) to obtain the control signal (Δt is the difference between the reference torque and the feedback torque), and finally the voltage-type inverter (8) is driven by the control signal to control the high-speed permanent magnet synchronous motor (9), and the high-speed permanent magnet synchronous motor is completed. control.

(二)步骤中经改进型Luenberger观测器算法得到电机转子转速估算值的步骤如下:(2) The steps of obtaining the estimated value of the rotor speed of the motor through the improved Luenberger observer algorithm in the step are as follows:

uD、iD经DQ坐标系下的反电势D轴分量计算得到D轴反电势估算分量

Figure BDA0002528656830000051
uQ、iQ经反电势Q轴分量计算得到Q轴反电势估算分量
Figure BDA0002528656830000052
Figure BDA0002528656830000053
Figure BDA0002528656830000054
信号通过低通滤波法减小反电势分量波形的脉动,得到优化后的反电势分量信号
Figure BDA0002528656830000055
Figure BDA0002528656830000056
u D , i D are calculated by the D-axis component of the back-EMF in the DQ coordinate system to obtain the estimated component of the D-axis back-EMF
Figure BDA0002528656830000051
u Q and i Q are calculated by the Q-axis component of the back-EMF to obtain the estimated component of the Q-axis back-EMF
Figure BDA0002528656830000052
Will
Figure BDA0002528656830000053
and
Figure BDA0002528656830000054
The pulsation of the back EMF component waveform is reduced by the low-pass filtering method, and the optimized back EMF component signal is obtained.
Figure BDA0002528656830000055
and
Figure BDA0002528656830000056

Luenberger观测器总参数ke、第二参数ke2、高速永磁同步电机转子永磁体产生的磁链幅值|ψf|、电机定子电感L、反电势分量

Figure BDA0002528656830000057
Figure BDA0002528656830000058
一同经Luenberger观测器转子转速计算得到观测器观测转速n,,将观测转速和给定控制系统转速信号n,经改进型Luenberger观测器转速修正算法得到电机转子转速估算值n*。The total parameter ke of the Luenberger observer, the second parameter ke2 , the flux linkage amplitude generated by the permanent magnet of the rotor of the high-speed permanent magnet synchronous motor |ψ f |, the motor stator inductance L, the back EMF component
Figure BDA0002528656830000057
and
Figure BDA0002528656830000058
At the same time, the observed speed n of the observer is obtained by calculating the rotor speed of the Luenberger observer, and the estimated value of the motor rotor speed n * is obtained by the improved Luenberger observer speed correction algorithm by combining the observed speed and the given control system speed signal n.

DQ坐标系下的反电势分量算法如下:设计反电动势观测器,观测器方程为(D轴分量和反电势Q轴分量通用):The back-EMF component algorithm in the DQ coordinate system is as follows: Design a back-EMF observer, and the observer equation is (the D-axis component and the back-EMF Q-axis component are common):

Figure BDA0002528656830000059
Figure BDA0002528656830000059

Figure BDA00025286568300000510
Figure BDA00025286568300000510

式中:is=[iD,iQ]T为两相静止DQ坐标系下的定子电流矢量;

Figure BDA00025286568300000511
为两相静止DQ坐标系下的定子电流估算矢量;L为定子电感;
Figure BDA00025286568300000512
为两相静止DQ坐标系下的定子反电动势估算矢量;es=[eD,eQ]T为两相静止DQ坐标系下的定子反电动势矢量;us=[uD,uQ]T为两相静止DQ坐标系下的定子电压向量;
Figure BDA00025286568300000513
为定子电流估算矢量的瞬时变化率;ke1,ke2为Luenberger观测器的增益系数;R为电机定子电阻;In the formula: i s = [i D , i Q ] T is the stator current vector in the two-phase static DQ coordinate system;
Figure BDA00025286568300000511
is the estimated vector of the stator current in the two-phase static DQ coordinate system; L is the stator inductance;
Figure BDA00025286568300000512
is the stator back EMF estimation vector in the two-phase static DQ coordinate system; es = [e D , e Q ] T is the stator back EMF vector in the two-phase static DQ coordinate system; u s = [u D , u Q ] T is the stator voltage vector in the two-phase static DQ coordinate system;
Figure BDA00025286568300000513
is the instantaneous rate of change of the stator current estimation vector; k e1 , k e2 are the gain coefficients of the Luenberger observer; R is the motor stator resistance;

定子反电动势估算方程可由式(2)减(1)得到The stator back EMF estimation equation can be obtained by subtracting (1) from equation (2)

Figure BDA00025286568300000514
Figure BDA00025286568300000514

设ke=ke1+ke2,观测器的稳定条件为ke>0,此观测器的特征值为-ke/L,ke值越大,观测器的收敛速度越快,但也会带来更大的超调量。式(3)表示为如下形式Set ke = ke1 + ke2 , the stability condition of the observer is ke > 0, the eigenvalue of this observer is -ke /L, the larger the value of ke , the faster the convergence speed of the observer, but also will lead to greater overshoot. Formula (3) is expressed in the following form

Figure BDA00025286568300000515
Figure BDA00025286568300000515

Luenberger观测器转子转速计算得到观测器观测转速n,算法如下:反电动势

Figure BDA00025286568300000516
的相位角
Figure BDA00025286568300000517
由反电动势估算值
Figure BDA00025286568300000518
的相位角
Figure BDA00025286568300000519
和补偿角θcomp相加求出The rotor speed of the Luenberger observer is calculated to obtain the observed speed n of the observer. The algorithm is as follows: Back EMF
Figure BDA00025286568300000516
the phase angle of
Figure BDA00025286568300000517
Estimated from back EMF
Figure BDA00025286568300000518
the phase angle of
Figure BDA00025286568300000519
Add the compensation angle θ comp to get

Figure BDA00025286568300000520
Figure BDA00025286568300000520

式中in the formula

Figure BDA00025286568300000521
Figure BDA00025286568300000521

Figure BDA0002528656830000061
Figure BDA0002528656830000061

Figure BDA0002528656830000062
是估测反电动势矢量模值;
Figure BDA0002528656830000062
is the estimated back-EMF vector modulus value;

根据图3利用勾股定理可得According to Figure 3, using the Pythagorean theorem, we can get

Figure BDA0002528656830000063
Figure BDA0002528656830000063

式中in the formula

Figure BDA0002528656830000064
Figure BDA0002528656830000064

求解式(9)即可得到转子角速度ω的估算公式Solving equation (9), the estimation formula of rotor angular velocity ω can be obtained

Figure BDA0002528656830000065
Figure BDA0002528656830000065

因为电机转子实际角速度ω的精确值是无法被直接检测到的,所以θcomp估算公式中的ω应为

Figure BDA0002528656830000066
即Since the exact value of the actual angular velocity ω of the motor rotor cannot be detected directly, ω in the estimation formula of θ comp should be
Figure BDA0002528656830000066
which is

Figure BDA0002528656830000067
Figure BDA0002528656830000067

电机转子角速度估算值

Figure BDA0002528656830000068
与电机转子转速观测值n’之间存在固定的关系:
Figure BDA0002528656830000069
Motor rotor angular velocity estimate
Figure BDA0002528656830000068
There is a fixed relationship with the motor rotor speed observation n':
Figure BDA0002528656830000069

改进型Luenberger观测器转速修正算法如下:The modified Luenberger observer speed correction algorithm is as follows:

即利用补偿算法,对观测器的电机转子转速观测值偏差进行修正,具体为:设给定控制系统转速信号为自变量x,电机转子转速观测值n’与x的比值为因变量y,建立关系函数That is to use the compensation algorithm to correct the deviation of the observed value of the motor rotor speed of the observer. Specifically, the speed signal of the given control system is set as the independent variable x, the ratio of the observed value of the motor rotor speed n' to x is the dependent variable y, and the establishment of relational function

y=f(x),在坐标系内作出函数对x在区间[n1,nk]内的散点图,n1~nk为控制系统给定的k个转速信号,再对散点图进行曲线拟合得到关系函数图像为二次函数图像,其表达式为:y=ax2-bx+c,a、b、c为拟合二次函数的参数;将电机给定转速值代入到关系函数中可得到电机观测转速与实际转速比值,再将关系函数乘以给定转速即得到修正后的转子转速估算值。y=f(x), in the coordinate system, make a scatter plot of the function to x in the interval [n 1 , n k ], n 1 ~n k are the k speed signals given by the control system, and then scatter the points The relationship function image obtained by curve fitting is a quadratic function image, and its expression is: y=ax 2 -bx+c, a, b, and c are the parameters for fitting the quadratic function; substitute the motor given speed value into From the relationship function, the ratio of the observed speed of the motor to the actual speed can be obtained, and then the relationship function is multiplied by the given speed to obtain the revised estimated value of the rotor speed.

下面结合附图对本发明做进一步的详细说明:Below in conjunction with accompanying drawing, the present invention is described in further detail:

本发明提出了一种基于改进型Luenberger观测器算法的高速永磁同步电机直接转矩控制系统,如图1所示,其中高速永磁同步电机9的定子三相电流信号iA、iB、iC,定子三相电压信号uA、uB、uC经Clark坐标变换模块7得到两相静止DQ坐标系下的定子电流信号iD、iQ,定子电压信号uD、uQ,信号经定子磁链估算模块3和电磁转矩估算模块2得到电磁转矩te及定子磁链幅值|ψs|;同时,电机定子电流电压信号和给定转速信号经改进型Luenberger观测器模块10得到电机转子转速估算值,转子转速估算值经转速PI调节器得到电机参考转矩te *;参考转矩与估算转矩之差经转矩滞环比较器5得到转矩增量Δt;参考磁链与估算磁链之差经定子磁链滞环比较器4得到定子磁链增量Δψ;开关电压矢量选择表根据定子磁链增量值及电磁转矩增量值选择合适的电压空间矢量通过电压型逆变器8作用在高速永磁同步电机9上,完成对高速永磁同步电机的控制。The present invention proposes a high-speed permanent magnet synchronous motor direct torque control system based on the improved Luenberger observer algorithm, as shown in FIG. 1 , wherein the stator three-phase current signals i A , i B , i C , the stator three-phase voltage signals u A , u B , u C are obtained through the Clark coordinate transformation module 7 to obtain the stator current signals i D , i Q , the stator voltage signals u D , u Q in the two-phase static DQ coordinate system, and the signal The electromagnetic torque te and the stator flux linkage amplitude |ψ s 10 Obtain the estimated value of the rotor speed of the motor, and the estimated value of the rotor speed obtains the reference torque t e * of the motor through the speed PI regulator; the difference between the reference torque and the estimated torque obtains the torque increment Δt through the torque hysteresis comparator 5; The difference between the reference flux linkage and the estimated flux linkage is obtained through the stator flux linkage hysteresis comparator 4 to obtain the stator flux linkage increment Δψ; the switching voltage vector selection table selects the appropriate voltage space according to the stator flux linkage increment value and the electromagnetic torque increment value The vector acts on the high-speed permanent magnet synchronous motor 9 through the voltage inverter 8 to complete the control of the high-speed permanent magnet synchronous motor.

图2为本发明改进型Luenberger观测器算法原理框图,其中,uD、iD经反电势D轴分量计算模块11得到D轴反电势估算分量

Figure BDA0002528656830000071
uQ、iQ经反电势Q轴分量计算模块12得到Q轴反电势估算分量
Figure BDA0002528656830000072
由于高速永磁同步电机转子转速很高,此时估算得到的
Figure BDA0002528656830000073
Figure BDA0002528656830000074
波形存在较大的脉动,将
Figure BDA0002528656830000075
Figure BDA0002528656830000076
信号通过低通滤波器13可以大幅减小反电势分量波形的脉动,得到优化后的反电势分量信号
Figure BDA0002528656830000077
Figure BDA0002528656830000078
Luenberger观测器总参数ke、第二参数ke2、高速永磁同步电机转子磁链幅值ψf、电机定子电感L、反电势分量
Figure BDA0002528656830000079
Figure BDA00025286568300000710
一同经Luenberger观测器转子转速计算模块14得到观测器估算转速n,,此时得到的观测器估算转速与电机实际转速相比存在较大误差,将观测转速n,和参考转速n经过改进型Luenberger观测器转速修正模块15得到修正后的观测转速n*。Fig. 2 is the principle block diagram of the improved Luenberger observer algorithm of the present invention, wherein u D , i D obtain the estimated D-axis back-EMF component through the back-EMF D-axis component calculation module 11
Figure BDA0002528656830000071
u Q , i Q obtain the Q-axis back-EMF estimated component through the back-EMF Q-axis component calculation module 12
Figure BDA0002528656830000072
Due to the high rotor speed of the high-speed permanent magnet synchronous motor, the estimated
Figure BDA0002528656830000073
and
Figure BDA0002528656830000074
There is a large pulsation in the waveform, the
Figure BDA0002528656830000075
and
Figure BDA0002528656830000076
The signal passing through the low-pass filter 13 can greatly reduce the pulsation of the back EMF component waveform, and obtain the optimized back EMF component signal
Figure BDA0002528656830000077
and
Figure BDA0002528656830000078
Luenberger observer total parameter ke , second parameter ke2 , high-speed permanent magnet synchronous motor rotor flux linkage amplitude ψ f , motor stator inductance L, back EMF component
Figure BDA0002528656830000079
and
Figure BDA00025286568300000710
At the same time, the estimated observer speed n is obtained through the Luenberger observer rotor speed calculation module 14, and the estimated observer speed obtained at this time has a large error compared with the actual speed of the motor. The observer rotational speed correction module 15 obtains the corrected observed rotational speed n * .

传统Luenberger观测器设计所依据的是永磁同步电机数学模型在DQ坐标系下的定子电压方程,该方程可以表示为如下向量形式The traditional Luenberger observer design is based on the stator voltage equation of the permanent magnet synchronous motor mathematical model in the DQ coordinate system, which can be expressed as the following vector form

Figure BDA00025286568300000711
Figure BDA00025286568300000711

式中:is=[iD,iQ]T为两相静止DQ坐标系下的定子电流向量;us=[uD,uQ]T为两相静止DQ坐标系下的定子电压向量;es=[eD,eQ]T为两相静止DQ坐标系下的定子反电动势向量。In the formula: i s = [i D , i Q ] T is the stator current vector in the two-phase static DQ coordinate system; u s = [u D , u Q ] T is the stator voltage vector in the two-phase static DQ coordinate system ; es = [e D , e Q ] T is the stator back electromotive force vector under the two-phase static DQ coordinate system.

其中,eD和eQ中包含了转子的速度及位置信息,但是反电动势是无法被控制系统直接检测到的,因此需要设计反电动势观测器,观测器方程为Among them, e D and e Q contain the speed and position information of the rotor, but the back EMF cannot be directly detected by the control system, so a back EMF observer needs to be designed, and the observer equation is

Figure BDA00025286568300000712
Figure BDA00025286568300000712

式中

Figure BDA00025286568300000713
为两相静止DQ坐标系下的定子电流估算向量;
Figure BDA00025286568300000714
为两相静止DQ坐标系下的定子反电动势估算向量;ke1,ke2为Luenberger观测器的增益系数。in the formula
Figure BDA00025286568300000713
Estimated vector for the stator current in the two-phase static DQ coordinate system;
Figure BDA00025286568300000714
are the stator back EMF estimation vectors in the two-phase static DQ coordinate system; ke1 and ke2 are the gain coefficients of the Luenberger observer.

定子反电动势估算方程可由式(2)减(1)得到The stator back EMF estimation equation can be obtained by subtracting (1) from equation (2)

Figure BDA00025286568300000715
Figure BDA00025286568300000715

设ke=ke1+ke2,观测器的稳定条件为ke>0,此观测器的特征值为-ke/L,ke值越大,观测器的收敛速度越快,但也会带来更大的超调量,因此ke的值应适当选取。式(3)可表示为如下形式Set ke = ke1 + ke2 , the stability condition of the observer is ke > 0, the eigenvalue of this observer is -ke /L, the larger the value of ke , the faster the convergence speed of the observer, but also will bring greater overshoot, so the value of ke should be appropriately selected. Equation (3) can be expressed in the following form

Figure BDA00025286568300000716
Figure BDA00025286568300000716

为了便于相量分析,可令ke2>0,式(4)所对应的相量图如图3所示。In order to facilitate the phasor analysis, ke2 > 0 can be set, and the phasor diagram corresponding to equation (4) is shown in Figure 3.

图中,θcomp为补偿角。从图中可以看出,反电动势

Figure BDA00025286568300000717
的相位角
Figure BDA00025286568300000718
可由反电动势估算值
Figure BDA00025286568300000719
的相位角
Figure BDA00025286568300000720
和补偿角θcomp相加求出In the figure, θ comp is the compensation angle. As can be seen from the figure, the back EMF
Figure BDA00025286568300000717
the phase angle of
Figure BDA00025286568300000718
can be estimated from the back EMF
Figure BDA00025286568300000719
the phase angle of
Figure BDA00025286568300000720
Add the compensation angle θ comp to get

Figure BDA00025286568300000721
Figure BDA00025286568300000721

式中in the formula

Figure BDA0002528656830000081
Figure BDA0002528656830000081

Figure BDA0002528656830000082
Figure BDA0002528656830000082

根据图3利用勾股定理可得According to Figure 3, using the Pythagorean theorem, we can get

Figure BDA0002528656830000083
Figure BDA0002528656830000083

式中in the formula

Figure BDA0002528656830000084
Figure BDA0002528656830000084

求解式(9)即可得到转子角速度ω的估算公式Solving equation (9), the estimation formula of rotor angular velocity ω can be obtained

Figure BDA0002528656830000085
Figure BDA0002528656830000085

因为转子角速度ω的精确值是无法被直接检测到的,所以θcomp估算公式中的ω应为

Figure BDA0002528656830000086
即Since the exact value of the rotor angular velocity ω cannot be detected directly, ω in the θ comp estimation formula should be
Figure BDA0002528656830000086
which is

Figure BDA0002528656830000087
Figure BDA0002528656830000087

传统Luenberger观测器观测到的电机转速不是非常精确,观测转速波形有脉动,并且电机转速的稳定值也有偏差。Luenberger观测器观测到的电机转速比实际转速大,且电机转速越高误差越大。为了解决这个问题并减少观测器的稳态转速脉动,本发明提出了一种补偿算法,对观测器的转速偏差进行修正。The motor speed observed by the traditional Luenberger observer is not very accurate, the observed speed waveform has pulsation, and the stable value of the motor speed is also deviated. The motor speed observed by the Luenberger observer is larger than the actual speed, and the higher the motor speed, the greater the error. In order to solve this problem and reduce the steady-state rotational speed pulsation of the observer, the present invention proposes a compensation algorithm to correct the rotational speed deviation of the observer.

表1为电机实际转速值与观测器观测转速值,从n1到nk范围内(k为≥3的任意自然数)电机实际转速与观测转速出现了较大偏差,且随着转速的升高,观测转速与实际转速的比值也越来越大,并且观测转速与实际转速的偏差并非线性关系,不能简单地通过加入一个比例系数来修正观测器误差。下面对电机实际转速(给定转速)与观测器误差之间的关系进行分析。Table 1 shows the actual speed value of the motor and the observed speed value of the observer. In the range from n 1 to n k (k is an arbitrary natural number ≥ 3), there is a large deviation between the actual speed of the motor and the observed speed, and with the increase of the speed , the ratio of the observed speed to the actual speed is getting larger and larger, and the deviation between the observed speed and the actual speed is not linear, and the observer error cannot be corrected simply by adding a proportional coefficient. The relationship between the actual motor speed (given speed) and the observer error is analyzed below.

表1电机实际转速与观测器观测到的转速值Table 1 The actual speed of the motor and the speed value observed by the observer

Figure BDA0002528656830000088
Figure BDA0002528656830000088

图4为本发明函数拟合曲线图,设电机给定转速为自变量x,观测转速与实际转速比值为因变量y,建立关系函数y=f(x),在坐标系内作出函数对x在区间[n1,nk]内的散点图,再对散点图进行曲线拟合得到关系函数图像为二次函数图像,其表达式为:y=ax2-bx+c。将电机给定转速值代入到关系函数中可得到电机观测转速与实际转速比值,再将关系函数乘以给定转速即可得到修正后的观测转速。Fig. 4 is the function fitting curve diagram of the present invention, let the given speed of the motor be the independent variable x, the ratio of the observed speed to the actual speed is the dependent variable y, establish a relationship function y=f(x), and make a function pair x in the coordinate system In the scatter plot in the interval [n 1 , n k ], curve fitting is performed on the scatter plot to obtain the relational function image, which is a quadratic function image, and its expression is: y=ax 2 -bx+c. Substitute the given speed value of the motor into the relationship function to obtain the ratio of the observed speed to the actual speed of the motor, and then multiply the relationship function by the given speed to obtain the corrected observed speed.

综上,本发明属于高速电机无速度传感器控制领域,具体涉及一种高速永磁同步电机直接转矩控制系统及改进型Luenberger观测器算法。其目的是解决高速永磁同步电机控制系统电机转子观测转速存在误差及转速脉动的问题。传统Luenberger观测器算法观测到的电机转速不是非常精确,观测到的转速波形有脉动,并且电机转速的稳定值也有偏差,Luenberger观测器观测到的电机转速比实际转速大,且电机转速越高误差越大。为了解决这个问题并减少观测器的稳态转速脉动,本发明提出了一种改进型Luenberger观测器算法,分析电机实际转速与观测器观测到的转速值偏差,设电机给定转速为自变量x,观测转速与实际转速比值为因变量y,建立关系函数f(x),在坐标系内作出函数在x在区间[n1,nk]内的散点图,再对散点图进行曲线拟合得到关系函数的表达式,得到电机实际转速与给定转速关系,并且通过引入低通滤波器消除观测转速的高频振动误差,实现了对电机转子转速的精确观测。In conclusion, the present invention belongs to the field of speed sensorless control of high-speed motors, and in particular relates to a direct torque control system of a high-speed permanent magnet synchronous motor and an improved Luenberger observer algorithm. The purpose is to solve the problem of the error and the speed pulsation of the observed speed of the rotor of the high-speed permanent magnet synchronous motor control system. The motor speed observed by the traditional Luenberger observer algorithm is not very accurate, the observed speed waveform has pulsation, and the stable value of the motor speed is also deviated. The motor speed observed by the Luenberger observer is larger than the actual speed, and the higher the motor speed, the error bigger. In order to solve this problem and reduce the steady-state rotational speed pulsation of the observer, the present invention proposes an improved Luenberger observer algorithm, which analyzes the deviation between the actual rotational speed of the motor and the rotational speed value observed by the observer, and sets the given rotational speed of the motor as the independent variable x , the ratio of the observed speed to the actual speed is the dependent variable y, establish a relational function f(x), draw a scatter plot of the function x in the interval [n 1 , n k ] in the coordinate system, and then curve the scatter plot The expression of the relationship function is obtained by fitting, and the relationship between the actual speed of the motor and the given speed is obtained, and the high-frequency vibration error of the observed speed is eliminated by introducing a low-pass filter, and the accurate observation of the rotor speed of the motor is realized.

Claims (5)

1.基于改进Luenberger观测器的高速永磁同步电机直接转矩控制方法,其特征在于:该方法步骤如下:1. based on the high-speed permanent magnet synchronous motor direct torque control method of improving Luenberger observer, it is characterized in that: the method steps are as follows: (一)、将高速永磁同步电机(9)的定子三相电流信号iA、iB、iC和定子三相电压信号uA、uB、uC分别经过Clark坐标变换得到两相静止DQ坐标系下的定子电流信号iD、iQ和定子电压信号uD、uQ(1), the stator three-phase current signal i A , i B , i C and the stator three-phase voltage signal u A , u B , u C of the high-speed permanent magnet synchronous motor (9) are respectively transformed by Clark coordinates to obtain a two-phase static state Stator current signals i D , i Q and stator voltage signals u D , u Q in the DQ coordinate system; (二)、定子电流信号iD、iQ和定子电压信号uD、uQ经转换得到定子磁链矢量在两相静止DQ坐标系下的分量ψD、ψQ及定子磁链幅值|ψS|;定子电流信号iD、iQ和分量ψD、ψQ信号根据转矩估算方程te=p0DiQQiD),p0为电机极对数,计算得到电磁转矩估算值te;同时,定子电流信号iD、iQ和定子电压信号uD、uQ以及给定控制系统转速信号n,经改进型Luenberger观测器算法得到电机转子转速估算值n*,n与n*的差值经转速PI调节器到电机参考转矩te *(2) The stator current signals i D , i Q and the stator voltage signals u D , u Q are converted to obtain the components ψ D , ψ Q of the stator flux linkage vector in the two-phase static DQ coordinate system and the stator flux linkage amplitude | ψ S |; stator current signals i D , i Q and components ψ D , ψ Q signals are based on the torque estimation equation te = p 0D i QQ i D ), where p 0 is the number of motor pole pairs, The electromagnetic torque estimation value te is obtained by calculation; at the same time, the stator current signals i D , i Q and the stator voltage signals u D , u Q and the given control system speed signal n are obtained by the improved Luenberger observer algorithm to obtain the motor rotor speed estimation The value n * , the difference between n and n * goes through the speed PI regulator to the motor reference torque t e * ; (三)、“(二)”步骤中,电机参考转矩与电磁转矩估算值之差经转矩滞环比较器得到转矩增量Δt;定义电机交轴等效电感Lq与直轴等效电感Ld的比值为凸极率ρ,参考定子磁链幅值|ψS *|为一常数,满足|ψS *|≤ρ/(ρ-1)ψf,ψf为永磁体转子产生的磁链矢量幅值;|ψS *|与|ψS|之差经定子磁链滞环比较器得到定子磁链增量Δψ;Δψ和Δt信号经过传统砰-砰控制器(6)得到控制信号,最后由控制信号驱动电压型逆变器(8)控制高速永磁同步电机(9),完成对高速永磁同步电机的控制。In steps (3) and “(2)”, the difference between the motor reference torque and the estimated value of the electromagnetic torque is obtained through the torque hysteresis comparator to obtain the torque increment Δt; define the equivalent inductance L q of the motor quadrature axis and the direct axis The ratio of the equivalent inductance L d is the salient pole ratio ρ, and the reference stator flux linkage amplitude |ψ S * | is a constant, satisfying |ψ S * |≤ρ/(ρ-1)ψ f , where ψ f is the permanent magnet The magnitude of the flux linkage vector generated by the rotor; the difference between |ψ S * | and |ψ S | obtains the stator flux linkage increment Δψ through the stator flux linkage hysteresis comparator; Δψ and Δt signals pass through the traditional bang-bang controller (6 ) to obtain a control signal, and finally the voltage-type inverter (8) is driven by the control signal to control the high-speed permanent magnet synchronous motor (9) to complete the control of the high-speed permanent magnet synchronous motor. 2.根据权利要求1所述的基于改进型Luenberger观测器算法的高速永磁同步电机直接转矩控制方法,其特征在于:2. the high-speed permanent magnet synchronous motor direct torque control method based on improved Luenberger observer algorithm according to claim 1, is characterized in that: (二)步骤中经改进型Luenberger观测器算法得到电机转子转速估算值的步骤如下:(2) The steps of obtaining the estimated value of the rotor speed of the motor through the improved Luenberger observer algorithm in the step are as follows: uD、iD经DQ坐标系下的反电势D轴分量计算得到D轴反电势估算分量
Figure FDA0002528656820000013
uQ、iQ经反电势Q轴分量计算得到Q轴反电势估算分量
Figure FDA0002528656820000014
Figure FDA0002528656820000015
Figure FDA0002528656820000016
信号通过低通滤波法减小反电势分量波形的脉动,得到优化后的反电势分量信号
Figure FDA0002528656820000017
Figure FDA0002528656820000018
u D , i D are calculated by the D-axis component of the back-EMF in the DQ coordinate system to obtain the estimated component of the D-axis back-EMF
Figure FDA0002528656820000013
u Q and i Q are calculated by the Q-axis component of the back-EMF to obtain the estimated component of the Q-axis back-EMF
Figure FDA0002528656820000014
Will
Figure FDA0002528656820000015
and
Figure FDA0002528656820000016
The pulsation of the back EMF component waveform is reduced by the low-pass filtering method, and the optimized back EMF component signal is obtained.
Figure FDA0002528656820000017
and
Figure FDA0002528656820000018
Luenberger观测器总参数ke、第二参数ke2、高速永磁同步电机转子永磁体产生的磁链幅值|ψf|、电机定子电感L、反电势分量
Figure FDA0002528656820000019
Figure FDA00025286568200000110
一同经Luenberger观测器转子转速计算得到观测器观测转速n’,将观测转速和给定控制系统转速信号n,经改进型Luenberger观测器转速修正算法得到电机转子转速估算值n*
The total parameter ke of the Luenberger observer, the second parameter ke2 , the flux linkage amplitude generated by the permanent magnet of the rotor of the high-speed permanent magnet synchronous motor |ψ f |, the motor stator inductance L, the back EMF component
Figure FDA0002528656820000019
and
Figure FDA00025286568200000110
At the same time, the observed speed n' of the observer is obtained by calculating the rotor speed of the Luenberger observer, and the estimated value n * of the motor rotor speed is obtained by the improved Luenberger observer speed correction algorithm by combining the observed speed and the given control system speed signal n.
3.根据权利要求2所述的基于改进型Luenberger观测器算法的高速永磁同步电机直接转矩控制方法,其特征在于:DQ坐标系下的反电势分量算法如下:设计反电动势观测器,观测器方程为:3. the high-speed permanent magnet synchronous motor direct torque control method based on improved Luenberger observer algorithm according to claim 2, is characterized in that: the back EMF component algorithm under DQ coordinate system is as follows: design back EMF observer, observe The device equation is:
Figure FDA0002528656820000011
Figure FDA0002528656820000011
Figure FDA0002528656820000012
Figure FDA0002528656820000012
式中:is=[iD,iQ]T为两相静止DQ坐标系下的定子电流矢量;
Figure FDA00025286568200000111
为两相静止DQ坐标系下的定子电流估算矢量;L为定子电感;
Figure FDA00025286568200000112
为两相静止DQ坐标系下的定子反电动势估算矢量;es=[eD,eQ]T为两相静止DQ坐标系下的定子反电动势矢量;us=[uD,uQ]T为两相静止DQ坐标系下的定子电压向量;
Figure FDA00025286568200000210
为定子电流估算矢量的瞬时变化率;ke1,ke2为Luenberger观测器的增益系数;R为电机定子电阻;
In the formula: i s =[i D , i Q ] T is the stator current vector in the two-phase static DQ coordinate system;
Figure FDA00025286568200000111
is the estimated vector of the stator current in the two-phase static DQ coordinate system; L is the stator inductance;
Figure FDA00025286568200000112
is the stator back EMF estimation vector in the two-phase static DQ coordinate system; es = [e D , e Q ] T is the stator back EMF vector in the two-phase static DQ coordinate system; u s = [u D , u Q ] T is the stator voltage vector in the two-phase static DQ coordinate system;
Figure FDA00025286568200000210
is the instantaneous rate of change of the stator current estimation vector; k e1 , k e2 are the gain coefficients of the Luenberger observer; R is the motor stator resistance;
定子反电动势估算方程由式(2)减(1)得到The stator back EMF estimation equation is obtained by subtracting (1) from equation (2)
Figure FDA0002528656820000021
Figure FDA0002528656820000021
设ke=ke1+ke2,观测器的稳定条件为ke>0,此观测器的特征值为-ke/L,ke值越大,观测器的收敛速度越快,式(3)表示为如下形式Set ke = ke1 + ke2 , the stability condition of the observer is ke > 0, the eigenvalue of this observer is -ke /L, the larger the value of ke , the faster the convergence rate of the observer, the formula ( 3) is expressed in the following form
Figure FDA0002528656820000022
Figure FDA0002528656820000022
4.根据权利要求3所述的基于改进型Luenberger观测器算法的高速永磁同步电机直接转矩控制方法,其特征在于:Luenberger观测器转子转速计算得到观测器观测转速n’算法如下:反电动势
Figure FDA00025286568200000211
的相位角
Figure FDA00025286568200000212
由反电动势估算值
Figure FDA00025286568200000213
的相位角
Figure FDA00025286568200000214
和补偿角θcomp相加求出
4. the high-speed permanent magnet synchronous motor direct torque control method based on improved Luenberger observer algorithm according to claim 3, is characterized in that: Luenberger observer rotor speed calculation obtains observer observation speed n ' algorithm as follows: back electromotive force
Figure FDA00025286568200000211
the phase angle of
Figure FDA00025286568200000212
Estimated from back EMF
Figure FDA00025286568200000213
the phase angle of
Figure FDA00025286568200000214
Add the compensation angle θ comp to get
Figure FDA0002528656820000023
Figure FDA0002528656820000023
式中in the formula
Figure FDA0002528656820000024
Figure FDA0002528656820000024
Figure FDA0002528656820000025
Figure FDA0002528656820000025
Figure FDA00025286568200000215
是估测反电动势矢量模值;
Figure FDA00025286568200000215
is the estimated back-EMF vector modulus value;
利用勾股定理得Using the Pythagorean theorem, we get
Figure FDA0002528656820000026
Figure FDA0002528656820000026
式中in the formula
Figure FDA0002528656820000027
Figure FDA0002528656820000027
求解式(9)即得到转子角速度ω的估算公式Solving equation (9), we can get the estimation formula of rotor angular velocity ω
Figure FDA0002528656820000028
Figure FDA0002528656820000028
因为电机转子实际角速度ω的精确值是无法被直接检测到的,所以θcomp估算公式中的ω应为
Figure FDA00025286568200000216
Because the exact value of the actual angular velocity ω of the motor rotor cannot be directly detected, ω in the estimation formula of θ comp should be
Figure FDA00025286568200000216
which is
Figure FDA0002528656820000029
Figure FDA0002528656820000029
电机转子角速度估算值
Figure FDA00025286568200000217
与电机转子转速观测值n’之间存在固定的关系:
Figure FDA00025286568200000218
Motor rotor angular velocity estimate
Figure FDA00025286568200000217
There is a fixed relationship with the motor rotor speed observation n':
Figure FDA00025286568200000218
5.根据权利要求4所述的基于改进型Luenberger观测器算法的高速永磁同步电机直接转矩控制方法,其特征在于:改进型Luenberger观测器转速修正算法如下:5. the high-speed permanent magnet synchronous motor direct torque control method based on improved Luenberger observer algorithm according to claim 4, is characterized in that: improved Luenberger observer rotational speed correction algorithm is as follows: 即利用补偿算法,对观测器的电机转子转速观测值偏差进行修正,具体为:设给定控制系统转速信号为自变量x,电机转子转速观测值n’与x的比值为因变量y,建立关系函数y=f(x),在坐标系内作出函数对x在区间[n1,nk]内的散点图,n1~nk为控制系统给定的k个转速信号,再对散点图进行曲线拟合得到关系函数图像为二次函数图像,其表达式为:y=ax2-bx+c,a、b、c为拟合二次函数的参数;将电机给定转速值代入到关系函数中得到电机观测转速与实际转速比值,再将关系函数乘以给定转速即得到修正后的转子转速估算值。That is to use the compensation algorithm to correct the deviation of the observed value of the motor rotor speed of the observer. Specifically, the speed signal of the given control system is set as the independent variable x, and the ratio of the observed value of the motor rotor speed n' to x is the dependent variable y. The relational function y=f(x), in the coordinate system, make a scatter plot of the function pair x in the interval [n 1 , n k ], n 1 ~n k are k speed signals given by the control system, and then The relationship function image obtained by curve fitting of the scatter diagram is a quadratic function image, and its expression is: y=ax 2 -bx+c, a, b, and c are the parameters of the fitting quadratic function; The value is substituted into the relationship function to obtain the ratio of the motor observed speed to the actual speed, and then the relationship function is multiplied by the given speed to obtain the revised rotor speed estimate.
CN202010511847.1A 2019-06-11 2020-06-08 PMSM direct torque control method based on improved Luenberger observer Withdrawn CN111769779A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910499327 2019-06-11
CN2019104993270 2019-06-11
CN2019105477683 2019-06-24
CN201910547768 2019-06-24

Publications (1)

Publication Number Publication Date
CN111769779A true CN111769779A (en) 2020-10-13

Family

ID=72720279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010511847.1A Withdrawn CN111769779A (en) 2019-06-11 2020-06-08 PMSM direct torque control method based on improved Luenberger observer

Country Status (1)

Country Link
CN (1) CN111769779A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600473A (en) * 2020-11-23 2021-04-02 江苏科技大学 Permanent magnet synchronous motor rotor position estimation system and method
CN113078866A (en) * 2021-03-17 2021-07-06 天津工业大学 High-frequency injection IPMSM (intelligent power management System) strip-speed re-throwing control method based on control power supply
CN114285342A (en) * 2021-12-22 2022-04-05 电子科技大学 A Model Predictive Direct Speed Synchronous Control Method for Permanent Magnet Synchronous Motors
EP4156500A4 (en) * 2021-08-13 2023-08-23 Contemporary Amperex Technology Co., Limited TORQUE DETECTION METHOD AND DEVICE, ENGINE CONTROL, READABLE STORAGE MEDIA
CN118399823A (en) * 2024-07-01 2024-07-26 成都航天凯特机电科技有限公司 Self-adaptive motor control method
CN118868694A (en) * 2024-09-25 2024-10-29 沃陆(上海)传动系统有限公司 A motor adaptive vector control method and system based on flux control

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600473A (en) * 2020-11-23 2021-04-02 江苏科技大学 Permanent magnet synchronous motor rotor position estimation system and method
CN112600473B (en) * 2020-11-23 2023-06-30 江苏科技大学 Permanent magnet synchronous motor rotor position estimation system and method
CN113078866A (en) * 2021-03-17 2021-07-06 天津工业大学 High-frequency injection IPMSM (intelligent power management System) strip-speed re-throwing control method based on control power supply
EP4156500A4 (en) * 2021-08-13 2023-08-23 Contemporary Amperex Technology Co., Limited TORQUE DETECTION METHOD AND DEVICE, ENGINE CONTROL, READABLE STORAGE MEDIA
CN114285342A (en) * 2021-12-22 2022-04-05 电子科技大学 A Model Predictive Direct Speed Synchronous Control Method for Permanent Magnet Synchronous Motors
CN114285342B (en) * 2021-12-22 2023-11-24 电子科技大学 A model-predictive direct speed synchronous control method for permanent magnet synchronous motors
CN118399823A (en) * 2024-07-01 2024-07-26 成都航天凯特机电科技有限公司 Self-adaptive motor control method
CN118868694A (en) * 2024-09-25 2024-10-29 沃陆(上海)传动系统有限公司 A motor adaptive vector control method and system based on flux control

Similar Documents

Publication Publication Date Title
CN110350835B (en) A position sensorless control method for permanent magnet synchronous motor
CN110198150B (en) Permanent magnet synchronous motor multi-parameter online identification method
CN111769779A (en) PMSM direct torque control method based on improved Luenberger observer
CN103872951B (en) Permanent magnet synchronous motor torque control method based on sliding mode flux linkage observer
WO2019218389A1 (en) Virtual voltage injection-based speed sensor-less driving control method for induction motor
CN110417308A (en) A compound strategy control method for full speed range of permanent magnet synchronous motor
CN105227010B (en) A kind of permagnetic synchronous motor position-sensor-free position detection error harmonic pulse removing method
CN110311608B (en) High-frequency square wave voltage injection permanent magnet synchronous motor position-sensorless control method with optimal injection angle
CN102291079A (en) Speed sensor-free control algorithm for direct-drive permanent magnet synchronous wind power generation system
CN103199788B (en) Permanent magnet synchronous motor rotor position observer
CN108900127B (en) Position-sensorless control method for IPMSM in low-speed section considering cross-coupling effect
CN104967382B (en) A kind of permagnetic synchronous motor method for controlling position-less sensor
CN111987961A (en) Position-sensorless direct torque control method for permanent magnet synchronous motor
CN102647134A (en) An efficiency optimization control method for permanent magnet synchronous motor without angle sensor
WO2022120772A1 (en) Magnetic field orientation correction method and apparatus for permanent magnet synchronous motor, device and medium
CN110912485A (en) A position sensorless control method for permanent magnet synchronous motor considering iron loss resistance
CN113676088A (en) Speed sensorless control method of permanent magnet synchronous motor with harmonic suppression
CN112688614B (en) A Rotational Speed Estimation Method of Synchronous Reluctance Motor
CN112003523B (en) A method to improve the speed estimation stability of permanent magnet synchronous linear motor
CN113890438A (en) A speed sensorless control method based on built-in permanent magnet synchronous motor
CN112117943B (en) Novel IPMSM high-frequency square wave injection position-sensorless control
CN117498744A (en) A low-speed sensorless control method for synchronous reluctance motor based on high-frequency injection
CN108599655B (en) Method for estimating rotating speed of permanent magnet synchronous motor without speed sensor based on weight control
CN116365937A (en) Control method for high-speed permanent magnet synchronous motor without position sensor
CN116155158A (en) A PMSM position sensorless control method based on a single-phase phase-locked loop without phase-shift synchronous rotary filter

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20201013

WW01 Invention patent application withdrawn after publication