CN103414425B - A kind of torque direction of brshless DC motor and the detection method of amplitude - Google Patents
A kind of torque direction of brshless DC motor and the detection method of amplitude Download PDFInfo
- Publication number
- CN103414425B CN103414425B CN201310294101.XA CN201310294101A CN103414425B CN 103414425 B CN103414425 B CN 103414425B CN 201310294101 A CN201310294101 A CN 201310294101A CN 103414425 B CN103414425 B CN 103414425B
- Authority
- CN
- China
- Prior art keywords
- torque
- phase
- motor
- current
- phase current
- 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
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
本发明涉及一种无刷直流电机的转矩方向和幅值的检测方法,通过三相电流中的两相电流计算出第三相电流;对三路转子位置信号进行综合计算,得到代表三相相电流分别所在电气区域的数值;将三相电流的瞬时值与代表三个电气区域的数值进行综合计算,得到转矩方向;通过三相相电流计算转矩的绝对值;将计算出的转矩方向与转矩绝对值相乘,最终得出电机的瞬时电磁转矩,计算结果的符号代表转矩方向,绝对值代表转矩幅值。
The invention relates to a method for detecting the torque direction and amplitude of a brushless direct current motor. The third phase current is calculated through two phase currents in the three phase current; the three rotor position signals are comprehensively calculated to obtain a representative three phase current. The value of the electrical area where the phase current is located; the instantaneous value of the three-phase current and the value representing the three electrical areas are comprehensively calculated to obtain the torque direction; the absolute value of the torque is calculated by the three-phase current; the calculated torque The torque direction is multiplied by the absolute value of the torque, and finally the instantaneous electromagnetic torque of the motor is obtained. The sign of the calculation result represents the torque direction, and the absolute value represents the torque amplitude.
Description
技术领域technical field
本发明属于电机控制技术领域,涉及到无刷直流电机控制技术领域,具体涉及一种无刷直流电机的转矩方向和幅值的检测方法。The invention belongs to the technical field of motor control, relates to the technical field of brushless direct current motor control, and in particular relates to a method for detecting the torque direction and amplitude of a brushless direct current motor.
背景技术Background technique
无刷直流电机具有控制简单、效率高、动态响应好、可靠性高等优点,在伺服领域得到广泛的研究和应用。伺服电机常常要求能够具有四象限运行控制能力,即正转电动、正转制动、反转电动和反转制动,且在不改变电机结构和控制器硬件电路的情况下,通过软件能够实现正转电动和制动相互切换、正转制动到反转电动的切换、反转电动和制动相互切换和反转制动到正转电动的切换,同时可频繁起动和制动且具有快速的动态响应性能。通常我们以控制转矩为目的实现电机的四象限运行,只有得知转矩的大小及方向,才能准确的控制无刷直流电机的四象限正常运行。Brushless DC motor has the advantages of simple control, high efficiency, good dynamic response and high reliability, and has been widely researched and applied in the field of servo. Servo motors are often required to have four-quadrant operation control capabilities, that is, forward electric rotation, forward rotation braking, reverse electric rotation and reverse braking, and can be realized through software without changing the motor structure and controller hardware circuit. Forward rotation electric and brake switching, forward braking to reverse electric switching, reverse electric and braking switching, reverse braking to forward electric switching, at the same time, it can start and brake frequently and has a fast dynamic response performance. Usually we realize the four-quadrant operation of the motor for the purpose of controlling the torque. Only by knowing the magnitude and direction of the torque can the four-quadrant operation of the brushless DC motor be accurately controlled.
目前,检测无刷直流电机的电磁转矩方向和幅值的方法一般包括以下三种:At present, the methods for detecting the electromagnetic torque direction and amplitude of brushless DC motors generally include the following three methods:
(1)利用公式Te=Kt×I,式中,Te为电磁转矩(N·m),Kt为转矩系数(N·m/A),I为电流(A),这里的I一般为检测的逆变桥的母线电流,或者采用将三相电流的绝对值之和除2的方式获得,即I=ibus或 (1) Use the formula Te=Kt×I, where Te is the electromagnetic torque (N m), Kt is the torque coefficient (N m/A), and I is the current (A), where I is generally The bus current of the detected inverter bridge can be obtained by dividing the sum of the absolute values of the three-phase currents by 2, that is, I=i bus or
上述转矩观测方法中,利用母线电流观测电磁转矩的方法,由于无刷直流电机控制系统三相全桥逆变器的母线电流与相电流之间并不完全相等,所以此方法观测的电磁转矩的准确性并不高;利用将三相电流的绝对值之和除2的方式获得电磁转矩观测值的方法虽然观测结果比较准确,但是由式可以看出,其只能观测电磁转矩的绝对值,而不能反映电磁转矩的方向。所以这种方法在实际应用中的实用性受到一定的限制。In the above torque observation method, the method of using the bus current to observe the electromagnetic torque, because the bus current and the phase current of the three-phase full-bridge inverter of the brushless DC motor control system are not completely equal, so the electromagnetic torque observed by this method The accuracy of the torque is not high; the method of obtaining the observed value of the electromagnetic torque by dividing the sum of the absolute values of the three-phase currents by 2 is relatively accurate, but the formula It can be seen that it can only observe the absolute value of the electromagnetic torque, but cannot reflect the direction of the electromagnetic torque. Therefore, the practicability of this method in practical applications is limited.
(2)利用公式计算电磁转矩,式中,Te为电磁转矩(N·m),ex|x=a,b,c为电机的相反电势(V),ix|x=a,b,c为电流(A),ω电机转子的角速度(rad/s)。(2) Using the formula Calculate the electromagnetic torque, where Te is the electromagnetic torque (N m), e x|x=a, b, c is the opposite potential of the motor (V), ix |x=a, b, c is the current (A), Angular velocity of the ω motor rotor (rad/s).
上述转矩观测方法中,除了需要获得转速和相电流外,最关键的是获得三相反电势ex|x=a,b,c的观测值,三相反电势可以通过测定相反电势波形、设计相反电势观测器的方式获得,但是在实际应用中都需要检测电机转子位置的连续信号,对于采用霍尔位置传感器的无刷直流电机控制系统不适用;In the above torque observation method, in addition to the need to obtain the rotational speed and phase current, the most critical thing is to obtain the observed values of the three opposite potentials e x|x=a, b, c . The three opposite potentials can be obtained by measuring the opposite potential waveform and designing It is obtained by means of a potential observer, but in practical applications, it is necessary to detect the continuous signal of the motor rotor position, which is not applicable to the brushless DC motor control system using the Hall position sensor;
(3)将电磁转矩表示为转子磁链与定子电流的乘积,用式来计算转矩,式中,Te为电磁转矩(N·m),p为电机极对数,ψrα和ψrβ在α-β坐标系下电机转子的a轴和β轴磁链,isα和isβ为α-β坐标系下电机定子的a轴和β轴电流。这种方法需要对采样的相电流进行坐标变换,同时需要对转子磁链进行观测,观测磁链需要用到定子电流、定子绕组的电阻和电感、定子电压等,需要检测的使用的参数较多,此外,计算磁链还需要进行积分计算,而在积分计算中,定子绕组电阻、积分初值和累计误差的变化都会影响转子磁链计算的准确度;(3) Express the electromagnetic torque as the product of the rotor flux linkage and the stator current, using the formula To calculate the torque, where Te is the electromagnetic torque (N m), p is the number of pole pairs of the motor, ψ rα and ψ rβ are the a-axis and β-axis flux linkages of the motor rotor in the α-β coordinate system, i sα and isβ are the a-axis and β-axis currents of the motor stator in the α-β coordinate system. This method requires the coordinate transformation of the sampled phase current, and at the same time, the observation of the rotor flux linkage is required. The observation of the flux linkage requires the stator current, the resistance and inductance of the stator winding, and the stator voltage. There are many parameters that need to be detected. , in addition, calculation of flux linkage also requires integral calculation, and in integral calculation, changes in stator winding resistance, integral initial value and cumulative error will affect the accuracy of rotor flux linkage calculation;
上述三种方法中,方法(1)对于无刷直流电机转矩控制的实用性不强;方法(2)和方法(3)都需要检测连续的转子位置,一般使用旋转变压器、光电编码器等能够连续检测转子位置的传感器;方法(3)的转矩计算的算法比较复杂。而无刷直流电机在实际应用中一个很大优势就是采用简单的霍尔位置传感器,相比旋转变压器、光电编码器等检测连续转子位置的传感器,霍尔位置传感器占用空间小,重量轻,抗振性好,在无刷直流电机控制系统中的应用最多。Among the above three methods, method (1) is not very practical for brushless DC motor torque control; method (2) and method (3) both need to detect continuous rotor position, generally using resolver, photoelectric encoder, etc. A sensor that can continuously detect the rotor position; the algorithm of torque calculation in method (3) is relatively complicated. A great advantage of brushless DC motors in practical applications is the use of simple Hall position sensors. Compared with sensors such as resolvers and photoelectric encoders that detect continuous rotor positions, Hall position sensors occupy less space, are light in weight, and are resistant to It has good vibration performance and is most widely used in brushless DC motor control systems.
发明内容Contents of the invention
要解决的技术问题technical problem to be solved
为了避免现有技术的不足之处,本发明提出一种无刷直流电机的转矩方向和幅值的检测方法,利用霍尔位置传感器及三相相电流方便、简单的实现用于无刷直流电机电磁转矩方向和幅值的检测计算方法。In order to avoid the deficiencies of the prior art, the present invention proposes a method for detecting the torque direction and amplitude of a brushless DC motor, which is conveniently and simply implemented for brushless DC motors by using Hall position sensors and three-phase phase currents. The detection and calculation method of the direction and amplitude of the electromagnetic torque of the motor.
技术方案Technical solutions
一种无刷直流电机的转矩方向和幅值的检测方法,其特征在于步骤如下:A method for detecting torque direction and amplitude of a brushless DC motor, characterized in that the steps are as follows:
步骤1、通过三相相电流计算电机电磁转矩绝对值:式中:|Te|为计算的电磁转矩的绝对值;Kt为电机的转矩系数,单位为N·m/A;ia、ib、ic为流过电机3相绕组的相电流,单位为A;Step 1. Calculate the absolute value of the electromagnetic torque of the motor through the three-phase phase current: In the formula: |Te| is the absolute value of the calculated electromagnetic torque; Kt is the torque coefficient of the motor in N m/A; i a , i b , and i c are the phase currents flowing through the three-phase windings of the motor , the unit is A;
步骤2:通过三个霍尔位置传感器检测出的相位互差120°电角度的三路无刷直流电机转子位置信号进行综合计算,得到当前流过三相绕组的电流分别所在的电气区域的数值,Step 2: Through the comprehensive calculation of the three-way brushless DC motor rotor position signals with a phase difference of 120° electrical angle detected by the three Hall position sensors, the values of the electrical regions where the currents currently flowing through the three-phase windings are obtained ,
其中:ex_symbol(x=a,b,c)为电流电气区域的数值,用-1、0、+1三个数值表示,“-1”表示在此区域内,与x(x=a,b,c)相反电势对应的x(x=a,b,c)相电流不为零且此相反电势波形函数为负值;“+1”表示在此区域内,与x(x=a,b,c)相反电势对应的x(x=a,b,c)相电流不为零且此相反电势波形函数为正值;“0”表示在此区域内,与x(x=a,b,c)相反电势对应的x,(x=a,b,c)相电流为零,而此相反电势波形函数的值为与转子位置有关的大于-1小于+1的数值;Hall信号代表其信号的“逻辑非”计算,“and”为“逻辑与”计算;Among them: e x _symbol (x=a, b, c) is the value of the electric current area, represented by three values -1, 0, +1, "-1" means in this area, and x (x=a ,b,c) The phase current of x(x=a,b,c) corresponding to the opposite potential is not zero and the waveform function of the opposite potential is negative; "+1" means that in this area, it is the same as x(x=a ,b,c) The phase current of x (x=a,b,c) corresponding to the opposite potential is not zero and the waveform function of the opposite potential is positive; b, c) The x, (x=a, b, c) phase current corresponding to the opposite potential is zero, and the value of the waveform function of the opposite potential is a value greater than -1 and less than +1 related to the rotor position; hall signal Represents the "logical NOT" calculation of its signal, and "and" is the "logical AND"calculation;
步骤3、将流过三相绕组的电流与代表三个电气区域的数值进行综合计算:Step 3. Comprehensively calculate the current flowing through the three-phase windings and the values representing the three electrical areas:
Tesign=sign(ia×ea_symbol+ib×eb_symbol+ic×ec_symbol)Te sign =sign(i a ×e a _symbol+i b ×e b _symbol+i c ×e c _symbol)
其中,Tesign——电磁转矩符号变量,计算结果用-1、+1、0表示,-1代表转矩为负,+1代表转矩为正,0代表转矩为零;sign(x)——符号计算函数,
步骤4:将计算出的电机转矩绝对值|Te|与计算出的转矩符号Tesign相乘,得出无刷直流电机转矩数值Step 4: Multiply the calculated absolute value of the motor torque |Te| with the calculated torque sign Te sign to obtain the brushless DC motor torque value
上述计算结果的符号为转矩方向,绝对值为转矩幅值。The sign of the above calculation result is the torque direction, and the absolute value is the torque amplitude.
所述的三相相电流中任一相未知电流通过三相相电流中的任意两相已测的相电流得出:ic=-ia-ib,式中,ia代表第一相电流采样值,ib代表第二相B相电流采样值,ic代表未知相的电流值。The unknown current of any phase in the three-phase phase currents is obtained by the measured phase currents of any two phases in the three-phase phase currents: i c =-i a -i b , where i a represents the first phase current sampling value, ib represents the current sampling value of the second phase B, and ic represents the current value of the unknown phase.
有益效果Beneficial effect
本发明提出的一种无刷直流电机的转矩方向和幅值的检测方法,只用检测无刷直流电机的转子位置和流过相绕组的电流,无需检测相电压、相反电势、无需得知电机定子电阻、电感等参数,检测装置不参与计算;无刷直流电机的转子位置检测只需要通过转子位置传感器检测三路相互相差120°电角度的离散转子位置信号,而无需检测转子位置的连续变化值;计算方法可通过对可编程芯片进行编程的方式实现,只占用软件程序空间,不占用物理上的硬件空间。因此,本发明需要检测的电气参数少,需要的硬件结构及计算方法简单。The method for detecting the torque direction and amplitude of a brushless DC motor proposed by the present invention only needs to detect the rotor position of the brushless DC motor and the current flowing through the phase windings, without detecting phase voltages, opposite potentials, and knowing For parameters such as motor stator resistance and inductance, the detection device does not participate in the calculation; the rotor position detection of the brushless DC motor only needs to detect three discrete rotor position signals with a mutual difference of 120° electrical angle through the rotor position sensor, without detecting the continuous rotation of the rotor position. Change value; the calculation method can be realized by programming the programmable chip, which only occupies software program space and does not occupy physical hardware space. Therefore, the present invention requires few electrical parameters to be detected, and the required hardware structure and calculation method are simple.
附图说明Description of drawings
图1是本发明优选实施例的无刷直流电机转速—转矩双闭环控制系统的原理方框图,它包括根据本发明实现的转矩方向和幅值检测装置及计算方法;Fig. 1 is the schematic block diagram of the brushless DC motor speed-torque double closed-loop control system of the preferred embodiment of the present invention, it comprises the torque direction and amplitude detection device and calculation method realized according to the present invention;
图2是本发明优选实施例的无刷直流电机转速—转矩双闭环控制系统的硬件结构框图,它包括根据本发明实现的转矩方向和幅值的检测装置;Fig. 2 is the hardware block diagram of the brushless DC motor speed-torque double closed-loop control system of the preferred embodiment of the present invention, and it comprises the detecting device of torque direction and amplitude realized according to the present invention;
图3是本发明优选实施例的转矩方向和幅值检测计算方法的算法计算框图;Fig. 3 is the algorithm calculation block diagram of the torque direction and amplitude detection calculation method of the preferred embodiment of the present invention;
图4是根据本发明优选实施例的转矩方向和幅值装置及计算方法的电机转子位置信号与当前流过三相绕组的电流所在的电气区域关系解算算法原理图;Fig. 4 is according to the preferred embodiment of the present invention torque direction and magnitude device and calculation method the motor rotor position signal and the electric area relation solution algorithm schematic diagram of the current that flows through the three-phase winding at present;
图5、图6是本发明优选实施例的电机电磁转矩、霍尔位置传感器信号、电流相电流、相反电势、相电流电气区域时序关系图;Fig. 5 and Fig. 6 are diagrams of time sequence relationship diagrams of motor electromagnetic torque, Hall position sensor signal, current phase current, opposite potential, and phase current electrical regions in a preferred embodiment of the present invention;
图7是图4所示的电机转子位置信号与当前流过三相绕组的电流所在的电气区域关系解算示意图的一个(但不唯一)变化形式的示意方框图。FIG. 7 is a schematic block diagram of a (but not the only) variation of the schematic diagram of solving the relationship between the motor rotor position signal and the electrical region where the current flowing through the three-phase windings is shown in FIG. 4 .
具体实施方式Detailed ways
现结合实施例、附图对本发明作进一步描述:Now in conjunction with embodiment, accompanying drawing, the present invention will be further described:
转矩方向和幅值检测装置:三个霍尔位置传感器(2)及信号检测电路(3)。霍尔位置传感器是用于无刷直流电机转子位置检测的器件,一般安装在无刷直流电机内部,霍尔位置传感器检测出的电机转子位置信号根据电机的旋转方向具有相同的相互相差120°电角度的相位关系;霍尔位置传感器信号检测电路用于将三个霍尔位置传感器输出的信号通过直接传输、光耦器件隔离或磁耦器件隔离等方式变换成后级电路能够处理的逻辑电平信号。Torque direction and amplitude detection device: three Hall position sensors (2) and signal detection circuit (3). The Hall position sensor is a device used to detect the rotor position of the brushless DC motor. It is generally installed inside the brushless DC motor. The motor rotor position signal detected by the Hall position sensor has the same phase difference of 120° according to the rotation direction of the motor. The phase relationship of the angle; the Hall position sensor signal detection circuit is used to convert the signals output by the three Hall position sensors into a logic level that can be processed by the subsequent circuit through direct transmission, optocoupler device isolation or magnetic coupler device isolation, etc. Signal.
用于检测流过相绕组的电流的电流传感器(4)及其信号调理电路(5)。信号调理电路的作用是将电流传感器输出的信号转换为系统中可编程芯片或ADC(Analog toDigital Converter,模—数转换器)能够接受的电压信号,用来将电流的模拟信号转换为用于计算的数字信号;A current sensor (4) and its signal conditioning circuit (5) for detecting the current flowing through the phase winding. The function of the signal conditioning circuit is to convert the signal output by the current sensor into a voltage signal that can be accepted by the programmable chip or ADC (Analog to Digital Converter) in the system, and is used to convert the analog signal of the current into a voltage signal for calculation digital signal;
用于实现模—数转换的ADC芯片及外围电路(6)。用于将代表电流的模拟电压量转换为代表相电流大小及正负的数字量,输出给后级可编程芯片,用于转矩计算;ADC可以是集成了ADC功能模块的可编程芯片的外设,也可以独立于可编程芯片的单独的ADC芯片及外围电路;An ADC chip and peripheral circuits (6) for realizing analog-to-digital conversion. It is used to convert the analog voltage representing the current into a digital value representing the magnitude of the phase current and its positive and negative values, and output it to the subsequent programmable chip for torque calculation; the ADC can be an external programmable chip integrated with the ADC function module It can also be independent of a separate ADC chip and peripheral circuits of the programmable chip;
用于实现转矩方向和幅值计算的可编程芯片(7),可编程芯片应为具有ADC外设的可编程芯片,或独立的可编程芯片,而ADC为单独的芯片,可编程芯片能够将ADC输出的代表电流的数字量读入芯片内部;The programmable chip (7) used to realize the calculation of torque direction and amplitude, the programmable chip should be a programmable chip with ADC peripherals, or an independent programmable chip, and the ADC is a separate chip, and the programmable chip can Read the digital quantity representing the current output by the ADC into the chip;
无刷直流电机采用两相导通三相星形六状态的运行方式,无刷直流电机的相反电势ea、eb、ec的波形为互差120°电角度的梯形波,理想状态下,梯形波的平顶宽度为120°电角度,梯形波的周期为360°电角度。The brushless DC motor adopts the operation mode of two-phase conduction, three-phase star and six states. The waveforms of the opposite potentials e a , e b , and e c of the brushless DC motor are trapezoidal waves with a mutual difference of 120° electrical angle. , the flat top width of the trapezoidal wave is 120° electrical angle, and the period of the trapezoidal wave is 360° electrical angle.
在任意时刻无刷直流电动机的电磁功率为三相绕组电磁功率的和,故有At any time, the electromagnetic power of the brushless DC motor is the sum of the electromagnetic power of the three-phase windings, so there is
P=eaia+ebib+ecic (6)P=e a i a +e b i b +e c i c (6)
又由于电机电磁功率电磁转矩及转子角速度的关系为And because the relationship between the electromagnetic power of the motor, the electromagnetic torque and the angular velocity of the rotor is
其中,Te——电机的电磁转矩,单位为N·m,Among them, T e ——the electromagnetic torque of the motor, the unit is N·m,
ω——电动机的角速度,单位为rad/s,ω——The angular velocity of the motor, in rad/s,
P——电机的电磁功率,单位为WP——The electromagnetic power of the motor, the unit is W
由上述两个式子可知无刷直流电机的电磁转矩为From the above two formulas, it can be known that the electromagnetic torque of the brushless DC motor is
在不考虑续流的情况下,各相电流在各自对应的相反电势波形的平顶部分才不为零,其余部分为零,故在上式中只需考虑各相反电势在正负平顶时的最大值,而ex=Ke·ω·fx(θ),(x=a,b,c),其中fx(θ),(x=a,b,c)为相反电势波形函数(相反电势波形函数为周期为360°电角度,平顶宽度为120°电角度,波形平顶处峰值为+1或-1的无量纲函数),因此,上述电磁转矩的计算公式可以变换为In the case of not considering freewheeling, the currents of each phase are not zero at the flat top part of their corresponding opposite potential waveforms, and the rest are zero. Therefore, in the above formula, it is only necessary to consider the positive and negative flat tops of each opposite potential , and e x =Ke·ω·f x (θ),(x=a,b,c), where f x (θ),(x=a,b,c) is the opposite potential waveform function ( On the contrary, the potential waveform function is a dimensionless function with a period of 360° electrical angle, a flat top width of 120° electrical angle, and a peak value of +1 or -1 at the flat top of the waveform), so the calculation formula of the above electromagnetic torque can be transformed into
Te=Ke×(fa(θ)ia+fb(θ)ib+fc(θ)ic) (9)T e =Ke×(f a (θ)i a +f b (θ)i b +f c (θ)i c ) (9)
分析图5、图6中三路Hall信号及电机三相反电势波形函数的对应关系,可以得出梯形波相反电势波形函数平顶处数值与三路霍尔信号对应的计算关系为:Analyzing the corresponding relationship between the three-way Hall signals and the three opposite potential waveform functions of the motor in Figure 5 and Figure 6, it can be concluded that the calculation relationship between the value at the flat top of the trapezoidal wave opposite potential waveform function and the three-way Hall signals is as follows:
其中,ex_symbol,(x=a,b,c)——电流电气区域计算值,用-1、0、+1三个数值表示,“-1”表示在此区域内,与x(x=a,b,c)相反电势对应的x(x=a,b,c)相电流不为零且此相反电势波形函数为负值;“+1”表示在此区域内,与x(x=a,b,c)相反电势对应的x(x=a,b,c)相电流不为零且此相反电势波形函数为正值;“0”表示在此区域内,与x(x=a,b,c)相反电势对应的x,(x=a,b,c)相电流为零,而此相反电势波形函数的值为与转子位置有关的大于-1小于+1的数值,但是,由电机的电磁转矩公式可知,当与相反电势所对应的相电流为零时,电机不产生电磁转矩,当x(x=a,b,c)相电流为零时的x(x=a,b,c)相反电势对于电磁转矩无意义,于是,在变量ex_symbol,(x=a,b,c)的计算公式中,将此区域的ex_symbol,(x=a,b,c)值解算为一个与相反电势波形函数无关的数值上为0的代数值。Among them, e x _symbol, (x=a, b, c)——the calculated value of the current electrical area, represented by three values of -1, 0, and +1, "-1" means that within this area, it is the same as x(x =a,b,c) The phase current of x(x=a,b,c) corresponding to the opposite potential is not zero and the waveform function of the opposite potential is negative; "+1" means that in this area, it is the same as x(x =a,b,c) The phase current of x (x=a,b,c) corresponding to the opposite potential is not zero and the waveform function of the opposite potential is positive; "0" means that in this area, it is consistent with x (x= a, b, c) The phase current corresponding to x, (x=a, b, c) of the opposite potential is zero, and the value of the waveform function of the opposite potential is a value greater than -1 and less than +1 related to the rotor position, but , it can be seen from the electromagnetic torque formula of the motor that when the phase current corresponding to the opposite potential is zero, the motor does not generate electromagnetic torque, and when the phase current of x(x=a,b,c) is zero, x(x = a, b, c) The opposite potential is meaningless for the electromagnetic torque, so, in the calculation formula of the variable ex _symbol, ( x =a, b, c), the ex _symbol of this area, ( x =a ,b,c) values are resolved as an algebraic value that is numerically zero and has nothing to do with the opposite potential waveform function.
其中,“and”表示逻辑“与”运算,“-”表示为减法计算,上述计算公式为逻辑运算与代数运算的混合运算,在括号里面的为逻辑运算,在括号外边的为代数运算,这里括号的意义为在进行括号内的逻辑运算后,将结果产生的“0”和“1”两个布尔类型数值转换为“0”和“+1”两个实数数值,之后在进行有符号的代数运算。Among them, "and" means logical "and" operation, and "-" means subtraction calculation. The above calculation formula is a mixed operation of logical operation and algebraic operation. The ones inside the brackets are logical operations, and the ones outside the brackets are algebraic operations. Here The meaning of the brackets is to convert the two Boolean values of "0" and "1" generated by the result into two real numbers of "0" and "+1" after performing the logical operation inside the brackets, and then perform signed algebraic operations.
于是,在不考虑换相续流情况下,电机的电磁转矩公式可以表示为Therefore, without considering commutation and freewheeling, the electromagnetic torque formula of the motor can be expressed as
其中,Kt=2Ke,Kt——转矩系数,单位为N·m/A;Ke——相反电势系数,单位为V/(rad/s)。Among them, Kt=2Ke, Kt—torque coefficient, the unit is N m/A; Ke—the opposite potential coefficient, the unit is V/(rad/s).
无刷直流电机通常采用两相导通三相星形六状态的运行方式,在非换相阶段,任意时刻都只有两相导通,另外一相相电流为零,三相电流关系为The brushless DC motor usually adopts the operation mode of two-phase conduction and three-phase star six states. In the non-commutation stage, only two phases are conduction at any time, and the phase current of the other phase is zero. The relationship between the three-phase currents is
其中,i1——导通相电流1;Among them, i 1 —— conduction phase current 1;
i2——导通相电流2;i 2 ——conduction phase current 2;
i3——非导通相电流。i 3 ——Non-conducting phase current.
当考虑到换相时的续流时,在换相阶段三相电流仍然存在以下关系When considering the freewheeling current during commutation, the three-phase current still has the following relationship during the commutation phase
ia+ib+ic=0 (13)i a + i b + i c = 0 (13)
于是,由式(9)、Kt=2Ke及图5、图6中相电流、反电势波形函数及电磁转矩之间的对应关系可知,无刷直流电机电磁转矩的绝对值可以表示为Therefore, from formula (9), Kt=2Ke and the corresponding relationship between phase current, back EMF waveform function and electromagnetic torque in Figure 5 and Figure 6, it can be known that the absolute value of the electromagnetic torque of the brushless DC motor can be expressed as
尽管公式(11)在考虑换相续流时对电磁转矩的解算结果有一定误差,但是,其对于电磁转矩符号计算结果是准确的,于是,可以用它作为电磁转矩符号的计算公式,于是,电磁转矩符号的计算公式可以表示为Although formula (11) has a certain error in the calculation result of the electromagnetic torque when commutation freewheeling is considered, its calculation result for the electromagnetic torque sign is accurate, so it can be used as the calculation of the electromagnetic torque sign The formula, so the calculation formula of the electromagnetic torque sign can be expressed as
Tesign=sign(ia×ea_symbol+ib×eb_symbol+ic×ec_symbol) (15)Te sign =sign(i a ×e a _symbol+i b ×e b _symbol+i c ×e c _symbol) (15)
其中,Tesign——电磁转矩符号变量,计算结果用-1、+1、0表示,-1代表转矩为负,+1代表转矩为正,0代表转矩为零;Among them, Te sign ——electromagnetic torque sign variable, the calculation result is represented by -1, +1, 0, -1 represents that the torque is negative, +1 represents that the torque is positive, and 0 represents that the torque is zero;
sign(x)——符号计算函数sign(x) - sign calculation function
至此,本发明无刷直流电机转矩方向和幅值检测及计算方法可以由以下方程组表示:So far, the brushless DC motor torque direction and amplitude detection and calculation method of the present invention can be expressed by the following equations:
上式中Te的计算结果的符号代表转矩的方向,数值大小代表转矩的幅值。The sign of the calculation result of Te in the above formula represents the direction of the torque, and the numerical value represents the magnitude of the torque.
由上述分析可知,若要采用本发明的无刷直流电机的转矩方向和幅值检测装置及计算方法来计算电机的电磁转矩,需要实施以下具体步骤:As can be seen from the above analysis, if the torque direction and amplitude detection device and calculation method of the brushless DC motor of the present invention are to be used to calculate the electromagnetic torque of the motor, the following specific steps need to be implemented:
(1)搭建并调试好三个霍尔位置传感器及其信号调理电路,将最终的输出的三路离散的转子位置信号送入可编程芯片;(1) Build and debug three Hall position sensors and their signal conditioning circuits, and send the final output three-way discrete rotor position signals to the programmable chip;
(2)搭建并调试好电机任意两相相电流的电流传感器电路、电流传感器输出信号的调理电路、ADC及其外围电路,将电机任意两相相电流采样并转换为有符号的数字量,送入可编程芯片;(2) Build and debug the current sensor circuit for any two-phase current of the motor, the conditioning circuit for the output signal of the current sensor, ADC and its peripheral circuits, sample and convert any two-phase current of the motor into signed digital quantities, and send into the programmable chip;
(3)在可编程芯片中实现如式(17)所示的电磁转矩计算算法,式(17)中的转矩系数可由式(18)计算得出(3) Implement the electromagnetic torque calculation algorithm shown in formula (17) in the programmable chip, and the torque coefficient in formula (17) can be calculated by formula (18)
其中,TeN——电机的额定转矩,单位为N·m;Among them, Te N - the rated torque of the motor, the unit is N m;
IN——电机的额定电流,单位为A。I N ——The rated current of the motor, the unit is A.
(4)图5、图6举例说明了电磁转矩、霍尔位置传感器信号、电流相电流、相反电势、相电流电气区域时序关系。图5、图6中,ia,ib,ic(A)为相电流信号,单位为安培(A),ex_symbol(x=a,b,c)为三相电流电气区域计算值,fx(θ)(x=a,b,c)与转速无关的且没有单位的反电势波形函数,Ha,Hb,Hc表示电机转子位置的三个霍尔信号,Te为采用本发明计算方法计算出的电磁转矩,单位牛·米(N·m)。(4) Figure 5 and Figure 6 illustrate the timing relationship of electromagnetic torque, Hall position sensor signal, current phase current, opposite potential, and phase current electrical area. In Fig. 5 and Fig. 6, i a , i b , i c (A) are the phase current signals, the unit is ampere (A), and ex_symbol (x=a, b, c) is the calculated value of the three-phase current electrical area , f x (θ) (x=a, b, c) has nothing to do with the rotational speed and has no unit back EMF waveform function, Ha, Hb, Hc represent the three Hall signals of the rotor position of the motor, Te is calculated by the present invention The electromagnetic torque calculated by the method, the unit is Newton·meter (N·m).
图5、图6中各个变量的波形曲线分别如图所示代表的是对应于本发明优选实施例的系统的a相、b相或c相信号,具体哪一条曲线对应于哪一相的信号,在具体应用中还可以根据编程者的习惯或具体情况随意调换,前提是信号之间的计算逻辑仍然需要遵循图4所示的计算逻辑。The waveform curves of each variable in Fig. 5 and Fig. 6 respectively represent the a phase, b phase or c phase signal corresponding to the system of the preferred embodiment of the present invention as shown in the figure, which specific curve corresponds to the signal of which phase , in a specific application, it can also be freely exchanged according to the habit of the programmer or the specific situation, provided that the calculation logic between the signals still needs to follow the calculation logic shown in Figure 4.
(5)表1为根据图5、图6的时序关系及图4,式(10)所示的三相电流电气区域计算方法的计算结果。表1中,当霍尔信号全为0或全为1时,说明霍尔信号电路出现了故障,这时根据式(10),代表相电流电气区域的数值将全部被解算为0。(5) Table 1 shows the calculation results of the three-phase current electrical area calculation method shown in Figure 5 and Figure 6 according to the timing relationship in Figure 4 and Equation (10). In Table 1, when the Hall signals are all 0 or all 1, it indicates that the Hall signal circuit is faulty. At this time, according to formula (10), the values representing the phase current electrical region will all be resolved to 0.
表1Table 1
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310294101.XA CN103414425B (en) | 2013-07-12 | 2013-07-12 | A kind of torque direction of brshless DC motor and the detection method of amplitude |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310294101.XA CN103414425B (en) | 2013-07-12 | 2013-07-12 | A kind of torque direction of brshless DC motor and the detection method of amplitude |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103414425A CN103414425A (en) | 2013-11-27 |
CN103414425B true CN103414425B (en) | 2015-09-23 |
Family
ID=49607415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310294101.XA Expired - Fee Related CN103414425B (en) | 2013-07-12 | 2013-07-12 | A kind of torque direction of brshless DC motor and the detection method of amplitude |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103414425B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036492A (en) * | 2011-10-05 | 2013-04-10 | 姚其良 | Working program control programming for outer-stator type direct current motor |
CN104022699A (en) * | 2014-05-19 | 2014-09-03 | 江苏新绿能科技有限公司 | Direct torque control method for brushless direct current motor |
CN105429521B (en) * | 2014-09-22 | 2018-09-04 | 台达电子工业股份有限公司 | Motor driving circuit, method for detecting steering of single-phase direct-current motor and starting method of motor |
US20160308462A1 (en) * | 2015-04-14 | 2016-10-20 | Mediatek Inc. | Driving module and driving method |
CN105140899A (en) * | 2015-08-04 | 2015-12-09 | 西北工业大学 | Current-limiting protection device of high-power permanent-magnet brushless direct-current motor |
CN105471336A (en) * | 2015-12-02 | 2016-04-06 | 江苏科技大学 | Method for recognizing opposite electric potentials of brushless direct current motor |
CN105406778A (en) * | 2015-12-02 | 2016-03-16 | 江苏科技大学 | Brushless direct current motor electromagnetic torque identification method |
CN105406789B (en) * | 2015-12-02 | 2018-10-19 | 南通联源机电科技股份有限公司 | A kind of detection device and detection method of permanent magnet synchronous motor electromagnetic torque |
CN105790666A (en) * | 2016-04-11 | 2016-07-20 | 南京信息工程大学 | Brushless direct current motor direct torque control system and method based on Hall signals |
CN112600469A (en) * | 2020-11-27 | 2021-04-02 | 盐城工学院 | Brushless direct current power generation system of range extender of electric automobile |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1396705A (en) * | 2002-06-20 | 2003-02-12 | 南京航空航天大学 | DC start/electricgeneration system with electric/electronic converter for squirrel-cage asynchronous generator with instantaneous torque control |
CN102612801A (en) * | 2009-11-10 | 2012-07-25 | Abb研究有限公司 | Apparatus and method for generating electromagnetic torque in an electric machine |
CN102780433A (en) * | 2012-07-10 | 2012-11-14 | 燕山大学 | Instantaneous torque control method of brushless direct-current motor based on direct-current control |
CN102946227A (en) * | 2012-10-26 | 2013-02-27 | 福州大学 | Observation method and device for electromagnetic torque of salient pole type permanent-magnet brushless direct current motor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2464002B1 (en) * | 2010-12-09 | 2018-05-16 | Inmotion Technologies AB | Estimation of actual torque in an electrical motor drive |
-
2013
- 2013-07-12 CN CN201310294101.XA patent/CN103414425B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1396705A (en) * | 2002-06-20 | 2003-02-12 | 南京航空航天大学 | DC start/electricgeneration system with electric/electronic converter for squirrel-cage asynchronous generator with instantaneous torque control |
CN102612801A (en) * | 2009-11-10 | 2012-07-25 | Abb研究有限公司 | Apparatus and method for generating electromagnetic torque in an electric machine |
CN102780433A (en) * | 2012-07-10 | 2012-11-14 | 燕山大学 | Instantaneous torque control method of brushless direct-current motor based on direct-current control |
CN102946227A (en) * | 2012-10-26 | 2013-02-27 | 福州大学 | Observation method and device for electromagnetic torque of salient pole type permanent-magnet brushless direct current motor |
Also Published As
Publication number | Publication date |
---|---|
CN103414425A (en) | 2013-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414425B (en) | A kind of torque direction of brshless DC motor and the detection method of amplitude | |
CN101174811B (en) | Electric motor control method and device adopting space vector pulse width modulation | |
CN103414427B (en) | Brushless direct current motor control method | |
CN104022708B (en) | Electric variable-pitch driving system by speed sensorless technology and method thereof | |
Wang et al. | A resolver-to-digital conversion method based on third-order rational fraction polynomial approximation for PMSM control | |
CN106533303A (en) | Permanent magnet brushless DC motor driver control method | |
CN103023414A (en) | Low-cost quick reconstruction method for phase current of permanent magnet motor of fan | |
CN113872483B (en) | Three-phase current reconstruction method, device, equipment and storage medium | |
CN104767434A (en) | A brushless DC motor rotor commutation position detection and commutation control method | |
CN103296960A (en) | Vector control method for single current sensor | |
CN105790666A (en) | Brushless direct current motor direct torque control system and method based on Hall signals | |
CN107276479A (en) | A kind of two-phase orthogonal winding permagnetic synchronous motor rotating speed determines method | |
CN109861605B (en) | A deadbeat torque prediction control method for permanent magnet synchronous motor | |
TWI533591B (en) | A predictive current control method for interior permanent magnet synchronous motors and synchronous reluctance motors based on extended back-emf estimation | |
CN112511059A (en) | High-precision position estimation method for permanent magnet synchronous motor | |
CN111857197A (en) | Three-phase AC motor and its load simulation method and device | |
CN109039199B (en) | Bus current estimation method and system for EPS controller | |
WO2018210203A1 (en) | Vector control method and system based on rotary transformer, and motor system | |
CN113872484B (en) | Three-phase current reconstruction method, device, equipment and storage medium | |
CN113872486B (en) | Three-phase current reconstruction method, device, equipment and storage medium | |
CN108448960B (en) | A real-time simulation method for the power stage of a four-quadrant permanent magnet motor | |
CN102368674B (en) | Method and system for resolving position of switched reluctance motor rotor | |
TW201342792A (en) | A predictive current control method for interior permanent magnet synchronous motor and synchronous reluctance motor drive systems using current change detection technique | |
CN108199636B (en) | A Method of Motor Initial Angle Positioning Based on Vector Control Strategy | |
CN110061669A (en) | Direct torque control method for permanent magnetic synchronous electric machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150923 |
|
CF01 | Termination of patent right due to non-payment of annual fee |