TWI828419B - Current sensing and overcurrent protection circuit for brushless DC motors - Google Patents

Current sensing and overcurrent protection circuit for brushless DC motors Download PDF

Info

Publication number
TWI828419B
TWI828419B TW111143273A TW111143273A TWI828419B TW I828419 B TWI828419 B TW I828419B TW 111143273 A TW111143273 A TW 111143273A TW 111143273 A TW111143273 A TW 111143273A TW I828419 B TWI828419 B TW I828419B
Authority
TW
Taiwan
Prior art keywords
current
voltage
sampling
unit
overcurrent protection
Prior art date
Application number
TW111143273A
Other languages
Chinese (zh)
Other versions
TW202407371A (en
Inventor
劉揚波
耿駿
劉啟付
傅劍平
Original Assignee
大陸商昂寶電子(上海)有限公司
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 大陸商昂寶電子(上海)有限公司 filed Critical 大陸商昂寶電子(上海)有限公司
Application granted granted Critical
Publication of TWI828419B publication Critical patent/TWI828419B/en
Publication of TW202407371A publication Critical patent/TW202407371A/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/085Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

本發明提供了一種用於直流無刷電機的電流檢測和過流保護電路。所述直流無刷電機包括三相全橋逆變電路,所述電流檢測和過流保護電路包括:電流採樣單元,被配置為採集與所述三相全橋逆變電路的電流對應的採樣電壓,並根據所述三相全橋逆變電路的功率設置偏置電壓,將所述偏置電壓施加到所述採樣電壓以生成偏置採樣電壓,並對所述偏置採樣電壓進行放大,以生成放大採樣電壓;以及過流保護單元,被配置為將所述放大採樣電壓與預定閾值進行比較,以確定所述三相全橋逆變電路的電流是否過流。 The invention provides a current detection and overcurrent protection circuit for a DC brushless motor. The brushless DC motor includes a three-phase full-bridge inverter circuit, and the current detection and over-current protection circuit includes: a current sampling unit configured to collect a sampling voltage corresponding to the current of the three-phase full-bridge inverter circuit. , and set the bias voltage according to the power of the three-phase full-bridge inverter circuit, apply the bias voltage to the sampling voltage to generate a bias sampling voltage, and amplify the bias sampling voltage to generating an amplified sampling voltage; and an overcurrent protection unit configured to compare the amplified sampling voltage with a predetermined threshold to determine whether the current of the three-phase full-bridge inverter circuit is overcurrent.

Description

用於直流無刷電機的電流檢測和過流保護電路 Current sensing and overcurrent protection circuit for brushless DC motors

本發明涉及電路領域,特別是,涉及一種用於直流無刷電機的電流檢測和過流保護電路。 The present invention relates to the field of circuits, and in particular, to a current detection and overcurrent protection circuit for a brushless DC motor.

直流無刷電機因其效率高、啟動扭矩大而越來越廣泛地被應用。通常,直流無刷電機包括反電勢為方波的直流無刷電機(Brushless DC Motor,BLDC)和反電勢為弦波的永磁同步馬達(Permanent-magnet Synchronous Motor,PMSM)。 Brushless DC motors are becoming more and more widely used due to their high efficiency and large starting torque. Generally, the brushless DC motor includes a brushless DC motor (BLDC) whose back electromotive force is a square wave and a permanent magnet synchronous motor (PMSM) whose back electromotive force is a sinusoidal wave.

為了監測直流無刷電機的工作狀態,需要對其電流進行檢測並進行過流保護。通常,通過設置週邊電路來檢測電流並進行過流保護。然而,這種週邊電路通常比較複雜,易於受到其他信號的干擾,並且不能靈活地應用於不同的直流無刷電機,從而導致檢測和過流保護效果不佳。 In order to monitor the working status of the brushless DC motor, its current needs to be detected and overcurrent protection implemented. Usually, peripheral circuits are set up to detect current and provide overcurrent protection. However, this peripheral circuit is usually complex, prone to interference from other signals, and cannot be flexibly applied to different brushless DC motors, resulting in poor detection and overcurrent protection effects.

因此,需要能夠準確、靈活地對直流無刷電機進行電流檢測和過流保護的方式。 Therefore, a method that can accurately and flexibly perform current detection and overcurrent protection on brushless DC motors is needed.

根據本發明的示例性實施例提供了一種用於直流無刷電機的電流檢測和過流保護電路,所述直流無刷電機包括三相全橋逆變電路,所述電流檢測和過流保護電路包括:電流採樣單元,被配置為採集與所述三相全橋逆變電路的電流對應的採樣電壓,並根據所述三相全橋逆變電路的功率設置偏置電壓,將所述偏置電壓施加到所述採樣電壓以生成偏置採樣電壓,並對所述偏置採樣電壓進行放大,以生成放大採樣電壓;以及過流保護單元,被配置為將所述放大採樣電壓與預定閾值進行比較,以確定所述三相全橋逆變電路的電流是否過流。 According to an exemplary embodiment of the present invention, a current detection and overcurrent protection circuit for a brushless DC motor is provided. The brushless DC motor includes a three-phase full-bridge inverter circuit. The current detection and overcurrent protection circuit It includes: a current sampling unit configured to collect a sampling voltage corresponding to the current of the three-phase full-bridge inverter circuit, and set a bias voltage according to the power of the three-phase full-bridge inverter circuit, and set the bias a voltage is applied to the sampling voltage to generate a bias sampling voltage, and the bias sampling voltage is amplified to generate an amplified sampling voltage; and an overcurrent protection unit configured to compare the amplified sampling voltage with a predetermined threshold Compare to determine whether the current of the three-phase full-bridge inverter circuit is overcurrent.

根據本發明的示例性實施例的用於直流無刷電機的電流檢測 和過流保護電路,能夠根據直流無刷電機的不同而設置不同的偏置電壓,能夠使用放大的採樣電壓用於過流保護,從而能夠更準確、靈活地檢測直流無刷電機的電流,提高了抗干擾性能,能夠更準確地對不同的直流無刷電機進行過流保護。 Current detection for brushless DC motor according to exemplary embodiments of the present invention And the overcurrent protection circuit can set different bias voltages according to different brushless DC motors, and can use the amplified sampling voltage for overcurrent protection, so that the current of the brushless DC motor can be detected more accurately and flexibly, improving With improved anti-interference performance, it can more accurately protect different brushless DC motors from overcurrent.

100:三相全橋逆變電路 100: Three-phase full-bridge inverter circuit

201,203,204:檢測電路 201,203,204:Detection circuit

202:保護電路 202: Protection circuit

300:過流保護電路 300: Overcurrent protection circuit

310,PGA1,PGA2:電流採樣單元 310,PGA1,PGA2: current sampling unit

311:採樣連接單元 311: Sampling connection unit

312:偏置電壓單元 312: Bias voltage unit

312-1:輸入偏置電壓單元 312-1: Input bias voltage unit

312-2:輸出偏置電壓單元 312-2: Output bias voltage unit

313:放大單元 313: Amplification unit

320:過流保護單元 320: Overcurrent protection unit

321:比較單元 321: Comparison unit

322:時間濾波單元 322: Time filter unit

330:平均電流單元 330:Average current unit

331:第二選擇單元 331: Second selection unit

331-1,331-2,331-3:子選擇單元 331-1, 331-2, 331-3: Sub-selection unit

332:濾波單元 332: Filter unit

333:輸出單元 333:Output unit

340:第一選擇單元 340: First selection unit

ADC:類比數位轉換器 ADC: Analog to Digital Converter

C1,CR:電容器 C1,CR: capacitor

CMP:比較器 CMP: Comparator

GND:基準地 GND: base ground

OP0,OP1,OP2:放大器 OP0, OP1, OP2: Amplifier

PCB:印刷電路板 PCB: printed circuit board

PGA:運算放大器 PGA: operational amplifier

PGA_AVG_ADC:平均放大採樣電壓 PGA_AVG_ADC: Average amplified sampling voltage

PGA0:電流採樣單元 PGA0: Current sampling unit

PGA0_ADC,PGA1_ADC,PGA2_ADC:放大採樣電壓 PGA0_ADC, PGA1_ADC, PGA2_ADC: amplify the sampling voltage

PGA0_N,PGA0_O,PGA0_P,PGA1_N,PGA1_O,PGA1_P,PGA2_N,PGA2_O,P GA2_P:引腳 PGA0_N,PGA0_O,PGA0_P,PGA1_N,PGA1_O,PGA1_P,PGA2_N,PGA2_O,P GA2_P: pin

PWM_FLT:輸出比較信號 PWM_FLT: Output comparison signal

PWM_FLT Interrupt:信號 PWM_FLT Interrupt: signal

R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,Rfilter:電阻器 R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,Rfilter: resistors

RC:低通濾波器 RC: low pass filter

Rcs0,Rcs1,Rcs2:電流檢測電阻器 Rcs0, Rcs1, Rcs2: current sensing resistors

SW,SW1:開關 SW, SW1: switch

Vcs,Vcs1,VOP0,VOP1:電壓 Vcs, Vcs1, V OP0 , V OP1 : voltage

VDD:輸入偏置電壓 VDD: input bias voltage

Voffset:輸出偏置電壓 Voffset: output offset voltage

從下面結合圖式對本發明的具體實施方式的描述中可以更好地理解本發明,其中:圖1示出了根據一個示例性實施例的直流無刷電機的電流檢測和過流保護電路的電路圖。 The present invention can be better understood from the following description of specific embodiments of the present invention in conjunction with the drawings, in which: Figure 1 shows a circuit diagram of a current detection and overcurrent protection circuit of a brushless DC motor according to an exemplary embodiment. .

圖2示出了根據一個示例性實施例的圖1的直流無刷電機的電流檢測和過流保護電路的電壓信號的示意圖。 FIG. 2 shows a schematic diagram of voltage signals of the current detection and overcurrent protection circuit of the brushless DC motor of FIG. 1 according to an exemplary embodiment.

圖3示出了根據另一示例性實施例的直流無刷電機的電流檢測和過流保護電路的電路圖。 3 shows a circuit diagram of a current detection and overcurrent protection circuit of a brushless DC motor according to another exemplary embodiment.

圖4示出了根據一個示例性實施例的圖3的直流無刷電機的電流檢測和過流保護電路的電壓信號的示意圖。 FIG. 4 shows a schematic diagram of voltage signals of the current detection and overcurrent protection circuit of the brushless DC motor of FIG. 3 according to an exemplary embodiment.

圖5示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的框圖。 5 shows a block diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to an exemplary embodiment of the present invention.

圖6示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 FIG. 6 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to an exemplary embodiment of the present invention.

圖7示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路中的平均電流單元的電路圖。 7 shows a circuit diagram of an average current unit in a current detection and overcurrent protection circuit for a brushless DC motor according to an exemplary embodiment of the present invention.

圖8示出了根據本發明的另一示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 8 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to another exemplary embodiment of the present invention.

圖9示出了根據本發明的另一示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 FIG. 9 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to another exemplary embodiment of the present invention.

下面將詳細描述本發明的各個方面的特徵和示例性實施例。 在下面的詳細描述中,提出了許多具體細節,以便提供對本發明的全面理解。但是,對於本領域技術人員來說很明顯的是,本發明可以在不需要這些具體細節中的一些細節的情況下實施。下面對實施例的描述僅僅是為了通過示出本發明的示例來提供對本發明的更好的理解。本發明決不限於下面所提出的任何具體配置和演算法,而是在不脫離本發明的精神的前提下覆蓋了元素、部件和演算法的任何修改、替換和改進。在圖式和下面的描述中,沒有示出公知的結構和技術,以便避免對本發明造成不必要的模糊。 Features and exemplary embodiments of various aspects of the invention are described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by illustrating examples of the invention. The present invention is in no way limited to any specific configurations and algorithms set forth below, but covers any modifications, substitutions and improvements of elements, components and algorithms without departing from the spirit of the invention. In the drawings and the following description, well-known structures and techniques are not shown in order to avoid unnecessarily obscuring the present invention.

圖1示出了根據一個示例性實施例的直流無刷電機的電流檢測和過流保護電路的電路圖。 FIG. 1 shows a circuit diagram of a current detection and overcurrent protection circuit of a brushless DC motor according to an exemplary embodiment.

如圖1所示,直流無刷電機通常包括三相全橋逆變電路100,通常,對直流無刷電機進行電流檢測和過流保護是對三相全橋逆變電路100的電流進行檢測和過流保護。 As shown in Figure 1, the brushless DC motor usually includes a three-phase full-bridge inverter circuit 100. Usually, the current detection and over-current protection of the brushless DC motor is to detect and detect the current of the three-phase full-bridge inverter circuit 100. Overcurrent protection.

例如,可對直流無刷電機的三相全橋逆變電路100的母線的電流進行檢測和過流保護。電流檢測和過流保護電路通常包括檢測電路201和保護電路202。檢測電路201連接在三相全橋逆變電路100的母線上的電流檢測電阻器Rcs0的兩端,以通過檢測電流檢測電阻器Rcs0兩端的電壓Vcs來檢測母線的電流。換言之,通過檢測電壓Vcs可以獲得三相全橋逆變電路100的電流資訊。此外,通過檢測電壓Vcs還可以獲得直流無刷電機(例如,永磁同步馬達(permanent-magnet synchronous motor,PMSM))的轉子的位置資訊。 For example, the current of the busbar of the three-phase full-bridge inverter circuit 100 of the brushless DC motor can be detected and overcurrent protected. The current detection and overcurrent protection circuit generally includes a detection circuit 201 and a protection circuit 202. The detection circuit 201 is connected to both ends of the current detection resistor Rcs0 on the bus of the three-phase full-bridge inverter circuit 100 to detect the current of the bus by detecting the voltage Vcs across the current detection resistor Rcs0. In other words, the current information of the three-phase full-bridge inverter circuit 100 can be obtained by detecting the voltage Vcs. In addition, position information of the rotor of a brushless DC motor (for example, a permanent magnet synchronous motor (PMSM)) can also be obtained by detecting the voltage Vcs.

為了限制電流檢測電阻器Rcs0的功耗,通常選擇電阻值較小的電流檢測電阻器Rcs0,例如,毫歐或十毫歐級別的電阻器。因而,電流檢測電阻器Rcs0兩端的電壓Vcs也會比較小,通常為0至幾百毫伏(mV)。為了容易地識別電壓Vcs的變化,通常需要將電壓Vcs進行放大。因此,檢測電路201通常包括放大器OP0(運算放大器)以及電阻器R2和R4,使得放大器OP0具有放大倍數Gain=(1+R4/R2)。應該理 解,上述等式中的R2和R4分別表示電阻器R2和R4的電阻值。 In order to limit the power consumption of the current detection resistor Rcs0, the current detection resistor Rcs0 with a smaller resistance value is usually selected, for example, a resistor in the milliohm or ten milliohm level. Therefore, the voltage Vcs across the current sensing resistor Rcs0 will also be relatively small, usually 0 to several hundred millivolts (mV). In order to easily identify changes in the voltage Vcs, the voltage Vcs usually needs to be amplified. Therefore, the detection circuit 201 generally includes an amplifier OP0 (operational amplifier) and resistors R2 and R4, so that the amplifier OP0 has an amplification gain Gain=(1+R4/R2). Should be reasonable Solution, R2 and R4 in the above equation represent the resistance values of resistors R2 and R4 respectively.

此外,放大器OP0輸出的信號通常需要輸入到ADC(Analog-to-digital Converter,類比數位轉換器)進行轉換與後續處理,ADC的分辨範圍通常從幾百毫伏開始,因此需要將從0V開始變化的電壓Vcs進行偏置,以使其位於ADC的分辨範圍內。因此,通常需要設置偏置電阻器R3和R1以及輸入偏置電壓VDD,使得從電阻器R1與R3之間的節點處施加到電壓Vcs的輸出偏置電壓為Voffset=VDD×R1/(R1+R3)。由此,從放大器OP0輸出的電壓為VOP0=Gain×(Vcs+VDD×R1/(R1+R3))。應該理解,上述等式中的R1和R3分別表示電阻器R1和R3的電阻值。 In addition, the signal output by the amplifier OP0 usually needs to be input to an ADC (Analog-to-digital Converter, analog-to-digital converter) for conversion and subsequent processing. The resolution range of the ADC usually starts from a few hundred millivolts, so it needs to change from 0V. The voltage Vcs is biased so that it is within the resolution range of the ADC. Therefore, it is usually necessary to set the bias resistors R3 and R1 and the input bias voltage VDD so that the output bias voltage applied to the voltage Vcs from the node between the resistors R1 and R3 is Voffset=VDD×R1/(R1+ R3). Therefore, the voltage output from amplifier OP0 is V OP0 =Gain×(Vcs+VDD×R1/(R1+R3)). It should be understood that R1 and R3 in the above equation represent the resistance values of resistors R1 and R3 respectively.

圖2示出了根據一個示例性實施例的圖1的直流無刷電機的電流檢測和過流保護電路的電壓信號的示意圖。 FIG. 2 shows a schematic diagram of voltage signals of the current detection and overcurrent protection circuit of the brushless DC motor of FIG. 1 according to an exemplary embodiment.

圖2示出了檢測的電流檢測電阻器Rcs0兩端的電壓Vcs、輸入到放大器OP0的電壓Vcs+Voffset、以及從放大器OP0輸出的電壓VOP0。圖2中的虛線表示0V的電壓。由圖2可以看出,在施加了輸出偏置電壓Voffset之後,輸入到放大器OP0的電壓Vcs+Voffset具有大於0V的電壓值,即其被放大後的最小電壓值可以位於後續的ADC的最小分辨電壓值以上。 FIG. 2 shows the detected voltage Vcs across the current detection resistor Rcs0, the voltage Vcs+Voffset input to the amplifier OP0, and the voltage V OP0 output from the amplifier OP0. The dashed line in Figure 2 represents a voltage of 0V. As can be seen from Figure 2, after the output bias voltage Voffset is applied, the voltage Vcs+Voffset input to the amplifier OP0 has a voltage value greater than 0V, that is, its amplified minimum voltage value can be located at the minimum resolution of the subsequent ADC. voltage value or above.

此外,由圖2可以看出,檢測的電壓信號(以及由此產生的電壓Vcs+Voffset、VOP0)具有受三相全橋逆變電路100的開關SW(例如,半導體功率器件(例如,MOSFET或IGBT))影響的開關雜訊(圖2的電壓信號左側的波動部分)。 In addition, it can be seen from FIG. 2 that the detected voltage signal (and the resulting voltages Vcs+Voffset, V OP0 ) has a function affected by the switch SW (for example, a semiconductor power device (for example, MOSFET) of the three-phase full-bridge inverter circuit 100 or IGBT)) (the fluctuation part on the left side of the voltage signal in Figure 2).

返回參照圖1,三相全橋逆變電路100有時會出現異常工況而導致暫態過流,例如,在橋臂短路或者電機相線短路等情況下。然而,三相全橋逆變電路100的開關SW(例如,功率電晶體)在流過過流的電流的情況下最大的正常工作時間通常僅為10毫秒(ms)左右,因此,需要在該時間範圍內檢測出過流並進行過流保護。為此,通常設置如圖1所示的保護電路202。 Referring back to FIG. 1 , the three-phase full-bridge inverter circuit 100 may sometimes experience abnormal operating conditions, resulting in transient overcurrent, for example, when a bridge arm is short-circuited or a motor phase line is short-circuited. However, the maximum normal operating time of the switch SW (eg, power transistor) of the three-phase full-bridge inverter circuit 100 when an overcurrent flows is usually only about 10 milliseconds (ms). Therefore, it is necessary to Overcurrent is detected within the time range and overcurrent protection is performed. For this purpose, a protection circuit 202 as shown in Figure 1 is usually provided.

該保護電路202通過電阻器R5和電容器C1對電流檢測電阻器Rcs0兩端的電壓Vcs進行濾波以減小如圖2中所示的開關雜訊,並通過比較器CMP將該電壓Vcs與通過電阻器R6和R7和輸入偏置電壓VDD設置的過流閾值(VDD×R7(R6+R7)/Rcs)進行比較,以輸出比較信號PWM_FLT。在電壓Vcs大於過流閾值時,比較器CMP翻轉以進行過流保護。 The protection circuit 202 filters the voltage Vcs across the current sensing resistor Rcs0 through the resistor R5 and the capacitor C1 to reduce the switching noise as shown in FIG. 2, and compares the voltage Vcs with the voltage through the resistor through the comparator CMP. R6 and R7 are compared with the overcurrent threshold (VDD×R7(R6+R7)/Rcs) set by the input bias voltage VDD to output the comparison signal PWM_FLT. When the voltage Vcs is greater than the overcurrent threshold, the comparator CMP flips over for overcurrent protection.

然而,比較器CMP的輸入端通常具有失調電壓,而採樣的電壓Vcs通常又比較小,因此失調電壓會對電壓值較小的Vcs帶來較大的誤差,導致過流保護的精度較低。 However, the input end of the comparator CMP usually has an offset voltage, and the sampled voltage Vcs is usually relatively small. Therefore, the offset voltage will bring a larger error to the smaller voltage Vcs, resulting in lower accuracy of overcurrent protection.

此外,在如圖1所示的檢測電路201和保護電路202被形成在PCB(印刷電路板)上之後,通常以上輸入偏置電壓、輸出偏置電壓、放大倍數、濾波頻寬以及閾值電流等均無法再被調整,導致以上檢測電路201和保護電路202僅適用於特定功率的直流無刷電機,無法擴展到其他功率段而無法靈活應用於不同的直流無刷電機。如果需要應用於其他功率的直流無刷電機,則需要在PCB上重新配置以上電阻器和電容器,導致該檢測電路和保護電路的應用不靈活。 In addition, after the detection circuit 201 and the protection circuit 202 as shown in FIG. 1 are formed on the PCB (Printed Circuit Board), usually the above input bias voltage, output bias voltage, amplification factor, filter bandwidth, threshold current, etc. Neither of them can be adjusted any more, resulting in that the above detection circuit 201 and protection circuit 202 are only suitable for brushless DC motors of a specific power, and cannot be expanded to other power segments and cannot be flexibly applied to different brushless DC motors. If it needs to be applied to brushless DC motors with other powers, the above resistors and capacitors need to be reconfigured on the PCB, resulting in inflexible application of the detection circuit and protection circuit.

圖3示出了根據另一示例性實施例的直流無刷電機的電流檢測和過流保護電路的電路圖。 3 shows a circuit diagram of a current detection and overcurrent protection circuit of a brushless DC motor according to another exemplary embodiment.

圖3示出了需要同時對三相全橋逆變電路100的母線的電流和橋臂的電流進行檢測、並對三相全橋逆變電路100進行過流保護的情況。 FIG. 3 shows a situation where it is necessary to simultaneously detect the bus current and the bridge arm current of the three-phase full-bridge inverter circuit 100 and perform overcurrent protection on the three-phase full-bridge inverter circuit 100 .

如圖3所示,在圖1所示的電路的基礎上,還在三相全橋逆變電路100的兩個橋臂上設置了電流檢測電阻器Rcs1和Rcs2、以及針對該兩個橋臂上的電流檢測電阻器Rcs1和Rcs2的檢測電路203、204。這兩個檢測電路203和204與圖1所示的檢測電路201相同,這裡不再贅述。 As shown in Figure 3, on the basis of the circuit shown in Figure 1, current detection resistors Rcs1 and Rcs2 are also provided on the two bridge arms of the three-phase full-bridge inverter circuit 100. detection circuits 203 and 204 on the current detection resistors Rcs1 and Rcs2. The two detection circuits 203 and 204 are the same as the detection circuit 201 shown in FIG. 1 and will not be described again here.

與母線上的電流不同的是,橋臂上的電流具有正、負兩種電流方向(如圖3中的箭頭所示),因此電流檢測電阻器Rcs1和Rcs2兩端 的電壓相對於基準地GND具有正、負兩種電壓。因此,(例如,在5V或3.3V單電壓工作系統中)需要將輸入到放大器OP1和OP2的電壓偏置到正電壓,例如,這可通過選擇具有適當電阻值的偏置電阻器R8、R10、R12和R14來實現。 Different from the current on the bus, the current on the bridge arm has both positive and negative current directions (as shown by the arrows in Figure 3), so both ends of the current sensing resistors Rcs1 and Rcs2 The voltage has both positive and negative voltages relative to the reference ground GND. Therefore, (e.g. in a 5V or 3.3V single voltage operating system) the voltage inputs to amplifiers OP1 and OP2 need to be biased to a positive voltage, for example this can be done by choosing bias resistors R8, R10 with appropriate resistance values , R12 and R14 to achieve.

圖4示出了根據一個示例性實施例的圖3的直流無刷電機的電流檢測和過流保護電路的電壓信號的示意圖。 FIG. 4 shows a schematic diagram of voltage signals of the current detection and overcurrent protection circuit of the brushless DC motor of FIG. 3 according to an exemplary embodiment.

圖4示出了一個橋臂的電壓信號的示例,應該理解,另一橋臂的電壓信號與圖4所示相同。 FIG. 4 shows an example of the voltage signal of one bridge arm. It should be understood that the voltage signal of the other bridge arm is the same as shown in FIG. 4 .

如圖4所示,檢測的電流檢測電阻器Rcs1兩端的電壓Vcs1具有大於0V的電壓值和小於0V的電壓值。偏置後的輸入到放大器OP1的電壓Vcs1+Voffset、以及從放大器OP1輸出的電壓VOP1均在0V以上。圖4中的虛線表示0V的電壓。 As shown in FIG. 4 , the detected voltage Vcs1 across the current detection resistor Rcs1 has a voltage value greater than 0V and a voltage value less than 0V. Both the voltage Vcs1+Voffset input to the amplifier OP1 after the bias and the voltage V OP1 output from the amplifier OP1 are above 0V. The dashed line in Figure 4 represents a voltage of 0V.

例如,為確保從放大器OP1輸出的電壓具有大於0V並且最小電壓值位於後續ADC的最小分辨電壓值以上的電壓值,可以將輸出偏置電壓Voffset設置為VDD/2。 For example, to ensure that the voltage output from the amplifier OP1 has a voltage value greater than 0V and the minimum voltage value is above the minimum resolution voltage value of the subsequent ADC, the output offset voltage Voffset can be set to VDD/2.

然而,圖3所示的電路依然具有圖1所示的電路的上述缺點,此外,圖3所示的電路比較複雜,需要在PCB上設置15個電阻器(圖3所示的電阻器R1-R15)以及一個電容器,並且需要11個與三相全橋逆變電路100連接的連接端子,需佔用PCB上較大的佈線空間。 However, the circuit shown in Figure 3 still has the above-mentioned shortcomings of the circuit shown in Figure 1. In addition, the circuit shown in Figure 3 is relatively complex and requires 15 resistors on the PCB (the resistors R1- R15) and a capacitor, and requires 11 connection terminals connected to the three-phase full-bridge inverter circuit 100, which requires a large wiring space on the PCB.

為至少部分地克服上述缺陷,根據本發明的實施例提供了以下用於直流無刷電機的電流檢測和過流保護電路。 In order to at least partially overcome the above drawbacks, embodiments of the present invention provide the following current detection and overcurrent protection circuit for a brushless DC motor.

圖5示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路300的框圖。 FIG. 5 shows a block diagram of a current detection and overcurrent protection circuit 300 for a brushless DC motor according to an exemplary embodiment of the present invention.

如圖5所示,直流無刷電機可以是包括如以上圖1或圖3所示的三相全橋逆變電路100的任意類型的直流無刷電機,例如,反電勢為方波的直流無刷電機(BLDC)或反電勢為弦波的永磁同步馬達(PMSM)。 As shown in FIG. 5 , the brushless DC motor may be any type of brushless DC motor including the three-phase full-bridge inverter circuit 100 as shown in FIG. 1 or 3 above. For example, a DC brushless motor whose back electromotive force is a square wave. Brush motor (BLDC) or permanent magnet synchronous motor (PMSM) with sinusoidal back electromotive force.

在一個實施例中,根據本發明的實施例的電流檢測和過流保護電路300可以為集成在直流無刷電機的控制晶片(例如,CUP、PMSM的場域導向控制(Field Oriented Control,FOC)晶片或其他控制晶片)中的積體電路。此外,根據本發明的示例性實施例的電流檢測和過流保護電路300還可以被形成為單獨的模組。 In one embodiment, the current detection and overcurrent protection circuit 300 according to the embodiment of the present invention may be a Field Oriented Control (FOC) integrated in a control chip of a DC brushless motor (eg, CUP, PMSM). chips or other control chips). Furthermore, the current detection and overcurrent protection circuit 300 according to the exemplary embodiment of the present invention may also be formed as a separate module.

該電流檢測和過流保護電路300包括:電流採樣單元310和過流保護單元320。 The current detection and overcurrent protection circuit 300 includes: a current sampling unit 310 and an overcurrent protection unit 320.

電流採樣單元310被配置為採集與三相全橋逆變電路100的電流對應的採樣電壓,並根據三相全橋逆變電路100的功率設置偏置電壓,將偏置電壓施加到採樣電壓以生成偏置採樣電壓,並對偏置採樣電壓進行放大,以生成放大採樣電壓。 The current sampling unit 310 is configured to collect a sampling voltage corresponding to the current of the three-phase full-bridge inverter circuit 100, set a bias voltage according to the power of the three-phase full-bridge inverter circuit 100, and apply the bias voltage to the sampling voltage to Generate a bias sampling voltage, and amplify the bias sampling voltage to generate an amplified sampling voltage.

在一個實施例中,上述三相全橋逆變電路100的電流可以為三相全橋逆變電路100的母線上的電流,例如,在僅需檢測三相全橋逆變電路的母線上的電流的情況下。此外,應該理解,上述電流也可以是三相全橋逆變電流的橋臂上的電流,如下文所述。 In one embodiment, the current of the above-mentioned three-phase full-bridge inverter circuit 100 can be the current on the bus of the three-phase full-bridge inverter circuit 100. For example, on the bus of the three-phase full-bridge inverter circuit, it is only necessary to detect In the case of current. In addition, it should be understood that the above-mentioned current may also be the current on the bridge arm of the three-phase full-bridge inverter current, as described below.

過流保護單元320被配置為將放大採樣電壓與預定閾值進行比較,以確定三相全橋逆變電路100的電流是否過流。 The overcurrent protection unit 320 is configured to compare the amplified sampling voltage with a predetermined threshold to determine whether the current of the three-phase full-bridge inverter circuit 100 is overcurrent.

通過根據三相全橋逆變電路的功率來設置偏置電壓,能夠使得根據本發明的實施例的用於直流無刷電機的電流檢測和過流保護電路通過可以靈活地應用於不同的三相全橋逆變電路,從而準確地對不同的直流無刷電機進行電流檢測和過流保護。 By setting the bias voltage according to the power of the three-phase full-bridge inverter circuit, the current detection and overcurrent protection circuit for the brushless DC motor according to the embodiment of the present invention can be flexibly applied to different three-phase Full-bridge inverter circuit to accurately perform current detection and over-current protection on different brushless DC motors.

參照圖5和圖6,圖6示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 Referring to FIGS. 5 and 6 , FIG. 6 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to an exemplary embodiment of the present invention.

在一個實施例中,電流採樣單元310可以被視為是可設置放大倍數的運算放大器(PGA,例如,圖6中所示的PGA0),並且可以包括:採樣連接單元311、偏置電壓單元312和放大單元313。 In one embodiment, the current sampling unit 310 may be regarded as a programmable amplification operational amplifier (PGA, for example, PGA0 shown in FIG. 6 ), and may include: a sampling connection unit 311 , a bias voltage unit 312 and amplification unit 313.

採樣連接單元311可以被配置為連接到三相全橋逆變電路 100的電流採樣電阻(例如,母線上的電流檢測電阻器Rcs0)的兩端,以採集採樣電壓(例如,Vcs)。 The sampling connection unit 311 may be configured to be connected to a three-phase full-bridge inverter circuit 100 across the current sampling resistor (for example, the current sense resistor Rcs0 on the bus) to collect the sampling voltage (for example, Vcs).

採樣連接單元311可以是該電流檢測和過流保護電路300所集成於的控制晶片的用於連接到三相全橋逆變電路100的電流檢測電阻器兩端的引腳,例如,圖6中所示的引腳PGA0_P和PGA0_N。 The sampling connection unit 311 may be a pin at both ends of the current detection resistor connected to the three-phase full-bridge inverter circuit 100 on the control chip in which the current detection and overcurrent protection circuit 300 is integrated, for example, as shown in FIG. 6 Pins PGA0_P and PGA0_N are shown.

偏置電壓單元312可以被配置為根據三相全橋逆變電路100的功率以及電流採樣電阻的電阻值設置偏置電壓,並將偏置電壓施加到採樣電壓以生成偏置採樣電壓。 The bias voltage unit 312 may be configured to set the bias voltage according to the power of the three-phase full-bridge inverter circuit 100 and the resistance value of the current sampling resistor, and apply the bias voltage to the sampling voltage to generate the bias sampling voltage.

在一個實施例中,偏置電壓單元312可以包括:輸入偏置電壓單元312-1和輸出偏置電壓單元312-2。 In one embodiment, the bias voltage unit 312 may include an input bias voltage unit 312-1 and an output bias voltage unit 312-2.

輸入偏置電壓單元312-1可以被配置為根據三相全橋逆變電路的功率以及電流採樣電阻器的電阻值,生成輸入偏置電壓(例如,VDD)。 The input bias voltage unit 312-1 may be configured to generate an input bias voltage (eg, VDD) according to the power of the three-phase full-bridge inverter circuit and the resistance value of the current sampling resistor.

例如,可以通過控制如圖6所示的輸入偏置電壓單元312-1中的開關的接通或斷開來控制對應的電源(例如,電流源或電壓源)的接通或斷開,來生成與全橋逆變電路的功率和電流採樣電阻器的電阻值對應的輸入偏執電壓。 For example, the switch in the input bias voltage unit 312-1 as shown in FIG. 6 can be controlled to be turned on or off to control the turn on or off of the corresponding power source (eg, current source or voltage source). Generate input bias voltages corresponding to the resistance values of the power and current sampling resistors of the full-bridge inverter circuit.

輸出偏置電壓單元312-2可以被配置為根據輸入偏置電壓以及採樣電壓,生成偏置採樣電壓(Voffset)。 The output bias voltage unit 312-2 may be configured to generate an offset sampling voltage (Voffset) according to the input bias voltage and the sampling voltage.

例如,圖6中示意性示出的輸出偏置電壓單元312-2中的可變電阻器可以對應於實際的積體電路中的多個開關,可以控制該多個開關的接通或斷開來設置對應的電阻值,從而生成對應的偏置採樣電壓。 For example, the variable resistor in the output bias voltage unit 312-2 schematically shown in FIG. 6 may correspond to a plurality of switches in an actual integrated circuit, and the turning on or off of the plurality of switches may be controlled. to set the corresponding resistor value to generate the corresponding bias sampling voltage.

通過如上設置輸入偏置電壓以及偏置採樣電壓,可以使得根據本發明的實施例的電流檢測和過流保護電路可以靈活地應用於不同功率的三相全橋逆變電路、以及同一三相全橋逆變電路中的母線和橋臂電流(例如,圖1和圖3所示的情況)的檢測與過流保護。 By setting the input bias voltage and bias sampling voltage as above, the current detection and overcurrent protection circuit according to the embodiment of the present invention can be flexibly applied to three-phase full-bridge inverter circuits with different powers, as well as the same three-phase Detection and overcurrent protection of busbar and arm currents in full-bridge inverter circuits (for example, the situations shown in Figures 1 and 3).

放大單元313可以被配置為根據三相全橋逆變電路100的功 率以及電流採樣電阻器的電阻值對偏置採樣電壓進行放大,以生成放大採樣電壓(例如,VOP0)。 The amplification unit 313 may be configured to amplify the bias sampling voltage according to the power of the three-phase full-bridge inverter circuit 100 and the resistance value of the current sampling resistor to generate an amplified sampling voltage (eg, V OP0 ).

例如,圖6中示意性示出的放大單元313中的可變電阻器可以對應於實際的積體電路中的多個開關,可以控制該多個開關的接通或斷開來設置對應的電阻值,從而生成對應的放大倍數,進而通過放大單元313中的放大器OP0生成對應的放大採樣電壓。 For example, the variable resistor in the amplification unit 313 schematically shown in FIG. 6 may correspond to multiple switches in an actual integrated circuit, and the multiple switches may be controlled to be turned on or off to set the corresponding resistance. value, thereby generating a corresponding amplification factor, and then generating a corresponding amplified sampling voltage through the amplifier OP0 in the amplifying unit 313 .

通過如上所述調節放大單元313的放大倍數,可以使得根據本發明的實施例的電流檢測和過流保護電路進一步靈活地應用於具有不同功率、不同電阻值的電流採樣電阻器的三相全橋逆變電路,進一步提高了電流採樣以及後續的過流保護的準確性。 By adjusting the amplification factor of the amplification unit 313 as described above, the current detection and overcurrent protection circuit according to the embodiment of the present invention can be further flexibly applied to a three-phase full bridge with current sampling resistors of different powers and different resistance values. The inverter circuit further improves the accuracy of current sampling and subsequent overcurrent protection.

在一個實施例中,過流保護單元320可以包括:比較單元321和時間濾波單元322。 In one embodiment, the overcurrent protection unit 320 may include: a comparison unit 321 and a time filtering unit 322.

比較單元321可以被配置為根據三相全橋逆變電路100的功率設置預定閾值,並將放大採樣電壓與預定閾值進行比較以生成比較信號。 The comparison unit 321 may be configured to set a predetermined threshold according to the power of the three-phase full-bridge inverter circuit 100 and compare the amplified sampling voltage with the predetermined threshold to generate a comparison signal.

例如,圖6中所示的比較單元321中的輸入到比較器CMP的閾值電壓可以是根據被檢測的三相全橋逆變電路100的功率來設置的。 For example, the threshold voltage input to the comparator CMP in the comparison unit 321 shown in FIG. 6 may be set according to the detected power of the three-phase full-bridge inverter circuit 100 .

通過根據不同的三相全橋逆變電路的功率來設置不同的閾值電壓,可以使得根據本發明的實施例的電流檢測和過流保護電路進一步靈活地應用於具有不同功率的三相全橋逆變電路。 By setting different threshold voltages according to the power of different three-phase full-bridge inverter circuits, the current detection and over-current protection circuits according to embodiments of the present invention can be further flexibly applied to three-phase full-bridge inverters with different powers. Change the circuit.

此外,如圖6所示的比較單元321接收的是來自電流採樣單元310的放大採樣電壓,因此,無需在該電流檢測和過流保護電路所集成於的控制晶片中設置針對比較單元321的引腳,節省了晶片的引腳資源。 In addition, the comparison unit 321 shown in FIG. 6 receives the amplified sampling voltage from the current sampling unit 310. Therefore, there is no need to set a pin for the comparison unit 321 in the control chip in which the current detection and overcurrent protection circuit is integrated. pins, saving chip pin resources.

時間濾波單元322可以被配置為根據三相全橋逆變電路100中的功率電晶體(例如,圖1、圖3和圖5中所示的SW)的開關性能和過流性能設置濾波時間,並在濾波時間內對比較信號進行濾波,以通過濾波後的比較信號確定三相全橋逆變電路100的電流是否過流。 The time filtering unit 322 may be configured to set the filtering time according to the switching performance and overcurrent performance of the power transistor in the three-phase full-bridge inverter circuit 100 (for example, SW shown in FIG. 1, FIG. 3, and FIG. 5), And the comparison signal is filtered within the filtering time, so as to determine whether the current of the three-phase full-bridge inverter circuit 100 is overcurrent through the filtered comparison signal.

在一個實施例中,開關性能可以為功率電晶體的開關時間(例如,通常為1us-2us),過流性能可以為功率管在流過過流電流的情況下的最大正常工作時間(例如,以上示例中為10us)。 In one embodiment, the switching performance can be the switching time of the power transistor (for example, usually 1us-2us), and the overcurrent performance can be the maximum normal working time of the power transistor when overcurrent flows (for example, 10us in the above example).

例如,可以將濾波時間設置為大於2us且小於10us,以消除電壓信號中的開關雜訊(例如,圖2和圖4中電壓信號左側的波動部分)的影響。應該理解,時間濾波單元322可以根據不同的三相全橋逆變電路中所使用的功率電晶體的開關性能和過流新能的不同,而設置不同的濾波時間。 For example, the filtering time can be set to be greater than 2us and less than 10us to eliminate the influence of switching noise in the voltage signal (for example, the fluctuation part on the left side of the voltage signal in Figures 2 and 4). It should be understood that the time filtering unit 322 can set different filtering times according to the switching performance and overcurrent capability of the power transistors used in different three-phase full-bridge inverter circuits.

由此,可以靈活、準確地避免過流保護單元輸出的信號(例如,PWM_FLT Interrupt)因開關雜訊的影響而導致的誤差,使得可以更準確地進行過流保護。 Therefore, errors caused by the influence of switching noise on the signal output by the over-current protection unit (for example, PWM_FLT Interrupt) can be flexibly and accurately avoided, so that over-current protection can be performed more accurately.

此外,由於輸入到比較單元321中的比較器CMP的輸入信號為放大的電壓信號(例如,VOP0),而該放大的電壓信號通常為檢測的電流檢測電阻器兩端的電壓的幾十甚至幾百倍,因此比較器的輸入端的失調電壓對輸入信號的相對影響會大幅度減小,從而進一步提高了過流保護的準確度。 In addition, since the input signal of the comparator CMP input to the comparison unit 321 is an amplified voltage signal (for example, V OP0 ), and the amplified voltage signal is usually tens or even several times the voltage across the detected current detection resistor, Hundred times, so the relative impact of the offset voltage at the input end of the comparator on the input signal will be greatly reduced, thereby further improving the accuracy of over-current protection.

此外,在一個實施例中,為了輸出檢測的三相全橋逆變電路的電流,根據本發明的實施例的電流檢測和過流保護電路300還可以包括:平均電流單元330。平均電流單元330可以被配置為對放大採樣電壓進行低通濾波,以生成與三相全橋逆變電路100的平均電流對應的平均放大採樣電壓。 Furthermore, in one embodiment, in order to output the detected current of the three-phase full-bridge inverter circuit, the current detection and overcurrent protection circuit 300 according to the embodiment of the present invention may further include: an average current unit 330. The average current unit 330 may be configured to perform low-pass filtering on the amplified sampling voltage to generate an average amplified sampling voltage corresponding to the average current of the three-phase full-bridge inverter circuit 100 .

圖7示出了根據本發明的一個示例性實施例的用於直流無刷電機的電流檢測和過流保護電路300中的平均電流單元330的電路圖。 FIG. 7 shows a circuit diagram of the average current unit 330 in the current detection and overcurrent protection circuit 300 for a brushless DC motor according to an exemplary embodiment of the present invention.

如圖7中所示,平均電流單元330的一端可以連接到圖6中所示的電流檢測和過流保護電路300中的電流採樣單元310與過流保護單元320之間的節點PGA處,另一端可以設置為該電流檢測和過流保護電路300所集成於的控制晶片中的引腳PGA0_O。 As shown in Figure 7, one end of the average current unit 330 may be connected to the node PGA between the current sampling unit 310 and the overcurrent protection unit 320 in the current detection and overcurrent protection circuit 300 shown in Figure 6, and the other end One end can be set to the pin PGA0_O in the control chip in which the current detection and overcurrent protection circuit 300 is integrated.

平均電流單元330可以包括電阻器Rfilter,該電阻器與引腳PGA0_O處的電容器CR可以形成RC低通濾波器,從而對節點PGA處的放大採樣電壓進行低通濾波,生成與三相全橋逆變電路的平均電流對應的平均放大採樣電壓PGA_AVG_ADC。在這種情況下,可以通過調節引腳PGA0_O處的電容器CR的電容值來設置低通濾波器的頻寬,從而適應不同的三相全橋逆變電路的電流、適應不同的直流無刷電機。 The average current unit 330 may include a resistor Rfilter, and the resistor and the capacitor CR at the pin PGA0_O may form an RC low-pass filter, thereby performing low-pass filtering on the amplified sampling voltage at the node PGA to generate a three-phase full-bridge inverse The average amplified sampling voltage PGA_AVG_ADC corresponding to the average current of the variable circuit. In this case, the bandwidth of the low-pass filter can be set by adjusting the capacitance value of the capacitor CR at the pin PGA0_O to adapt to the currents of different three-phase full-bridge inverter circuits and to adapt to different brushless DC motors. .

圖8示出了根據本發明的另一示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 8 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to another exemplary embodiment of the present invention.

為了能夠方便、靈活地採樣三相全橋逆變電路100的母線上的電流以及橋臂上的電流,在一個實施例中,根據本發明的實施例的電流檢測和過流保護電路300可以包括三個電流採樣單元310(圖8中的PGA0、PGA1和PGA2)。每個電流採樣單元310可以被配置為連接到三相全橋逆變電路100的母線上的母線電流採樣電阻器(例如,圖5中的電流檢測電阻器Rcs0)的兩端,或者連接到三相全橋逆變電路的三個橋臂之一上的橋臂電流採樣電阻器(例如,圖5中的電流檢測電阻器Rcs1或Rcs2)的兩端。 In order to conveniently and flexibly sample the current on the bus and the current on the bridge arm of the three-phase full-bridge inverter circuit 100, in one embodiment, the current detection and overcurrent protection circuit 300 according to the embodiment of the present invention may include Three current sampling units 310 (PGA0, PGA1 and PGA2 in Figure 8). Each current sampling unit 310 may be configured to be connected to both ends of a bus current sampling resistor (eg, the current sensing resistor Rcs0 in FIG. 5 ) on the bus of the three-phase full-bridge inverter circuit 100, or to a three-phase full-bridge inverter circuit 100. Two ends of the bridge arm current sampling resistor (for example, the current sensing resistor Rcs1 or Rcs2 in Figure 5) on one of the three bridge arms of the phase full-bridge inverter circuit.

例如,在一個實施例中,三個電流採樣單元中的一個電流採樣單元310可以連接到母線電流採樣電阻器的兩端(例如,圖8中的PGA0通過引腳PGA0_P和引腳PGA0_N連接到圖5中的電流檢測電阻器Rcs0的兩端),三個電流採樣單元中的另外兩個電流採樣單元310可以分別連接到三相全橋逆變電路100的兩個橋臂上的橋臂電流採樣電阻器的兩端(圖8中的PGA1通過引腳PGA1_P和PGA1_N連接到圖5中的電流檢測電阻器Rcs1的兩端,圖8中的PGA2通過引腳PGA2_P和PGA2_N連接到圖5中的電流檢測電阻器Rcs2的兩端)。 For example, in one embodiment, one of the three current sampling units 310 may be connected to both ends of the bus current sampling resistor (for example, PGA0 in Figure 8 is connected to the Figure 8 through pin PGA0_P and pin PGA0_N). 5), the other two current sampling units 310 of the three current sampling units may be connected to the bridge arm current sampling on the two bridge arms of the three-phase full-bridge inverter circuit 100 respectively. Both ends of the resistor (PGA1 in Figure 8 are connected to both ends of the current sensing resistor Rcs1 in Figure 5 through pins PGA1_P and PGA1_N, PGA2 in Figure 8 is connected to the current sense resistor Rcs1 in Figure 5 through pins PGA2_P and PGA2_N across the sense resistor Rcs2).

在這種情況下,為了通過上述過流保護單元320對三相全橋逆變電路100進行過流保護,在一個實施例中,根據本發明的實施例的過流保護電路300還可以包括:第一選擇單元340。 In this case, in order to perform overcurrent protection on the three-phase full-bridge inverter circuit 100 through the above-mentioned overcurrent protection unit 320, in one embodiment, the overcurrent protection circuit 300 according to the embodiment of the present invention may also include: First selection unit 340.

第一選擇單元340可以被配置為將三個電流採樣單元中連接到母線電流採樣電阻器兩端的電流採樣單元(例如,圖8中的PGA0)所生成的放大採樣電壓輸入到過流保護單元320,以用於過流保護。 The first selection unit 340 may be configured to input the amplified sampling voltage generated by the current sampling unit (for example, PGA0 in FIG. 8 ) connected to both ends of the bus current sampling resistor among the three current sampling units to the overcurrent protection unit 320 , for overcurrent protection.

在這種情況下,在一個實施例中,上述平均電流單元330可以包括:第二選擇單元331、濾波單元332和輸出單元333。 In this case, in one embodiment, the above-mentioned average current unit 330 may include: a second selection unit 331, a filtering unit 332, and an output unit 333.

第二選擇單元331可以包括分別與三個電流採樣單元對應的三個子選擇單元331-1、331-2和331-3。 The second selection unit 331 may include three sub-selection units 331-1, 331-2 and 331-3 respectively corresponding to the three current sampling units.

每個子選擇單元可以被配置為將對應的電流採樣單元生成的放大採樣電壓(例如,圖8中所示的PGA0_ADC、PGA1_ADC和PGA2_ADC)輸出到輸出單元333(例如,如圖8中所示的引腳PGA0_O、PGA1_O和PGA2_O)以進行輸出,或者使對應的電流採樣單元生成的放大採樣電壓通過濾波單元(例如,由電阻器Rfilter和對應引腳處的電容器形成的低通濾波器)進行低通濾波以生成通過輸出單元進行輸出的平均放大採樣電壓PGA_AVG_ADC。 Each sub-selection unit may be configured to output the amplified sampling voltage generated by the corresponding current sampling unit (eg, PGA0_ADC, PGA1_ADC, and PGA2_ADC shown in FIG. 8) to the output unit 333 (eg, the pins shown in FIG. 8). pins PGA0_O, PGA1_O and PGA2_O) for output, or allow the amplified sampling voltage generated by the corresponding current sampling unit to pass through the filtering unit (for example, a low-pass filter formed by the resistor Rfilter and the capacitor at the corresponding pin) for low pass Filtered to generate the average amplified sample voltage PGA_AVG_ADC for output through the output unit.

例如,如圖8所示,在需要將對應的電流採樣單元生成的放大採樣電壓直接輸出到輸出單元進行輸出時,可以斷開開關SW1,從而不對該放大採樣電壓進行低通濾波。在需要將對應的電流採樣單元生成的放大採樣電壓進行低通濾波以生成平均放大採樣電壓時,可以接通開關SW1,從而形成由電阻器Rfilter和引腳處的電容器構成的低通濾波器,來對放大採樣電壓進行低通濾波。 For example, as shown in Figure 8, when the amplified sampling voltage generated by the corresponding current sampling unit needs to be directly output to the output unit for output, the switch SW1 can be turned off so that the amplified sampling voltage is not low-pass filtered. When it is necessary to low-pass filter the amplified sampling voltage generated by the corresponding current sampling unit to generate an average amplified sampling voltage, the switch SW1 can be turned on to form a low-pass filter composed of the resistor Rfilter and the capacitor at the pin. To perform low-pass filtering on the amplified sampling voltage.

在一個實施例中,三個子選擇單元中與連接到母線電流採樣電阻器的電流採樣單元對應的子選擇單元(例如,圖8中的子選擇單元331-1),使對應的電流採樣單元(例如,圖8中的PGA0)生成的放大採樣電壓(例如,圖8中的PGA0_ADC)通過濾波單元進行低通濾波以生成通過輸出單元(例如,圖8中的引腳PGA0_O)進行輸出的平均放大採樣電壓。 In one embodiment, among the three sub-selection units, the sub-selection unit corresponding to the current sampling unit connected to the bus current sampling resistor (for example, sub-selection unit 331-1 in FIG. 8) makes the corresponding current sampling unit ( For example, the amplified sampling voltage generated by PGA0 in Figure 8 (e.g., PGA0_ADC in Figure 8) is low-pass filtered by the filter unit to generate an average amplified output by the output unit (e.g., pin PGA0_O in Figure 8) Sample voltage.

此外,在一些情況下,為了節省電流檢測和過流保護電路所 集成於的控制晶片的引腳數量,可以不設置用於平均電流單元的輸出的引腳,而僅設置用於電流採樣單元310的引腳,如圖9中所示。 In addition, in some cases, to save current sensing and overcurrent protection circuitry The number of pins integrated in the control chip may not be provided for the output of the average current unit, but only the pins used for the current sampling unit 310, as shown in FIG. 9 .

圖9示出了根據本發明的另一示例性實施例的用於直流無刷電機的電流檢測和過流保護電路的示意性電路圖。 FIG. 9 shows a schematic circuit diagram of a current detection and overcurrent protection circuit for a brushless DC motor according to another exemplary embodiment of the present invention.

如圖9中所示,用於直流無刷電機的電流檢測和過流保護電路可僅具有與三個電流採樣單元310對應的引腳PGA0_P、PGA0_N、PGA1_P、PGA1_N、PGA2_P和PGA2_N。而實際的電流檢測和過流保護電路仍可以具有集成在該控制晶片內部的平均電流單元(圖9未示出)以用於在控制晶片內部對檢測的電壓進行相應的監視和處理。 As shown in FIG. 9 , the current detection and overcurrent protection circuit for the brushless DC motor may only have pins PGA0_P, PGA0_N, PGA1_P, PGA1_N, PGA2_P, and PGA2_N corresponding to the three current sampling units 310 . The actual current detection and overcurrent protection circuit may still have an average current unit (not shown in Figure 9) integrated inside the control chip for corresponding monitoring and processing of the detected voltage inside the control chip.

根據本發明的示例性實施例的用於直流無刷電機的電流檢測和過流保護電路,能夠根據直流無刷電機的不同而設置不同的偏置電壓,能夠使用放大的採樣電壓用於過流保護,從而能夠更準確、靈活地檢測直流無刷電機的電流,提高了抗干擾性能,能夠更準確地對不同的直流無刷電機進行過流保護。 According to the current detection and overcurrent protection circuit for a brushless DC motor according to an exemplary embodiment of the present invention, different bias voltages can be set according to different brushless DC motors, and an amplified sampling voltage can be used for overcurrent protection, so that the current of the brushless DC motor can be detected more accurately and flexibly, the anti-interference performance is improved, and the overcurrent protection of different brushless DC motors can be more accurately performed.

本發明可以以其他的具體形式實現,而不脫離其精神和本質特徵。例如,特定實施例中所描述的演算法可以被修改,而系統體系結構並不脫離本發明的基本精神。因此,當前的實施例在所有方面都被看作是示例性的而非限定性的,本發明的範圍由所附請求項而非上述描述定義,並且,落入請求項的含義和等同物的範圍內的全部改變從而都被包括在本發明的範圍之中。 The present invention may be implemented in other specific forms without departing from its spirit and essential characteristics. For example, algorithms described in specific embodiments may be modified without departing from the basic spirit of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and the meanings and equivalents falling within the claims. All changes within the scope are therefore included in the scope of the invention.

100:三相全橋逆變電路 100: Three-phase full-bridge inverter circuit

300:過流保護電路 300: Overcurrent protection circuit

310:電流採樣單元 310: Current sampling unit

311:採樣連接單元 311: Sampling connection unit

312:偏置電壓單元 312: Bias voltage unit

313:放大單元 313: Amplification unit

320:過流保護單元 320: Overcurrent protection unit

Rcs0,Rcs1,Rcs2:電流檢測電阻器 Rcs0, Rcs1, Rcs2: current sensing resistors

SW:開關 SW: switch

Vcs1:電壓 Vcs1: voltage

Claims (11)

一種用於直流無刷電機的電流檢測和過流保護電路,所述直流無刷電機包括三相全橋逆變電路,所述電流檢測和過流保護電路包括:三個電流採樣單元,被配置為採集與所述三相全橋逆變電路的電流對應的採樣電壓,並根據所述三相全橋逆變電路的功率設置偏置電壓,將所述偏置電壓施加到所述採樣電壓以生成偏置採樣電壓,並對所述偏置採樣電壓進行放大,以生成放大採樣電壓,且所述三個電流採樣單元中的一個電流採樣單元連接到所述母線電流採樣電阻器的兩端,所述三個電流採樣單元中的另外兩個電流採樣單元分別連接到所述三相全橋逆變電路的兩個橋臂上的橋臂電流採樣電阻器的兩端;以及過流保護單元,被配置為將所述放大採樣電壓與預定閾值進行比較,以確定所述三相全橋逆變電路的電流是否過流。 A current detection and overcurrent protection circuit for a brushless DC motor. The brushless DC motor includes a three-phase full-bridge inverter circuit. The current detection and overcurrent protection circuit includes: three current sampling units configured In order to collect the sampling voltage corresponding to the current of the three-phase full-bridge inverter circuit and set the bias voltage according to the power of the three-phase full-bridge inverter circuit, the bias voltage is applied to the sampling voltage to Generate a bias sampling voltage and amplify the bias sampling voltage to generate an amplified sampling voltage, and one of the three current sampling units is connected to both ends of the bus current sampling resistor, The other two current sampling units among the three current sampling units are respectively connected to both ends of the bridge arm current sampling resistors on the two bridge arms of the three-phase full-bridge inverter circuit; and the overcurrent protection unit, Configured to compare the amplified sampling voltage with a predetermined threshold to determine whether the current of the three-phase full-bridge inverter circuit is overcurrent. 如請求項1所述的電流檢測和過流保護電路,其中,所述電流採樣單元包括:採樣連接單元,被配置為連接到所述三相全橋逆變電路的電流採樣電阻器的兩端,以採集所述採樣電壓;偏置電壓單元,被配置為根據所述三相全橋逆變電路的功率以及所述電流採樣電阻器的電阻值設置所述偏置電壓,並將所述偏置電壓施加到所述採樣電壓以生成偏置採樣電壓;以及放大單元,被配置為根據所述三相全橋逆變電路的功率以及所述電流採樣電阻器的電阻值對所述偏置採樣電壓進行放大,以生成所述放大採樣電壓。 The current detection and overcurrent protection circuit of claim 1, wherein the current sampling unit includes: a sampling connection unit configured to be connected to both ends of the current sampling resistor of the three-phase full-bridge inverter circuit. , to collect the sampling voltage; a bias voltage unit configured to set the bias voltage according to the power of the three-phase full-bridge inverter circuit and the resistance value of the current sampling resistor, and set the bias voltage a setting voltage is applied to the sampling voltage to generate a bias sampling voltage; and an amplification unit configured to sample the bias according to the power of the three-phase full-bridge inverter circuit and the resistance value of the current sampling resistor. The voltage is amplified to generate the amplified sampling voltage. 如請求項2所述的電流檢測和過流保護電路,其中,所述偏置電壓單元包括:輸入偏置電壓單元,被配置為根據所述三相全橋逆變電路的功率以及 所述電流採樣電阻器的電阻值,生成輸入偏置電壓;以及輸出偏置電壓單元,被配置為根據所述輸入偏置電壓以及所述採樣電壓,生成所述偏置採樣電壓。 The current detection and overcurrent protection circuit of claim 2, wherein the bias voltage unit includes: an input bias voltage unit configured to operate according to the power of the three-phase full-bridge inverter circuit and The resistance value of the current sampling resistor generates an input bias voltage; and the output bias voltage unit is configured to generate the bias sampling voltage according to the input bias voltage and the sampling voltage. 如請求項1所述的電流檢測和過流保護電路,其中,所述過流保護單元包括:比較單元,被配置為根據所述三相全橋逆變電路的功率設置所述預定閾值,並將所述放大採樣電壓與所述預定閾值進行比較以生成比較訊號;以及時間濾波單元,被配置為根據所述三相全橋逆變電路中的功率電晶體的開關性能和過流性能設置濾波時間,並在所述濾波時間內對所述比較訊號進行濾波,以通過濾波後的比較訊號確定所述三相全橋逆變電路的電流是否過流。 The current detection and overcurrent protection circuit of claim 1, wherein the overcurrent protection unit includes: a comparison unit configured to set the predetermined threshold according to the power of the three-phase full-bridge inverter circuit, and Comparing the amplified sampling voltage with the predetermined threshold to generate a comparison signal; and a time filtering unit configured to set filtering according to the switching performance and overcurrent performance of the power transistor in the three-phase full-bridge inverter circuit time, and filter the comparison signal within the filtering time to determine whether the current of the three-phase full-bridge inverter circuit is overcurrent through the filtered comparison signal. 如請求項4所述的電流檢測和過流保護電路,其中,所述開關性能為所述功率電晶體的開關時間,所述過流性能為所述功率管在流過過流電流的情況下的最大正常工作時間。 The current detection and overcurrent protection circuit as claimed in claim 4, wherein the switching performance is the switching time of the power transistor, and the overcurrent performance is when an overcurrent flows through the power transistor. maximum normal working hours. 如請求項1-5中任一項所述的電流檢測和過流保護電路,其中,所述電流為所述三相全橋逆變電路的母線上的電流。 The current detection and overcurrent protection circuit according to any one of claims 1 to 5, wherein the current is the current on the bus of the three-phase full-bridge inverter circuit. 如請求項2所述的電流檢測和過流保護電路,其中,所述電流檢測和過流保護電路還包括:平均電流單元,被配置為對所述放大採樣電壓進行低通濾波,以生成與所述三相全橋逆變電路的平均電流對應的平均放大採樣電壓。 The current detection and overcurrent protection circuit of claim 2, wherein the current detection and overcurrent protection circuit further includes: an average current unit configured to perform low-pass filtering on the amplified sampling voltage to generate a The average current of the three-phase full-bridge inverter circuit corresponds to the average amplified sampling voltage. 如請求項1所述的電流檢測和過流保護電路,其中,所述電流保護電路還包括:第一選擇單元,被配置為將所述三個電流採樣單元中連接到所述母線電流採樣電阻器兩端的電流採樣單元所生成的放大採樣電壓輸入到所述過流保護單元。 The current detection and overcurrent protection circuit of claim 1, wherein the current protection circuit further includes: a first selection unit configured to connect one of the three current sampling units to the bus current sampling resistor. The amplified sampling voltage generated by the current sampling unit at both ends of the device is input to the overcurrent protection unit. 如請求項8所述的電流檢測和過流保護電路,其中,所 述平均電流單元包括:第二選擇單元、濾波單元和輸出單元,其中,第二選擇單元包括分別與所述三個電流採樣單元對應的三個子選擇單元,其中,每個子選擇單元被配置為將對應的電流採樣單元生成的放大採樣電壓輸出到所述輸出單元以進行輸出,或者使對應的電流採樣單元生成的放大採樣電壓通過所述濾波單元進行低通濾波以生成通過所述輸出單元進行輸出的所述平均放大採樣電壓。 The current detection and overcurrent protection circuit as described in claim 8, wherein the The average current unit includes: a second selection unit, a filter unit and an output unit, wherein the second selection unit includes three sub-selection units respectively corresponding to the three current sampling units, wherein each sub-selection unit is configured to The amplified sampling voltage generated by the corresponding current sampling unit is output to the output unit for output, or the amplified sampling voltage generated by the corresponding current sampling unit is low-pass filtered by the filtering unit to generate output through the output unit. of the average amplified sampling voltage. 如請求項9所述的電流檢測和過流保護電路,其中,所述三個子選擇單元中與連接到所述母線電流採樣電阻器的電流採樣單元對應的子選擇單元,使對應的電流採樣單元生成的放大採樣電壓通過所述濾波單元進行低通濾波以生成通過所述輸出單元進行輸出的所述平均放大採樣電壓。 The current detection and overcurrent protection circuit of claim 9, wherein among the three sub-selection units, the sub-selection unit corresponding to the current sampling unit connected to the bus current sampling resistor causes the corresponding current sampling unit to The generated amplified sampling voltage is low-pass filtered by the filter unit to generate the average amplified sampling voltage output by the output unit. 如請求項1-5、7-10中任一項所述的電流檢測和過流保護電路,其中,所述電流檢測和過流保護電路為集成在所述直流無刷電機的控制晶片中的積體電路。 The current detection and overcurrent protection circuit as described in any one of claims 1-5 and 7-10, wherein the current detection and overcurrent protection circuit is integrated in the control chip of the brushless DC motor. integrated circuits.
TW111143273A 2022-08-01 2022-11-11 Current sensing and overcurrent protection circuit for brushless DC motors TWI828419B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210916319.3A CN115224669A (en) 2022-08-01 2022-08-01 Current detection and overcurrent protection circuit for direct current brushless motor
CN202210916319.3 2022-08-01

Publications (2)

Publication Number Publication Date
TWI828419B true TWI828419B (en) 2024-01-01
TW202407371A TW202407371A (en) 2024-02-16

Family

ID=83616501

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111143273A TWI828419B (en) 2022-08-01 2022-11-11 Current sensing and overcurrent protection circuit for brushless DC motors

Country Status (2)

Country Link
CN (1) CN115224669A (en)
TW (1) TWI828419B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1565070A (en) * 2001-10-05 2005-01-12 美蓓亚株式会社 Motor control circuit overcurrent protection
CN1217472C (en) * 1998-07-13 2005-08-31 松下电器产业株式会社 Inverter
CN110416973A (en) * 2019-07-25 2019-11-05 珠海格力电器股份有限公司 Motor overvoltage protection circuit, undervoltage protection circuit, voltage protection circuit and motor
CN113659878A (en) * 2021-08-17 2021-11-16 深圳大方智能科技有限公司 Wall robot motor control circuit and overcurrent protection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1217472C (en) * 1998-07-13 2005-08-31 松下电器产业株式会社 Inverter
CN1565070A (en) * 2001-10-05 2005-01-12 美蓓亚株式会社 Motor control circuit overcurrent protection
CN110416973A (en) * 2019-07-25 2019-11-05 珠海格力电器股份有限公司 Motor overvoltage protection circuit, undervoltage protection circuit, voltage protection circuit and motor
CN113659878A (en) * 2021-08-17 2021-11-16 深圳大方智能科技有限公司 Wall robot motor control circuit and overcurrent protection method

Also Published As

Publication number Publication date
CN115224669A (en) 2022-10-21
TW202407371A (en) 2024-02-16

Similar Documents

Publication Publication Date Title
Funk et al. A fully integrated DC to 75 MHz current sensing circuit with on-chip Rogowski coil
US5719519A (en) Circuit and method for reconstructing a phase current
JP2009207242A (en) Power supply device
CN105162314B (en) A kind of over-current detection circuit for BUCK converters
WO2020212216A1 (en) A residual current device for low voltage applications
US10263546B2 (en) Method for determining a multiphase motor current and electric motor drive
KR20050003717A (en) A driving circuit and driving method of three phase bldc motor
TWI828419B (en) Current sensing and overcurrent protection circuit for brushless DC motors
TWI469504B (en) Sensorless motor apparatus, back electromotive force detector and detection method thereof
KR19990072258A (en) Sensorless motor driver
CN215009582U (en) Current detection and overcurrent protection integrated circuit for inverter
CN113794394B (en) Controller and control circuit
Goswami et al. Brushless DC motor based E-rickshaw controller design
JP2774693B2 (en) Earth leakage breaker
CN110018341B (en) Phase voltage detection circuit
CN111381096B (en) Steering wheel current detection circuit and system
JP2004282959A (en) Drive device of voltage-control type drive element
JP3098879B2 (en) Magnetic flux density detector
JP2006345618A (en) Motor driving device
CN110690683A (en) Overcurrent protection circuit and overcurrent protection device of intelligent power module
CN112413119B (en) Gear drive acquisition system and method
CN219417609U (en) Open-phase detection circuit, driving device and electric tool
JPH0773434B2 (en) DC motor rotation speed detection circuit
JP7566215B1 (en) Power Conversion Equipment
CN209250216U (en) Simulation input circuit