[go: up one dir, main page]

CN109633259B - A brushless motor power detection method - Google Patents

A brushless motor power detection method Download PDF

Info

Publication number
CN109633259B
CN109633259B CN201910055506.5A CN201910055506A CN109633259B CN 109633259 B CN109633259 B CN 109633259B CN 201910055506 A CN201910055506 A CN 201910055506A CN 109633259 B CN109633259 B CN 109633259B
Authority
CN
China
Prior art keywords
resistor
motor
pin
field effect
effect transistor
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.)
Active
Application number
CN201910055506.5A
Other languages
Chinese (zh)
Other versions
CN109633259A (en
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.)
Lansen Sensor (Hangzhou) Co.,Ltd.
Original Assignee
Lansea Intelligent Technology Co ltd
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 Lansea Intelligent Technology Co ltd filed Critical Lansea Intelligent Technology Co ltd
Priority to CN201910055506.5A priority Critical patent/CN109633259B/en
Publication of CN109633259A publication Critical patent/CN109633259A/en
Application granted granted Critical
Publication of CN109633259B publication Critical patent/CN109633259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/133Arrangements for measuring electric power or power factor by using digital technique

Landscapes

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

Abstract

本发明公开了一种无刷电机功率检测方法,现有技术中通过电机两端的电压值即供电电源电压来计算电机功率,但是,当电机电流较大时,功率驱动管的功耗不能完全忽略及电源的正负极引线电阻不能忽略时,按照该方法计算的电机功率误差较大;本发明提供一种更精确的检测方法,首先检测电机两端的电压瞬时值,同时检测采样电阻的两端电压,进一步计算获得电压两端的电流瞬时值,根据电压瞬时值和电流瞬时值计算电机的功率,该检测方法检测的电机功率排除了驱动管的功耗和电源的正负极引线电阻,提高检测电机功率的精度。

Figure 201910055506

The invention discloses a brushless motor power detection method. In the prior art, the motor power is calculated by the voltage value at both ends of the motor, that is, the power supply voltage. However, when the motor current is large, the power consumption of the power drive tube cannot be completely ignored. When the positive and negative lead resistances of the power supply cannot be ignored, the error of the motor power calculated according to this method is relatively large; the present invention provides a more accurate detection method, which firstly detects the instantaneous value of the voltage at both ends of the motor, and simultaneously detects the two ends of the sampling resistor. Voltage, further calculate and obtain the instantaneous value of current at both ends of the voltage, and calculate the power of the motor according to the instantaneous value of the voltage and the instantaneous value of the current. Accuracy of motor power.

Figure 201910055506

Description

一种无刷电机功率检测方法A brushless motor power detection method

技术领域technical field

本发明涉及电机的实时检测领域,尤其涉及无刷电机的功率检测方法。The invention relates to the field of real-time detection of motors, in particular to a power detection method of a brushless motor.

背景技术Background technique

目前大多数电机检测模块,仅仅检测电机电流的瞬时值,默认电机两端的电压值即为供电电源电压来计算电机功率,但是,当电机电流较大时,功率驱动管或场效应管的功耗不能完全忽略,电源的正负极引线电阻也不能忽略,此时按照前述方式计算的电机功率误差较大。At present, most motor detection modules only detect the instantaneous value of the motor current. The default voltage value at both ends of the motor is the power supply voltage to calculate the motor power. However, when the motor current is large, the power consumption of the power drive tube or FET It cannot be completely ignored, and the resistance of the positive and negative leads of the power supply cannot be ignored either. At this time, the error of the motor power calculated according to the above method is relatively large.

为了提高检测电机功率的精度,本发明通过检测电机电压的瞬时值和电流瞬时值计算电机功率。In order to improve the accuracy of detecting the motor power, the present invention calculates the motor power by detecting the instantaneous value of the motor voltage and the instantaneous value of the current.

发明内容SUMMARY OF THE INVENTION

本发明提供电机功率的监测方式,在电机电流较大时,能够获得准确的电机功率。The present invention provides a monitoring method for motor power, and when the motor current is relatively large, accurate motor power can be obtained.

本发明解决上述技术问题所采用的技术方案为:The technical scheme adopted by the present invention to solve the above-mentioned technical problems is:

一种无刷电机功率检测方法,采用电机功率检测电路检测和计算获得电机的功率值,所述电机功率检测电路包括驱动电路、主控器、霍尔传感器、电机、逆变器、电阻网络、电源Vin、地GND,所述电机内部包括电机绕组,所述电阻网络包括由多个电阻和电容组成的电压检测模块和采样电阻R4,所述逆变器包括第一场效应管Q1、第二场效应管Q2、第三场效应管Q3、第四场效应管Q4,所述采样电阻R4串联在第二场效应管Q2和第四场效应管Q4与地GND之间;所述主控器包括主控芯片以及位于所述主控芯片内部的模数转换器;所述电压检测模块与所述电机并联,所述主控芯片内部的模数转化器读取采样电阻R4两端的电压Vis,通过计算得到电机绕组的瞬时电流值;所述主控芯片内部的模数转化器读取电机两端瞬时电压值,通过计算得到电机绕组的瞬时电压值,所述电机绕组的瞬时电压值与所述电机绕组的瞬时电流值相乘计算得到电机的瞬时功率。A brushless motor power detection method adopts a motor power detection circuit to detect and calculate the power value of the motor, and the motor power detection circuit includes a drive circuit, a main controller, a Hall sensor, a motor, an inverter, a resistance network, Power supply Vin, ground GND, the motor includes motor windings, the resistance network includes a voltage detection module composed of multiple resistors and capacitors and a sampling resistor R 4 , the inverter includes a first field effect transistor Q 1 , The second field effect transistor Q 2 , the third field effect transistor Q 3 and the fourth field effect transistor Q 4 , the sampling resistor R 4 is connected in series with the second field effect transistor Q 2 and the fourth field effect transistor Q 4 and the ground GND between; the main controller includes a main control chip and an analog-to-digital converter inside the main control chip; the voltage detection module is connected in parallel with the motor, and the analog-to-digital converter inside the main control chip reads The voltage Vis at both ends of the sampling resistor R4 is calculated to obtain the instantaneous current value of the motor winding; the analog-to-digital converter inside the main control chip reads the instantaneous voltage value at both ends of the motor, and the instantaneous voltage value of the motor winding is obtained by calculation, so The instantaneous power of the motor is obtained by multiplying the instantaneous voltage value of the motor winding by the instantaneous current value of the motor winding.

本发明的另一种方案是在上述方案的基础上,所述电压检测模块包括第一电阻R1、第二电阻R2、第三电阻R3、第五电阻R5、第六电阻R6、第七电阻R7、第一电容C1、第二电容C2Another solution of the present invention is based on the above solution, the voltage detection module includes a first resistor R 1 , a second resistor R 2 , a third resistor R 3 , a fifth resistor R 5 , and a sixth resistor R 6 , a seventh resistor R 7 , a first capacitor C 1 , and a second capacitor C 2 ;

所述驱动电路包括六个脚,所述主控器包括六个脚,所述霍尔传感器包括一个脚,所述电机包括两个脚,所述第一电阻R1、第二电阻R2、第三电阻R3、第五电阻R5、第六电阻R6、第七电阻R7、第一电容C1、第二电容C2、采样电阻R4分别包括两个脚;所述第一场效应管Q1、第二场效应管Q2、第三场效应管Q3、第四场效应管Q4分别包括三个脚;The drive circuit includes six pins, the main controller includes six pins, the Hall sensor includes one pin, the motor includes two pins, the first resistor R 1 , the second resistor R 2 , The third resistor R 3 , the fifth resistor R 5 , the sixth resistor R 6 , the seventh resistor R 7 , the first capacitor C 1 , the second capacitor C 2 , and the sampling resistor R 4 respectively include two pins; The field effect transistor Q 1 , the second field effect transistor Q 2 , the third field effect transistor Q 3 , and the fourth field effect transistor Q 4 respectively include three feet;

所述电机功率检测电路连接方式如下:The connection mode of the motor power detection circuit is as follows:

所述采样电阻R4的第二脚连接到主控器的第四脚,采样电阻R4的第一脚连接到地GND;采样电阻R4的第二脚、第二场效应管Q2的第二脚及第四场效应管Q4的第二脚连接在一起; The second pin of the sampling resistor R4 is connected to the fourth pin of the main controller, the first pin of the sampling resistor R4 is connected to the ground GND ; the second pin of the sampling resistor R4, the second pin of the second field effect transistor Q2 The second pin and the second pin of the fourth field effect transistor Q4 are connected together;

所述第一电阻R1的第二脚与所述电机的第一脚连接,所述第一电阻R1和所述第二电阻R2串联,所述第一电阻的R1的第一脚与所述第二电阻R2的第二脚及所述第三电阻R3的第一脚连接在一起,所述第三电阻R3的第二脚与所述第一电容C1的第二脚在P1点连接,P1点连接到所述主控器的第五脚,所述第一电容C1的第一脚与地GND连接;The second leg of the first resistor R1 is connected to the first leg of the motor, the first resistor R1 and the second resistor R2 are connected in series, and the first leg of the first resistor R1 Connect with the second pin of the second resistor R2 and the first pin of the third resistor R3 , the second pin of the third resistor R3 and the second pin of the first capacitor C1 The pin is connected at point P1, the point P1 is connected to the fifth pin of the main controller, and the first pin of the first capacitor C1 is connected to the ground GND;

所述第五电阻R5的第二脚与所述电机的第二脚连接,所述第五电阻R5和所述第六电阻R6串联,所述第五电阻的R5的第一脚与所述第六电阻R6的第二脚及所述第七电阻R7的第二脚连接在一起,所述第七电阻R7的第一脚与所述第二电容C2的第二脚在P2点连接,P2点连接到所述主控器的第六脚,所述第二电容C2的第一脚与地GND连接;The second leg of the fifth resistor R5 is connected to the second leg of the motor, the fifth resistor R5 and the sixth resistor R6 are connected in series, and the first leg of the fifth resistor R5 Connect with the second pin of the sixth resistor R6 and the second pin of the seventh resistor R7 , the first pin of the seventh resistor R7 and the second pin of the second capacitor C2 The pin is connected at point P2, the point P2 is connected to the sixth pin of the main controller, and the first pin of the second capacitor C2 is connected to the ground GND;

所述第一场效应管Q1的第三脚、所述第三场效应管Q3的第三脚一起与电源Vin连接;The third pin of the first field effect transistor Q1 and the third pin of the third field effect transistor Q3 are connected to the power supply Vin together;

所述第一场效应管Q1的第二脚、所述第二场效应管Q2的第三脚共同连接在所述电机的第一脚M1点;The second pin of the first field effect transistor Q1 and the third pin of the second field effect transistor Q2 are jointly connected to the first pin M1 of the motor;

所述第三场效应管Q3的第二脚、所述第四场效应管Q4的第三脚共同连接在所述电机的第二脚M2点;The second pin of the third field effect transistor Q3 and the third pin of the fourth field effect transistor Q4 are jointly connected to the second pin M2 of the motor;

所述第一场效应管Q1的第一脚与所述驱动电路的第一脚连接;所述第二场效应管Q2的第一脚与所述驱动电路的第二脚连接;所述第三场效应管Q3的第一脚与驱动电路的第三脚连接;所述第四场效应管Q4的第一脚与所述驱动电路的第四脚连接;The first pin of the first field effect transistor Q1 is connected with the first pin of the driving circuit; the first pin of the second field effect transistor Q2 is connected with the second pin of the driving circuit; the The first pin of the third field effect transistor Q3 is connected with the third pin of the driving circuit; the first pin of the fourth field effect transistor Q4 is connected with the fourth pin of the driving circuit;

所述主控器的第一脚与所述驱动电路的第五脚连接;所述主控器的第二脚与所述驱动电路的第六脚连接;The first pin of the main controller is connected with the fifth pin of the driving circuit; the second pin of the main controller is connected with the sixth pin of the driving circuit;

所述无刷电机功率的检测方法如下:The detection method of the power of the brushless motor is as follows:

(1)实时检测电机功率检测电路中P1点、P2点的电压瞬时值,检测方法为:所述主控芯片内部的模数转换器根据所述主控器第五脚输入的信号转换得到P1点的电压值VP1;所述主控芯片内部的模数转换器根据所述主控器(102)第六脚输入的信号转换得到P2点的电压值VP2(1) Real-time detection of the instantaneous voltage values of points P 1 and P 2 in the motor power detection circuit, the detection method is: the analog-to-digital converter inside the main control chip converts the signal inputted by the fifth pin of the main control device Obtain the voltage value VP1 of point P1 ; the analog - to-digital converter inside the main control chip converts the voltage value VP2 of point P2 according to the signal input from the sixth pin of the main controller (102);

(2)分别计算电机绕组两端点M1、M2的电压瞬时值VM2、VM1(2) Calculate the instantaneous voltage values V M2 and V M1 of the two ends M 1 and M 2 of the motor winding respectively,

VM2计算方式如下:V M2 is calculated as follows:

VM2=IM2*(R5+R6),IM2=VP2/R6V M2 =I M2 *(R 5 +R 6 ), I M2 =V P2 /R 6 ,

VM2=VP2/R6*(R5+R6)=(1+R5/R6)*VP2 V M2 =V P2 /R 6 *(R 5 +R 6 )=(1+R 5 /R 6 )*V P2

VM1计算方式如下:VM1 is calculated as follows:

VM1=IM1*(R1+R2),IM1=VP1/R2V M1 =I M1 *(R 1 +R 2 ), I M1 =V P1 /R 2 ,

VM1=VP1/R2*(R1+R2)=(1+R1/R2)*VP1 V M1 =V P1 /R 2 *(R 1 +R 2 )=(1+R 1 /R 2 )*V P1

电机绕组的电压瞬时值VMOTOR根据以下公式计算获得:The voltage instantaneous value VMOTOR of the motor winding is calculated according to the following formula:

VMOTOR=|VM2-VM1|=|(1+R5/R6)*VP2-(1+R1/R2)*VP1|V MOTOR =|V M2 -V M1 |=|(1+R 5 /R 6 )*V P2 -(1+R 1 /R 2 )*V P1 |

(3)实时检测电机的电流瞬时值,检测方法为:经主控器的第四脚通过模数转化,检测得到电阻R4上的电压Vis,根据Iis=Vis/R4计算得到流过电阻R4的电流瞬时电流值Iis,所述电机绕组的瞬时电流值等于所述流过电阻R4的电流瞬时电流值;(3) Detect the current instantaneous value of the motor in real time, and the detection method is as follows: through analog-to-digital conversion through the fourth pin of the main controller, the voltage Vis on the resistor R 4 is obtained by detection, and the current is calculated according to I is =V is /R 4 . The instantaneous current value I is of the current flowing through the resistor R 4 , and the instantaneous current value of the motor winding is equal to the instantaneous current value of the current flowing through the resistor R 4 ;

(4)根据所述电机绕组两端的电压瞬时值和所述电机绕组的电流瞬时值计算电机的功率PMOTOR,计算方法为:PMOTOR=VMOTOR*Iis(4) Calculate the power P MOTOR of the motor according to the instantaneous value of the voltage across the motor winding and the instantaneous value of the current of the motor winding, and the calculation method is: P MOTOR =V MOTOR *I is .

本发明以上技术方案涉及的原理包括:根据串联电路的电流值一样,并联电路的电压值一样,电压=电流*电阻,电机绕组功率=电机绕组瞬时电压*电机绕组瞬时电流。The principles involved in the above technical solutions of the present invention include: according to the same current value of the series circuit and the same voltage value of the parallel circuit, voltage=current*resistance, motor winding power=motor winding instantaneous voltage*motor winding instantaneous current.

本发明的技术方案产生的积极效果如下:The positive effect that the technical scheme of the present invention produces is as follows:

(1)实时监测电机的瞬时功率;(1) Real-time monitoring of the instantaneous power of the motor;

(2)消除功率驱动管的功耗和电源的正负极引线电阻对电机功率计算的误差;(2) Eliminate the power consumption of the power drive tube and the error of the positive and negative lead resistance of the power supply to the calculation of the motor power;

(3)实时监测功率驱动管的功耗,以便及时的发现功率驱动管的异常情况,及时排除故障,避免烧坏电机。(3) Monitor the power consumption of the power drive tube in real time, so as to find out the abnormal situation of the power drive tube in time, remove the fault in time, and avoid burning out the motor.

附图说明Description of drawings

图1为电机功率检测原理图;Figure 1 is a schematic diagram of the motor power detection;

图2为功率检测架构图。Figure 2 is a power detection architecture diagram.

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

101驱动电路101 drive circuit

102主控器102 master controller

103霍尔传感器103 Hall sensor

104电机104 Motor

105电压检测模块105 voltage detection module

106逆变器106 inverter

R1第一电阻、R2第二电阻、R3第三电阻、R5第五电阻、R6第六电阻、R7第七电阻R1 first resistor, R2 second resistor, R3 third resistor, R5 fifth resistor, R6 sixth resistor, R7 seventh resistor

C1第一电容、C2第二电容 C1 first capacitor, C2 second capacitor

R4采样电阻R 4 sampling resistor

Q1第一场效应管、Q2第二场效应管、Q3第三场效应管、Q4第四场效应管Q 1 first FET, Q 2 second FET, Q 3 third FET, Q 4 fourth FET

Vin电源Vin power

GND地GND ground

具体实施方式Detailed ways

本发明的一个实施例是:An embodiment of the present invention is:

一种无刷电机功率检测方法,采用如图1所示的电机功率检测电路检测和计算获得电机的功率值,所述电机功率检测电路包括驱动电路101、主控器102、霍尔传感器103、电机104、逆变器106、电阻网络、电源Vin、地GND,所述电机104内部包括电机绕组,所述电阻网络包括由多个电阻和电容组成的电压检测模块105和采样电阻R4,所述逆变器106包括第一场效应管Q1、第二场效应管Q2、第三场效应管Q3、第四场效应管Q4,所述采样电阻R4串联在第二场效应管Q2和第四场效应管Q4与地GND之间;所述主控器102包括主控芯片以及位于所述主控芯片内部的模数转换器;所述电压检测模块105与所述电机104并联,所述主控芯片内部的模数转化器读取采样电阻R4两端的电压Vis,通过计算得到电机绕组的瞬时电流值;所述主控芯片内部的模数转化器读取电机104两端瞬时电压值,通过计算得到电机绕组的瞬时电压值,所述电机绕组的瞬时电压值与所述电机绕组的瞬时电流值相乘计算得到电机的瞬时功率。A brushless motor power detection method, using the motor power detection circuit shown in FIG. 1 to detect and calculate the power value of the motor, the motor power detection circuit includes a drive circuit 101, a main controller 102, a Hall sensor 103, The motor 104, the inverter 106, the resistor network, the power supply Vin, and the ground GND, the motor 104 includes a motor winding inside, and the resistor network includes a voltage detection module 105 composed of a plurality of resistors and capacitors and a sampling resistor R 4 , so The inverter 106 includes a first field effect transistor Q 1 , a second field effect transistor Q 2 , a third field effect transistor Q 3 , and a fourth field effect transistor Q 4 , and the sampling resistor R 4 is connected in series with the second field effect transistor between the transistor Q2 and the fourth field effect transistor Q4 and the ground GND; the main controller 102 includes a main control chip and an analog-to-digital converter inside the main control chip; the voltage detection module 105 and the The motors 104 are connected in parallel, the analog-to-digital converter inside the main control chip reads the voltage Vis at both ends of the sampling resistor R 4 , and the instantaneous current value of the motor winding is obtained by calculation; the analog-to-digital converter inside the main control chip reads the motor 104 The instantaneous voltage value at both ends is calculated to obtain the instantaneous voltage value of the motor winding, and the instantaneous power of the motor is calculated by multiplying the instantaneous voltage value of the motor winding by the instantaneous current value of the motor winding.

进一步的,所述电压检测模块105包括第一电阻R1、第二电阻R2、第三电阻R3、第五电阻R5、第六电阻R6、第七电阻R7、第一电容C1、第二电容C2Further, the voltage detection module 105 includes a first resistor R 1 , a second resistor R 2 , a third resistor R 3 , a fifth resistor R 5 , a sixth resistor R 6 , a seventh resistor R 7 , and a first capacitor C 1. The second capacitor C 2 ;

如图1和图2所示,所述驱动电路101包括六个脚,所述主控器102包括六个脚,所述霍尔传感器103包括一个脚,所述电机104包括两个脚,所述第一电阻R1、第二电阻R2、第三电阻R3、第五电阻R5、第六电阻R6、第七电阻R7、第一电容C1、第二电容C2、采样电阻R4分别包括两个脚;所述第一场效应管Q1、第二场效应管Q2、第三场效应管Q3、第四场效应管Q4分别包括三个脚;As shown in FIG. 1 and FIG. 2 , the driving circuit 101 includes six pins, the main controller 102 includes six pins, the Hall sensor 103 includes one pin, and the motor 104 includes two pins. The first resistor R 1 , the second resistor R 2 , the third resistor R 3 , the fifth resistor R 5 , the sixth resistor R 6 , the seventh resistor R 7 , the first capacitor C 1 , the second capacitor C 2 , the sampling The resistor R 4 includes two feet respectively; the first field effect transistor Q 1 , the second field effect transistor Q 2 , the third field effect transistor Q 3 , and the fourth field effect transistor Q 4 respectively include three feet;

所述电机功率检测电路连接方式如下:The connection mode of the motor power detection circuit is as follows:

所述采样电阻R4的第二脚连接到主控器102的第四脚,采样电阻R4的第一脚连接到地GND;采样电阻R4的第二脚、第二场效应管Q2的第二脚及第四场效应管Q4的第二脚连接在一起; The second pin of the sampling resistor R4 is connected to the fourth pin of the main controller 102, the first pin of the sampling resistor R4 is connected to the ground GND ; the second pin of the sampling resistor R4, the second field effect transistor Q2 The second pin of the MOSFET and the second pin of the fourth FET Q4 are connected together;

所述第一电阻R1的第二脚与所述电机104的第一脚连接,所述第一电阻R1和所述第二电阻R2串联,所述第一电阻的R1的第一脚与所述第二电阻R2的第二脚及所述第三电阻R3的第一脚连接在一起,所述第三电阻R3的第二脚与所述第一电容C1的第二脚在P1点连接,P1点连接到所述主控器102的第五脚,所述第一电容C1的第一脚与地GND连接;The second leg of the first resistor R1 is connected to the first leg of the motor 104, the first resistor R1 and the second resistor R2 are connected in series, and the first resistor R1 of the first resistor is connected in series. The pin is connected to the second pin of the second resistor R2 and the first pin of the third resistor R3 , and the second pin of the third resistor R3 is connected to the first pin of the first capacitor C1 . The two pins are connected at the point P1, the point P1 is connected to the fifth pin of the main controller 102, and the first pin of the first capacitor C1 is connected to the ground GND;

所述第五电阻R5的第二脚与所述电机104的第二脚连接,所述第五电阻R5和所述第六电阻R6串联,所述第五电阻的R5的第一脚与所述第六电阻R6的第二脚及所述第七电阻R7的第二脚连接在一起,所述第七电阻R7的第一脚与所述第二电容C2的第二脚在P2点连接,P2点连接到所述主控器102的第六脚,所述第二电容C2的第一脚与地GND连接;The second pin of the fifth resistor R5 is connected to the second pin of the motor 104, the fifth resistor R5 and the sixth resistor R6 are connected in series, and the first pin of R5 of the fifth resistor is connected in series. The pin is connected with the second pin of the sixth resistor R6 and the second pin of the seventh resistor R7 , and the first pin of the seventh resistor R7 is connected to the second pin of the second capacitor C2. The two pins are connected at point P2, the point P2 is connected to the sixth pin of the main controller 102, and the first pin of the second capacitor C2 is connected to the ground GND;

所述第一场效应管Q1的第三脚、所述第三场效应管Q3的第三脚一起与电源Vin连接;The third pin of the first field effect transistor Q1 and the third pin of the third field effect transistor Q3 are connected to the power supply Vin together;

所述第一场效应管Q1的第二脚、所述第二场效应管Q2的第三脚共同连接在所述电机104的第一脚M1点;The second pin of the first field effect transistor Q1 and the third pin of the second field effect transistor Q2 are jointly connected to the first pin M1 of the motor 104;

所述第三场效应管Q3的第二脚、所述第四场效应管Q4的第三脚共同连接在所述电机104的第二脚M2点;The second pin of the third field effect transistor Q3 and the third pin of the fourth field effect transistor Q4 are jointly connected to the second pin M2 of the motor 104;

所述第一场效应管Q1的第一脚与所述驱动电路101的第一脚连接;所述第二场效应管Q2的第一脚与所述驱动电路101的第二脚连接;所述第三场效应管Q3的第一脚与驱动电路101的第三脚连接;所述第四场效应管Q4的第一脚与所述驱动电路101的第四脚连接;The first pin of the first field effect transistor Q1 is connected to the first pin of the driving circuit 101; the first pin of the second field effect transistor Q2 is connected to the second pin of the driving circuit 101; The first pin of the third field effect transistor Q3 is connected to the third pin of the driving circuit 101; the first pin of the fourth field effect transistor Q4 is connected to the fourth pin of the driving circuit 101;

所述主控器102的第一脚与所述驱动电路101的第五脚连接;所述主控器102的第二脚与所述驱动电路101的第六脚连接;The first pin of the main controller 102 is connected to the fifth pin of the driving circuit 101 ; the second pin of the main controller 102 is connected to the sixth pin of the driving circuit 101 ;

所述无刷电机功率的检测方法如下:The detection method of the power of the brushless motor is as follows:

(1)实时检测电机功率检测电路中P1点、P2点的电压瞬时值,检测方法为:所述主控芯片内部的模数转换器根据所述主控器102第五脚输入的信号转换得到P1点的电压值VP1;所述主控芯片内部的模数转换器根据所述主控器102第六脚输入的信号转换得到P2点的电压值VP2(1) Real-time detection of the instantaneous voltage values of points P 1 and P 2 in the motor power detection circuit, the detection method is: the analog-to-digital converter inside the main control chip is based on the signal input by the fifth pin of the main controller 102 Convert to obtain the voltage value VP1 of point P1 ; the analog - to-digital converter inside the main control chip converts the voltage value VP2 of point P2 according to the signal input from the sixth pin of the main controller 102;

(2)分别计算电机绕组两端点M1、M2的电压瞬时值VM2、VM1(2) Calculate the instantaneous voltage values V M2 and V M1 of the two ends M 1 and M 2 of the motor winding respectively,

VM2计算方式如下:V M2 is calculated as follows:

VM2=IM2*(R5+R6),IM2=VP2/R6V M2 =I M2 *(R 5 +R 6 ), I M2 =V P2 /R 6 ,

VM2=VP2/R6*(R5+R6)=(1+R5/R6)*VP2 V M2 =V P2 /R 6 *(R 5 +R 6 )=(1+R 5 /R 6 )*V P2

VM1计算方式如下:V M1 is calculated as follows:

VM1=IM1*(R1+R2),IM1=VP1/R2V M1 =I M1 *(R 1 +R 2 ), I M1 =V P1 /R 2 ,

VM1=VP1/R2*(R1+R2)=(1+R1/R2)*VP1 V M1 =V P1 /R 2 *(R 1 +R 2 )=(1+R 1 /R 2 )*V P1

电机绕组的电压瞬时值VMOTOR根据以下公式计算获得:The instantaneous value of the motor winding voltage V MOTOR is calculated according to the following formula:

VMOTOR=|VM2-VM1|=|(1+R5/R6)*VP2-(1+R1/R2)*VP1|V MOTOR =|V M2 -V M1 |=|(1+R 5 /R 6 )*V P2 -(1+R 1 /R 2 )*V P1 |

(3)实时检测电机104的电流瞬时值,检测方法为:经主控器102的第四脚通过模数转化,检测得到电阻R4上的电压Vis,根据Iis=Vis/R4计算得到流过电阻R4的电流瞬时电流值Iis,所述电机绕组的瞬时电流值等于所述流过电阻R4的电流瞬时电流值;(3) Detect the current instantaneous value of the motor 104 in real time. The detection method is as follows: through analog-to-digital conversion through the fourth pin of the main controller 102, the voltage Vis on the resistor R 4 is detected and calculated according to I is =V is /R 4 Obtain the instantaneous current value I is of the current flowing through the resistor R 4 , and the instantaneous current value of the motor winding is equal to the instantaneous current value of the current flowing through the resistor R 4 ;

(4)根据所述电机绕组两端的电压瞬时值和所述电机绕组的电流瞬时值计算电机104的功率PMOTOR,计算方法为:PMOTOR=VMOTOR*Iis(4) Calculate the power P MOTOR of the motor 104 according to the instantaneous value of the voltage across the motor winding and the instantaneous value of the current of the motor winding, and the calculation method is: P MOTOR =V MOTOR *I is .

进一步的,驱动电路的第一脚为Vgs1,第二脚为Vgs2,第三脚为Vgs3,第四脚为Vgs4,第五脚为为DRV1,第六脚为为DRV1。Further, the first pin of the driving circuit is Vgs1, the second pin is Vgs2, the third pin is Vgs3, the fourth pin is Vgs4, the fifth pin is DRV1, and the sixth pin is DRV1.

进一步的,主控器的第一脚为DRV1,第二脚为DRV2,第三脚与HALL端口(霍尔信号输入口)连接,第四脚与采样电流Is输入端口连接,第五脚为AD1,第六脚为AD2。Further, the first pin of the main controller is DRV1, the second pin is DRV2, the third pin is connected to the HALL port (Hall signal input port), the fourth pin is connected to the sampling current Is input port, and the fifth pin is AD1. , the sixth pin is AD2.

所述Vgs指场效应管的栅极驱动电压、DRV指驱动信号,AD1和AD2分别为第一数输入端口和第二模数输入端口。The Vgs refers to the gate driving voltage of the FET, DRV refers to the driving signal, and AD1 and AD2 are the first digital input port and the second analog-digital input port, respectively.

以上仅是本发明的优选实施方式,本发明的保护范围并不仅局限于实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和变换,应视为本发明的保护范围。The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the embodiments, and all technical solutions that belong to the idea of the present invention belong to the protection scope of the present invention. It should be pointed out that for those skilled in the art, several improvements and transformations without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims (1)

1. The brushless motor power detection method is characterized in that the motor power detection circuit comprises a driving circuit (101), a main controller (102), a Hall sensor (103), a motor (104), an inverter (106), a resistor network, a power source Vin and a ground GND, a motor winding is arranged in the motor (104), and the resistor network comprises a voltage detection module (105) consisting of a plurality of resistors and capacitors and a sampling resistor R4The inverter (106) comprises a first field effect transistor Q1And a second field effect transistor Q2And a third field effect transistor Q3And a fourth field effect transistor Q4The sampling resistor R4Is connected in series to a second field effect transistor Q2And a fourth field effect transistor Q4And ground GND; the master controller (102) comprises a master control chip and an analog-to-digital converter positioned in the master control chip; the voltage detection module (105) is connected with the motor (104) in parallel, and an analog-to-digital converter in the main control chip reads a sampling resistor R4Calculating the voltage Vis at the two ends to obtain the instantaneous current value of the motor winding; an analog-digital converter in the main control chip reads instantaneous voltage values at two ends of a motor (104), instantaneous voltage values of a motor winding are obtained through calculation, and instantaneous power of the motor is obtained through multiplication of the instantaneous voltage values of the motor winding and instantaneous current values of the motor winding;
the voltage detection module (105) comprises a first resistor R1A second resistor R2A third resistor R3A fifth resistor R5A sixth resistor R6A seventh resistor R7A first capacitor C1A second capacitor C2
The drive circuit (101) comprises six pins, the master controller (102) comprises six pins, the hall sensor (103) comprises one pin, the drive circuitThe motor (104) comprises two legs, the first resistor R1A second resistor R2A third resistor R3A fifth resistor R5A sixth resistor R6A seventh resistor R7A first capacitor C1A second capacitor C2Sampling resistor R4Respectively comprises two feet; the first field effect transistor Q1A second field effect transistor Q2And a third field effect transistor Q3And a fourth field effect transistor Q4Respectively comprises three feet;
the connection mode of the motor power detection circuit is as follows:
the sampling resistor R4Is connected to a fourth pin of the master controller (102), a sampling resistor R4Is connected to ground GND; sampling resistor R4Second pin and second field effect transistor Q2Second pin and fourth field effect transistor Q4The second legs of the first and second legs are connected together;
the first resistor R1Is connected to a first leg of the motor (104), the first resistor R1And said second resistance R2In series, R of the first resistor1First pin of (2) and the second resistor R2And the third resistor R3The first legs of the third resistor R are connected together, and the third resistor R3And the first capacitor C1Second leg of (2) is at P1Point connection, P1A fifth pin point-connected to the master (102), the first capacitor C1The first pin of the transformer is connected with the ground GND;
the fifth resistor R5Is connected to the second leg of the motor (104), and the fifth resistor R5And the sixth resistor R6R of the fifth resistor in series5The first pin of (2) and the sixth resistor R6And the seventh resistor R7Is connected together, said seventh resistor R7First pin of and the second capacitor C2The second leg of (B) is at P2Point connection, P2A sixth pin point-connected to the master (102), the second capacitor C2The first pin of the transformer is connected with the ground GND;
the first field effect transistor Q1Third pin of (1) and the third field effect transistor Q3Are connected together with a power source Vin;
the first field effect transistor Q1Second pin of the second field effect transistor Q2Is commonly connected to the first leg M of the motor (104)1Point;
the third field effect transistor Q3Second pin of the fourth field effect transistor Q4Is connected to the second leg M of the motor (104)2Point;
the first field effect transistor Q1Is connected with a first pin of the driving circuit (101); the second field effect transistor Q2Is connected with the second pin of the driving circuit (101); the third field effect transistor Q3Is connected with the third pin of the driving circuit (101); the fourth field effect transistor Q4Is connected with a fourth pin of the driving circuit (101);
the first pin of the main controller (102) is connected with the fifth pin of the driving circuit (101); the second pin of the main controller (102) is connected with the sixth pin of the driving circuit (101);
the detection method of the brushless motor power comprises the following steps:
(1) real-time detection P in motor power detection circuit1Point, P2The detection method of the voltage instantaneous value of the point comprises the following steps: an analog-to-digital converter in the main control chip converts a signal input by a fifth pin of the main controller (102) to obtain P1Voltage value V of pointP1(ii) a An analog-to-digital converter in the main control chip converts a signal input by a sixth pin of the main controller (102) to obtain P2Voltage value V of pointP2
(2) Respectively calculating two end points M of motor winding1、M2Voltage instantaneous value V ofM2、VM1
VM2The calculation method is as follows:
VM2=IM2*(R5+R6),IM2=VP2/R6
VM2=VP2/R6*(R5+R6)=(1+R5/R6)*VP2
VM1the calculation method is as follows:
VM1=IM1*(R1+R2),IM1=VP1/R2
VM1=VP1/R2*(R1+R2)=(1+R1/R2)*VP1
instantaneous value V of voltage of motor windingMOTORCalculated according to the following formula:
VMOTOR=|VM2-VM1|=|(1+R5/R6)*VP2-(1+R1/R2)*VP1|
(3) the method for detecting the current instantaneous value of the motor (104) in real time comprises the following steps: the resistance R is obtained by the analog-to-digital conversion of the fourth pin of the main controller (102) through detection4Voltage Vis on, according to Iis=Vis/R4Calculating to obtain a flow resistance R4Current instantaneous current value IisThe instantaneous current value of the motor winding is equal to the flow resistance R4Current instantaneous current value of (a);
(4) calculating the power P of the motor (104) from the instantaneous value of the voltage across the motor winding and the instantaneous value of the current of the motor windingMOTORThe calculation method comprises the following steps: pMOTOR=VMOTOR*Iis
CN201910055506.5A 2019-01-21 2019-01-21 A brushless motor power detection method Active CN109633259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910055506.5A CN109633259B (en) 2019-01-21 2019-01-21 A brushless motor power detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910055506.5A CN109633259B (en) 2019-01-21 2019-01-21 A brushless motor power detection method

Publications (2)

Publication Number Publication Date
CN109633259A CN109633259A (en) 2019-04-16
CN109633259B true CN109633259B (en) 2022-06-07

Family

ID=66062262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910055506.5A Active CN109633259B (en) 2019-01-21 2019-01-21 A brushless motor power detection method

Country Status (1)

Country Link
CN (1) CN109633259B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2846488B1 (en) * 2002-10-25 2005-01-14 Pompes Salmson Sa METHOD FOR MEASURING POWER SUPPLIED BY A MOTOR
EP2088438B1 (en) * 2008-02-06 2011-04-27 Electrolux Home Products Corporation N.V. Method and device for measuring the electric power of a universal electric motor powered by sinusoidal alternating voltage
CN105738691A (en) * 2014-12-11 2016-07-06 国家电网公司 Efficacy metering detection platform for high voltage motor
CN104656017B (en) * 2015-02-13 2018-10-09 国家电网公司 High-voltage motor efficiency gauge check method
CN106124847A (en) * 2016-06-16 2016-11-16 湖南博广信息科技有限公司 Power of motor acquisition system
CN105954576A (en) * 2016-06-20 2016-09-21 珠海格力节能环保制冷技术研究中心有限公司 Input power calculation circuit of motor
CN107525965B (en) * 2016-06-22 2024-03-26 广州致远电子股份有限公司 Power analysis method and device
CN206114767U (en) * 2016-08-31 2017-04-19 江苏大唐国际吕四港发电有限责任公司 Generator active power intelligence becomes send device
CN207114727U (en) * 2017-06-01 2018-03-16 水电十四局大理聚能投资有限公司 A kind of device for testing power of wind power generating set
CN207164135U (en) * 2017-09-27 2018-03-30 河南中州电气设备有限公司 High-pressure liquid integrates soft starting power detection device

Also Published As

Publication number Publication date
CN109633259A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN106124840B (en) Current detection circuit
CN106851474B (en) Class D audio amplifier and corresponding reading method
CN101614761B (en) Current-sensing circuit
CN110635686B (en) A kind of control and fault detection method of boost circuit based on switching system
CN114740297A (en) Power device testing method and system
CN211235999U (en) Motor current detection circuit and device
CN109633259B (en) A brushless motor power detection method
CN104698264B (en) Passive input filter with the adjustable clamp for measuring shunt
CN106053954A (en) DC bus capacitor online monitoring method
JP3753120B2 (en) Bidirectional current detection device and motor drive device
JP5516350B2 (en) Load drive circuit
CN106787902A (en) One kind amendment ripple inverter output voltage control system and control method
CN110086338A (en) A kind of line loss compensation circuit of DC/DC converter
JP5224128B2 (en) Current detection circuit
CN113189389A (en) Current sensor unit and current detection circuit
CN104406641B (en) An ultrasonic flowmeter peak detection method and compensation system
CN109564139B (en) Sensor device
CN212255458U (en) Sensorless SiC MOSFET current detection circuit
CN102355184B (en) Back-EMF (back electromotive force) zero-crossing detection circuit and method for three-phase DC (direct current) brushless motors
JP5369818B2 (en) Inverter device failure detection method
CN203660518U (en) Overcurrent protection circuit of insulated gate bipolar transistor
CN210373383U (en) Analog quantity measuring channel overvoltage protector for electric heating steam boiler
CN107689759A (en) A kind of motor-drive circuit and detection method of low cost current detection
CN105305974B (en) Driving device with correction function and wireless charging driving system applying same
JP2011069809A5 (en)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230411

Address after: 311100 Room 313, South Building, No. 2 Chaofeng East Road, Development Zone, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: Blue Ocean Intelligent Technology (Hangzhou) Co.,Ltd.

Address before: 201518 No. 505, Rongchang Road, LvXiang Town, Jinshan District, Shanghai

Patentee before: LANSEA INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 311100 Room 313, South Building, No. 2 Chaofeng East Road, Development Zone, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: Lansen Sensor (Hangzhou) Co.,Ltd.

Country or region after: China

Address before: 311100 Room 313, South Building, No. 2 Chaofeng East Road, Development Zone, Yuhang District, Hangzhou City, Zhejiang Province

Patentee before: Blue Ocean Intelligent Technology (Hangzhou) Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address