[go: up one dir, main page]

TW200830694A - Method and apparatus of controlling DC brushless motor - Google Patents

Method and apparatus of controlling DC brushless motor Download PDF

Info

Publication number
TW200830694A
TW200830694A TW96100657A TW96100657A TW200830694A TW 200830694 A TW200830694 A TW 200830694A TW 96100657 A TW96100657 A TW 96100657A TW 96100657 A TW96100657 A TW 96100657A TW 200830694 A TW200830694 A TW 200830694A
Authority
TW
Taiwan
Prior art keywords
signal
hall
pwm
level
external control
Prior art date
Application number
TW96100657A
Other languages
Chinese (zh)
Inventor
Jau-Ching Lin
Lin Ju
You-Kang Lin
zheng-zhong Cao
zong-yi Shen
Original Assignee
Sentelic Corp
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 Sentelic Corp filed Critical Sentelic Corp
Priority to TW96100657A priority Critical patent/TW200830694A/en
Publication of TW200830694A publication Critical patent/TW200830694A/en

Links

Landscapes

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

Abstract

The present invention relates to a method of controlling a DC brushless motor. A Hall element is used to detect the position of a magnetic pole of the motor rotor and generates a Hall signal accordingly. A driving unit is used to generate a PWM signal according to an external control signal. A switch circuit is controlled according to the PWM signal and the Hall signal; therefore the current phase outputted to the coils of the motor stator is switched to drive the rotor to rotate. The level of the external control signal is manipulated to increase or decrease gradually in accordance with the level change of the Hall signal in response to the level transition of the Hall signal. The duty cycle of the PWM signal is controlled to change from zero to a predetermined value or from the predetermined value to zero, corresponding to the increasing and decreasing of the external signal, respectively. Thus, the current surge and noise generated during the motor switching can be eliminated.

Description

200830694 九、發明說明: 【發明所屬之技術領域】 本發明是關於一種無刷直流馬達之控制方法,特別是 指一種具有脈波寬度調變(PWM)控制之無刷直流馬達之控制 方法及裝置。 ,【先前技術】 由於無刷直流馬達以霍爾感應器代替傳統直流馬達的 換相電刷,比傳統直流馬達更適合應用在微型散熱風扇系 統中,而被廣泛應用在諸如電腦風扇、影印機、雷射印表 機等低電壓產品領域。電腦風扇常用之單相直流無刷馬達 如圖1所示,包含一繞設有線圈繞組10之靜止的定子U, 及帶動風扇葉片轉動的四極轉子12。 參見圖2 ·及圖3並對照圖i所示,是習知一種驅動單 相無刷直流馬達1之控制裝置2,其利用一霍爾感測器(㈣ sensor)21感測馬達轉子丨2之磁極位置,並對應產生一霍爾 訊號sHA(是一類比差動訊號Vhp及Vhn),該霍爾訊號 被輸入一比較器22轉換成一數位化之霍爾訊號Shd後,送 至:驅動器、23。一 PWM產生器、24根據一外部控制訊號200830694 IX. Description of the invention: The invention relates to a control method of a brushless DC motor, in particular to a control method and device for a brushless DC motor with pulse width modulation (PWM) control . [Prior Art] Since the brushless DC motor replaces the commutating brush of the conventional DC motor with a Hall sensor, it is more suitable for use in a micro cooling fan system than a conventional DC motor, and is widely used in, for example, a computer fan and a photocopier. Low-voltage products such as laser printers. A single-phase DC brushless motor commonly used in computer fans, as shown in Fig. 1, includes a stationary stator U around which coil windings 10 are disposed, and a four-pole rotor 12 that drives the rotation of the fan blades. Referring to FIG. 2 and FIG. 3 and referring to FIG. 3, there is a conventional control device 2 for driving a single-phase brushless DC motor 1, which senses a motor rotor 利用2 by using a Hall sensor ((4) sensor)21. The magnetic pole position is correspondingly generated by a Hall signal sHA (which is an analog differential signal Vhp and Vhn), and the Hall signal is input into a comparator 22 to be converted into a digitized Hall signal Shd, and then sent to: the driver, twenty three. a PWM generator, 24 according to an external control signal

Sc(電壓訊號)產生一 pWM訊號並送至驅動器23,驅動器 23根據霍爾訊號S肋及PWM訊號,對應轉子12磁極位置 輪流輸出如圖3所示的第一 pwM訊號Sp職及第二請以 訊號SPWM2,以控制後端的一開關電路25交替切換輸出至 馬達疋子線圈10之輸出電流W如圖3所示)的相位,而驅 使馬達轉子12轉動。 200830694 然而由於第PWM訊號Spw⑷及第二pwM訊號 SPWM2之間進行切換時所產生的準位瞬間變化會使輸出電流 IDUt在此Ip’而易使馬達轉動時產生機械共振 及噪音。 【發明内容】 因此’本發明之目的’在於提供—種可消除輸出電流 突波之直流無刷馬達之控制方法及裝置。Sc (voltage signal) generates a pWM signal and sends it to the driver 23. The driver 23 according to the Hall signal S rib and the PWM signal, corresponding to the rotor 12 magnetic pole position in turn, the first pwM signal Sp and the second request as shown in FIG. The motor rotor 12 is driven to rotate by a signal SPWM2 to alternately switch the phase of the output current W outputted to the motor die coil 10 as shown in FIG. 3 by a switching circuit 25 at the rear end. 200830694 However, due to the instantaneous change of the level generated when the PWM signal Spw(4) and the second pwM signal SPWM2 are switched, the output current IDUt is at this Ip', which causes mechanical resonance and noise when the motor is rotated. SUMMARY OF THE INVENTION Therefore, the object of the present invention is to provide a control method and apparatus for a DC brushless motor capable of eliminating output current surges.

於是,本發明直流無刷馬達之控制方法,其中該馬達 具有-繞設線圈之定子及-環繞定子旋轉之轉子,該控制 方法使用-霍爾元件偵測該轉子之磁極位置以對應產生一 霍爾訊號,使用一驅動單元根據一外部控制訊號產生一 PWM訊號,並根據該pWM訊號及該霍爾訊號控制一開關 电路’使切換輸出i定子線圈之電流相位,而驅使轉子轉 動:特別是,該控制方法更包括:⑷當備測該霍爾訊號即 將準位轉換4,令該外部控制訊號之準位對應該霍爾訊號 =位欠化而遞增或遞減;當該外部控制訊號之準位遞增 =’:該驅動單元產生之pWM訊號的工作周期由零遞增至 八預^作周期,及(C)當該外部控制訊號之準位遞減時, 令魏動單it產生之PWM訊號由該預定卫作周期遞減至零 藉此’消除開關電路之輸出電流突波。 、,其中,該霍爾元件是一霍爾感測器,該霍爾訊號是一 、動4比Λ遽,其經由一比較器轉成—數位訊號後輸入該 I辱區 Ip * 且该外部控制訊號是由一 PWM工作週期控制哭 產生。 /工时 200830694 如前述,在步驟⑷中,當該PWM工作週期控制器债 測該霍爾訊號之差動電壓降低至小於—參考值時即令該 外部控制訊號於該差動電壓由該參考值降低至零的期間由 高準位遞減至低準位,並於該差動電壓由零上升至該參考 值的期間,令該外部控制訊號由低準位遞增至高準位。 其中,該霍爾元件是一霍爾積體電路,該霍爾訊號是 一數位訊號,'且該外部控制訊號是由一 PWM工作週期控制 器產生。Therefore, the control method of the brushless DC motor of the present invention, wherein the motor has a stator around which the coil is wound and a rotor that rotates around the stator, the control method uses the - Hall element to detect the magnetic pole position of the rotor to correspondingly generate a The driving signal generates a PWM signal according to an external control signal, and controls a switching circuit to switch the current phase of the outputting the i-stator coil according to the pWM signal and the Hall signal to drive the rotor to rotate: in particular, The control method further comprises: (4) when preparing the Hall signal to be level-converted 4, so that the level of the external control signal is incremented or decremented corresponding to the Hall signal = bit under-reduction; when the external control signal is at the level Increment = ': the duty cycle of the pWM signal generated by the driving unit is increased from zero to eight pre-processing cycles, and (C) when the level of the external control signal is decremented, the PWM signal generated by the Wei-single is generated by the The predetermined guard cycle is decremented to zero to thereby eliminate the output current surge of the switching circuit. Wherein, the Hall element is a Hall sensor, and the Hall signal is a moving 4 ratio Λ遽, which is converted into a digital signal by a comparator and then input to the I affliction area Ip* and the external The control signal is generated by a PWM duty cycle control. / working hour 200830694 as described above, in step (4), when the PWM duty cycle controller measures the differential voltage of the Hall signal to decrease to less than - the reference value, the external control signal is lowered by the reference value The period to zero is decremented from the high level to the low level, and the external control signal is incremented from the low level to the high level during the period when the differential voltage rises from zero to the reference value. Wherein, the Hall element is a Hall integrated circuit, the Hall signal is a digital signal, and the external control signal is generated by a PWM duty cycle controller.

如前述,在步驟(A)中,該PWM工作週期控制器根據 霍爾訊號之前一波形的計數值,設定一接近該計數值之參 考值’並於計數霍爾訊號之目前波形至該參考值時,令該 外4控制號於由该預定值計數至目前波形準位轉換前的 期間’由高準位遞減至低準位,並於霍爾訊號準位轉換後 ’令該外部控制訊號由低準位遞增至高準位。 再者’本發明實現上述方法之直流無刷馬達之控制裝 置’其中該馬達具有一繞設線圈之定子及一環繞定子旋轉 之轉子,該控制裝置包括一霍爾元件、一 PWM工作週期控 制器、一驅動單元及一開關電路。該霍爾元件偵測該轉子 之之磁極位置並對應產生一霍爾訊號。該PWM工作週期控 制器接受該霍爾訊號及一外部控制訊號,並於偵測該霍爾 訊號即將準位轉換時,令該外部控制訊號之準位對應該霍 爾訊號準位變化而遞增或遞減。該驅動單元根據該外部控 制訊號產生一 PWM訊號,並於該外部控制訊號之準位遞增 時,使輸出之PWM訊號的工作周期由零遞增至一預定工作 200830694As described above, in the step (A), the PWM duty cycle controller sets a reference value close to the count value according to the count value of the waveform before the Hall signal, and counts the current waveform of the Hall signal to the reference value. When the external control number is counted from the predetermined value to the current waveform level conversion period, 'the high level is decremented to the low level, and after the Hall signal level is converted, the external control signal is made The low level is incremented to a high level. Furthermore, the present invention provides a control device for a DC brushless motor of the above method, wherein the motor has a stator around which a coil is wound and a rotor that rotates around the stator, the control device including a Hall element, a PWM duty cycle controller , a drive unit and a switch circuit. The Hall element detects the magnetic pole position of the rotor and correspondingly generates a Hall signal. The PWM duty cycle controller receives the Hall signal and an external control signal, and when detecting that the Hall signal is about to be level-shifted, the level of the external control signal is incremented corresponding to the Hall signal level change or Decrement. The driving unit generates a PWM signal according to the external control signal, and increases the duty cycle of the output PWM signal from zero to a predetermined operation when the level of the external control signal is incremented.

, 周期’並於該外部控制訊號之準位遞減時,使輸出之PWM 訊號由該預定工作周期遞減至零,同時根據該pwM訊號及 該霍爾訊號產生一驅動訊號。該開關電路受該驅動訊號控 制切換輸出至該定子線圈的電流相位,以驅使馬達轉子 轉動。藉此,消除開關電路之輸出電流突波。 其中,該直流無刷馬達是單相或雙相直流無刷馬達時 ,該驅動單元包括一 PWM產生器及一驅動器,該pWM產 _ 生器根據該外部控制訊號產生該PWM訊號,並於該外部控 制訊唬之準位遞增時,使輸出之PWM訊號的工作周期由零 遞增至一預定工作周期,並於該外部控制訊號之準位遞減 時,使輸出之PWM訊號由該預定工作周期遞減至零;該驅 動器根據該PWM訊號及該霍爾訊號產生該驅動訊號。 其中該直流無刷馬達是三相直流無刷馬達時,該驅動 單元是一 PWM產生器。 如前述,控制裝置更包括一比較器,且該霍爾元件是 • 一霍爾感測器,該霍爾訊號是一差動類比訊號,其經由該 • 比較器轉成一數位訊號後輸入該驅動單元。 如前述’當該PWM工作週期控制器偵測該霍爾訊號之 差動電壓降低至小於-參考值時,即令該外部控制訊號於 該差動電壓由該參考值降低至零的期間,由高準位遞減至 低準位,並令該外部控制訊號於該差動電壓由零上升至該 參考值的期間,由低準位遞增至高準位。 其中,該霍爾元件是-霍爾積體電路,該霍爾訊號是 -數位訊號,且該PWM卫作週期控制器根據霍爾訊號之前 200830694 一波形的計數值,設定一接近該計數值之參考值,並於計 數雈爾δ孔號之目别波形至該參考值時,令該外部控制訊號 於由該預定值計數至目前波形準位轉換前的期間,由高準 位遞減至低準位,並於霍爾訊號準位轉換後,令該外部控 制訊號由低準位遞增至高準位。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合茶考圖式之四個較佳實施例的詳細說明中,將可 • 冑楚的呈現。 參閱圖1、圖4及圖5所示,是本發明直流無刷馬達之 控制裝置的第一較佳實施例,該直流無刷馬達是一單相直 流然刷馬達,其構造如圖丨所示,包括一繞設有線圈繞組 10的定子11及一環繞定子轉動之四極轉子12。 本實施例之控制裝置3包括一霍爾感測器31、一 PWM 工作周期控制器32、一驅動單元30及一開關電路35。其 • 中,驅動單元3〇更包括一 PWM產生器33及一驅動器34 ,而開關電路35是一由四顆電晶體組成之H_bridge(H型橋 式)電路。 萑爾感測裔31鄰近馬達轉子12設置,以感測馬達轉 子12之磁極位置並對應產生如圖5所示之霍爾訊號心从是 一類比差動訊號vHP及vHN),該霍爾訊號Sha經由一比較 器36轉成一數位訊號Shd並輸入驅動器34。 PWM工作週期控制器32,接收一如圖5所示之外部控 制訊號Sc及霍爾訊號Sha,外部控制訊號心是一直流電壓 200830694 訊號,其用以控制PWM產生器33,並藉由改變其電壓準 位調變PWM產生器33輸出之PWM訊號的脈波寬度(即工 作週期),例如電壓準位5 V時,PWM訊號的工作周期為 50%,電壓準位2.5V時,PWM訊號的工作周期為25%。 而在本實施例中,為了消除開關電路35之輸出電流 lout突波,PWM工作週期控制器32設定一參考值(即參考 電壓)Vref,並偵測霍爾訊號SHA的差動電壓VD(絕對值)是 否降低至小於參考值Vref,若是,即令外部控制訊號Sc於 該差動電壓VD由參考值Vref降低至零(零交越點)的期間乃 ,由高準位(例如5V)遞減至低準位(例如0V),並於該差動 電壓VD(絕對值)由零(零交越點)上升至參考值Vref的期間 T2,令外部控制訊號Sc由低準位(0V)遞增至高準位(5V), 而輸出如圖5所示之一經過邊緣調整之外部控制訊號Sc’給 PWM產生器33。、 因此,當PWM產生器33收到外部控制訊號Sc’,其根 據外部控制訊號Sc’的電壓準位調變輸出之PWM訊號的脈 波寬度(工作週期),而產生如圖5所示之PWM訊號SPWM’ 並輸入驅動器34中。PWM訊號Spwm ’對應外部控制訊號 Sc’的高準位波形產生一致的脈波寬度(例如50%),但對應 外部控制訊號Sc’的遞增邊緣及遞減邊緣部分,則根據電壓 遞增或遞減,調整脈波寬度,使脈波寬度對應漸減及漸增 〇 驅動器34根據PWM訊號S PWM以及霍爾訊號Shd所對 應之轉子12磁極位置,交替輸出第一?^^^1訊號81^1^’及 10 200830694 第二PWM訊號Spwm2’輪流控制開關電路35。 • 因此,開關電路35受第一 PWM訊號S PWM1 ’及第二 PWM訊號S PWM2’交替控制而輸出電流lout時’由於第一 PWM訊號Spwmi’及第二P訊號Spwm2’PWM之間進行切 換時,並非瞬間切換,而是如圖6所示,令第一 PWM訊號 SPWM1 ’的脈波寬度由預定工作週期(50%)逐漸遞減至零後, 第二PWM訊號SPWM2’的脈波寬度再逐漸遞增至預定工作週 期(50%),因此,使開關電路35不會因為PWM訊號瞬間切 ® 換而在輸出電流Iout上產生瞬間突波,因而消除了輸出電流 突波。 再參見圖7所示,是本發明直流無刷馬達之控制裝置 的第二較佳實施例,其與第一實施例惟一不同處在於,本 實施例是以一霍爾積體電路(即霍爾IC)31’取代第一實施例 之霍爾感測器31,且因為霍爾IC3 Γ會對應感測到的轉子磁 極位置直接輸出如圖5所示之一數位訊號SHd。因此,本實 施例不需要第一實施例之比較器36。 • 但是,由於霍爾1C 31’之輸出為數位訊號SHD而非類比 . 訊號,因此,在本實施例中,為了得知霍爾訊號SHD的準位 轉換點以對應調整外部控制訊號的準位,而消除輸出電流 I〇ut的突波,在本實施例中,PWM週期控制器32,使用一 計數器來計數霍爾訊號SHD的週期,以獲得高準位波形(N) 及低準位波形(S)的計數值,並根據前一波形的計數值CP來 推算下一波形(即目前波形),並設定一參考值Cref,且該參 考值Cref接近但小於該計數值CP。 11 200830694 因此,當PWM週期控制器32計數目前波形的計數值 到達筝考值cref時,則由該參考值Cref計數至目前波形準位 轉換前的期間h,令外部控制訊號Sc由高準位遞減至低準 位,並於霍爾訊號SHd準位轉換後,令外部控制訊號Sc由 低準位遞增至高準位,而輸出如圖5所示之經過邊緣調整 的外部控制訊號Sc,給PWM產生器33。 因此,如同第一實施例,PWM產生器33即根據外部 控制訊號Sc,的電壓準位調變脈波寬度,而產生如圖5所示 之PWM訊號sPWM。 再參見圖8所示,是本發明直流無刷馬達之控制裝置 的第三較佳實施例,本實施例是用以控制雙相直流無刷馬 達,且由於雙相直流無刷馬達之定子有兩個線圈繞組要分 別控制,因此,本實施例主要是控制馬達定子線圈1〇,的開 關電路35,與第二實施例不同。 另參見圖9所示,是本發明直流無刷馬達之控制裝置 的第四較佳實施例’本實施例是用以控制三相直流無刷馬 達,與前述實施例不同的是,由於三相直流無刷馬達之定 :有二個線圈繞組Lu、Lv、Lw要分別控制,所以本實施例 而要使用三個霍爾感測IC31來分別感測馬達轉子的磁極位 置,且三相直流無刷馬達一般是採用兩相調變法來控制, :即某-瞬間只控制定子三相線圈中的兩相導通,並使另 y相維持浮接狀態,所以本實施例之開關電路35,,具有三個 並聯的橋臂,每一橋臂具有兩個開關元件,即上臂元件 Q3、Q5及下臂元件Q2、Q4、Q6。因此,如圖1〇所示, 12 200830694 三個霍爾感測IC 3i分別產生感挪訊號如Hv、Hw,並輸 出至PWM工作週期控制器32,及驅動單元3〇,,且本實施例 之驅動單元3G是-pwm產生器。如前述第一實施例之工 乍原里PWM工作週期控制器32,根據感測訊號仙、办、 Hw及外部控制訊號Si〜S6,產生_經過邊緣㈣之外部控 制訊號Sl,〜V給駆動單元(PWM產生器)3〇,使驅動單元 (JWM產生|§)3Q根據感測訊號恥、Ην、η,及外部控制訊 唬S!〜S6產生邊緣脈波寬度遞增或遞減的訊號 sPWM1〜sPWM2輸出,以控制開關電路35”的各開關元件 Q1〜Q6動作而驅使馬達轉子轉動,並且讓開關電路35”不會 因為PWM訊號瞬間切換而在輸出電流上產生瞬間突波,因 而消除了使馬達產生噪音的輸出電流突波。 由上述說明可知,本發明藉由備測霍爾訊號的準位轉 :期間’對應調整外部控制訊號Sc的電壓準位,使對應調 父PWM訊號的脈波寬度相對遞增或遞減,使驅動器34根 據PWM訊號控·關電路35而產生之輸出電流W不致因 驅動器34瞬間切換PWM訊號而產生突波,進而降低馬達 因電流突波而產生之機械共振及噪音。 惟以上所述者,僅為本發明之較佳實施例而已,當不 “此限定本發明實施之範圍,即大凡依本發”請專利 二圍及發明說明内容所作之簡單的等效變化與修飾 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 圖1是習知直流無刷馬達之構造示意圖; 13 200830694 圖2是習知一種直流無刷馬達之控制裝置的電路方塊 圖; 圖3是圖2之控制裝置的輸出訊號波形示意圖; 圖4是本發明直流無刷馬達之控制裝置的第一較佳實 施例的電路方塊圖,說明單相直流無刷馬達的控制方式; 圖5是圖4之控制裝置的輸出訊號波形示意圖; 圖6圖5之第一 pwm訊號的局部放大圖; 圖7是本發明直流無刷馬達之控制裝置的第二較佳實 施例的電路方塊圖,說明單相直流無刷馬達的另一種控制 方式; 圖8疋本發明直流無刷馬達之控制裝置的第三較佳實 施例的電路方塊圖,說明雙相直流無刷馬達的控制方式;、 圖9疋本發明直流無刷馬達之控制裝置的第四較佳實 靶例的书路方塊圖,說明三相直流無刷馬達的控制方式; 及 , 圖1〇是第四實施例的控制裝置的輸出訊號波形示意圖 14 200830694 【主要元件符號說明】And the period ′ when the level of the external control signal is decremented, the output PWM signal is decremented to zero by the predetermined duty cycle, and a driving signal is generated according to the pwM signal and the Hall signal. The switch circuit is controlled by the drive signal to switch the phase of the current output to the stator coil to drive the motor rotor to rotate. Thereby, the output current surge of the switching circuit is eliminated. Wherein, the DC brushless motor is a single-phase or two-phase DC brushless motor, the driving unit includes a PWM generator and a driver, and the pWM generator generates the PWM signal according to the external control signal, and When the level of the external control signal is incremented, the duty cycle of the output PWM signal is incremented from zero to a predetermined duty cycle, and when the level of the external control signal is decremented, the output PWM signal is decremented by the predetermined duty cycle. Up to zero; the driver generates the driving signal according to the PWM signal and the Hall signal. Where the DC brushless motor is a three-phase DC brushless motor, the driving unit is a PWM generator. As described above, the control device further includes a comparator, and the Hall element is a Hall sensor, and the Hall signal is a differential analog signal, which is converted into a digital signal by the comparator and input. Drive unit. As described above, when the PWM duty cycle controller detects that the differential voltage of the Hall signal is reduced to less than the reference value, the external control signal is caused to be lowered during the period from the reference value to zero. The level is decremented to a low level, and the external control signal is incremented from a low level to a high level during a period in which the differential voltage rises from zero to the reference value. Wherein, the Hall element is a -Horth integrated circuit, the Hall signal is a digital signal, and the PWM guard cycle controller sets a value close to the count value according to a count value of a waveform before 200830694 of the Hall signal. The reference value, and when counting the target waveform of the δ δ hole number to the reference value, the external control signal is decremented from the high level to the low level during the period from the predetermined value to the current waveform level conversion Bit, and after the conversion of the Hall signal level, the external control signal is incremented from the low level to the high level. [Embodiment] The foregoing and other technical contents, features, and effects of the present invention will be apparently described in the following detailed description of the four preferred embodiments of the tea. Referring to FIG. 1, FIG. 4 and FIG. 5, it is a first preferred embodiment of the control device for the brushless DC motor of the present invention. The DC brushless motor is a single-phase DC brush motor, and its structure is as shown in FIG. The illustration includes a stator 11 around which a coil winding 10 is disposed and a quadrupole rotor 12 that rotates around the stator. The control device 3 of this embodiment includes a Hall sensor 31, a PWM duty cycle controller 32, a driving unit 30, and a switching circuit 35. The drive unit 3 further includes a PWM generator 33 and a driver 34, and the switch circuit 35 is an H_bridge (H-bridge) circuit composed of four transistors. The Muir sensing 31 is disposed adjacent to the motor rotor 12 to sense the magnetic pole position of the motor rotor 12 and correspondingly generate a Hall signal center as shown in FIG. 5, which is a type of differential signal vHP and vHN), the Hall signal Sha is converted into a digital signal Shd via a comparator 36 and input to the driver 34. The PWM duty cycle controller 32 receives an external control signal Sc and a Hall signal Sha as shown in FIG. 5, and the external control signal heart is a DC voltage 200830694 signal, which is used to control the PWM generator 33 and change it. The voltage level of the PWM signal output by the voltage level modulation PWM generator 33 (ie, the duty cycle), for example, when the voltage level is 5 V, the duty cycle of the PWM signal is 50%, and the voltage level is 2.5 V, the PWM signal is The work cycle is 25%. In this embodiment, in order to eliminate the output current lout of the switching circuit 35, the PWM duty cycle controller 32 sets a reference value (ie, reference voltage) Vref, and detects the differential voltage VD of the Hall signal SHA (absolutely Whether the value is reduced to be less than the reference value Vref, and if so, the period during which the external control signal Sc is lowered from the reference value Vref to zero (zero crossing point) is reduced from a high level (for example, 5V) to The low level (for example, 0V), and the period T2 when the differential voltage VD (absolute value) rises from zero (zero crossing point) to the reference value Vref, causes the external control signal Sc to be incremented from the low level (0V) to the high level. The level (5V) is output to the PWM generator 33 via an edge-adjusted external control signal Sc' as shown in FIG. Therefore, when the PWM generator 33 receives the external control signal Sc', it modulates the pulse width (duty cycle) of the PWM signal output according to the voltage level of the external control signal Sc', and generates as shown in FIG. The PWM signal SPWM' is input to the driver 34. The PWM signal Spwm 'corresponds to the high-level waveform of the external control signal Sc' to generate a uniform pulse width (for example, 50%), but the incremental edge and the decreasing edge portion corresponding to the external control signal Sc' are adjusted according to the voltage increment or decrement. The pulse width is such that the pulse width corresponds to the decreasing and increasing 〇 driver 34 alternately outputs the first according to the PWM signal position of the rotor 12 corresponding to the PWM signal S PWM and the Hall signal Shd. ^^^1 Signal 81^1^' and 10 200830694 The second PWM signal Spwm2' turns the control switch circuit 35. Therefore, when the switching circuit 35 is alternately controlled by the first PWM signal S PWM1 ' and the second PWM signal S PWM2' to output the current lout, when switching between the first PWM signal Spwmi' and the second P signal Spwm2'PWM , instead of switching instantaneously, as shown in FIG. 6, after the pulse width of the first PWM signal SPWM1 ' is gradually decreased to zero by a predetermined duty cycle (50%), the pulse width of the second PWM signal SPWM2' is gradually increased. It is incremented to a predetermined duty cycle (50%), so that the switching circuit 35 does not generate an instantaneous surge on the output current Iout due to the instantaneous switching of the PWM signal, thereby eliminating the output current surge. Referring to FIG. 7 again, it is a second preferred embodiment of the control device for the brushless DC motor of the present invention. The only difference from the first embodiment is that the present embodiment is a Hall integrated circuit (ie, Huo The IC) 31' replaces the Hall sensor 31 of the first embodiment, and because the Hall IC3 直接 directly outputs a digital signal SHd as shown in FIG. 5 corresponding to the sensed rotor magnetic pole position. Therefore, the present embodiment does not require the comparator 36 of the first embodiment. • However, since the output of the Hall 1C 31' is a digital signal SHD instead of an analog signal, in this embodiment, in order to know the level transition point of the Hall signal SHD, the level of the external control signal is adjusted correspondingly. In the present embodiment, the PWM period controller 32 uses a counter to count the period of the Hall signal SHD to obtain a high-level waveform (N) and a low-level waveform. The count value of (S), and the next waveform (i.e., the current waveform) is estimated based on the count value CP of the previous waveform, and a reference value Cref is set, and the reference value Cref is close to but smaller than the count value CP. 11 200830694 Therefore, when the PWM period controller 32 counts the count value of the current waveform to reach the kite value cref, the reference value Cref is counted to the period h before the current waveform level conversion, so that the external control signal Sc is from the high level. Decrease to the low level, and after the Hall signal SHd level conversion, the external control signal Sc is incremented from the low level to the high level, and the edge-adjusted external control signal Sc as shown in FIG. 5 is output to the PWM. Generator 33. Therefore, as in the first embodiment, the PWM generator 33 modulates the pulse width according to the voltage level of the external control signal Sc, thereby generating the PWM signal sPWM as shown in FIG. Referring to FIG. 8 again, it is a third preferred embodiment of the control device for the brushless DC motor of the present invention. This embodiment is for controlling a two-phase DC brushless motor, and since the stator of the two-phase DC brushless motor has The two coil windings are separately controlled. Therefore, the present embodiment is mainly a switch circuit 35 for controlling the stator coil 1 of the motor, which is different from the second embodiment. Referring to FIG. 9, which is a fourth preferred embodiment of the control device for the brushless DC motor of the present invention, the present embodiment is for controlling a three-phase DC brushless motor, which is different from the foregoing embodiment. DC brushless motor: There are two coil windings Lu, Lv, Lw to be separately controlled, so this embodiment uses three Hall sensing ICs 31 to sense the magnetic pole position of the motor rotor, respectively, and three-phase DC The brush motor is generally controlled by a two-phase modulation method, that is, only one phase of the stator three-phase coil is controlled to be turned on and the other y phase is maintained in a floating state, so the switch circuit 35 of the embodiment has Three parallel bridge arms, each having two switching elements, namely upper arm elements Q3, Q5 and lower arm elements Q2, Q4, Q6. Therefore, as shown in FIG. 1A, 12 200830694 three Hall sensing ICs 3i respectively generate sensing signals such as Hv, Hw, and output to the PWM duty cycle controller 32, and the driving unit 3A, and the embodiment The drive unit 3G is a -pwm generator. According to the foregoing first embodiment, the PWM duty cycle controller 32 generates an external control signal S1, ~V through the edge (4) according to the sensing signal, the office, the Hw and the external control signals Si~S6. The unit (PWM generator) 3〇 causes the driving unit (JWM to generate |§) 3Q to generate the edge pulse width increasing or decreasing signal sPWM1 according to the sensing signal shame, Ην, η, and the external control signal S!~S6~ The sPWM2 output controls the switching elements Q1 to Q6 of the switching circuit 35" to drive the motor rotor to rotate, and the switching circuit 35" does not instantaneously switch the output current due to the instantaneous switching of the PWM signal, thus eliminating the The motor produces a noise output current surge. As can be seen from the above description, the present invention prepares the drive signal by relatively increasing or decreasing the pulse width of the corresponding PWM signal by adjusting the voltage level of the external control signal Sc during the period. The output current W generated by the PWM signal control/off circuit 35 does not cause a surge due to the instantaneous switching of the PWM signal by the driver 34, thereby reducing the mechanical resonance and noise generated by the motor due to the current surge. However, the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention and the scope of the invention. Modifications are within the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural view of a conventional DC brushless motor; 13 200830694 FIG. 2 is a circuit block diagram of a conventional DC brushless motor control device; FIG. 3 is an output signal of the control device of FIG. FIG. 4 is a circuit block diagram of a first preferred embodiment of a DC brushless motor control device according to the present invention, illustrating a control mode of a single-phase DC brushless motor; FIG. 5 is an output signal waveform of the control device of FIG. Figure 6 is a partial enlarged view of the first pwm signal of the DC brushless motor of the present invention; Figure 7 is a circuit block diagram of a second preferred embodiment of the control device for the brushless DC motor of the present invention, illustrating another type of single-phase DC brushless motor Figure 8 is a circuit block diagram of a third preferred embodiment of the control device for the brushless DC motor of the present invention, illustrating the control mode of the two-phase DC brushless motor; and Figure 9 is a control of the DC brushless motor of the present invention. A book block diagram of a fourth preferred embodiment of the device, illustrating a control mode of the three-phase DC brushless motor; and FIG. 1A is a schematic diagram of an output signal waveform of the control device of the fourth embodiment 14200830694 [mainly reference numerals DESCRIPTION

3 控制裝置 30驅動單元 3 1霍爾感測器 31’霍爾1C 32、32’ PWM工作週期控制器 33 PWM產生器 34驅動器 35、35’、35”開關電路 36比較器 10、10”、Lu、Lv、Lw 線圈 11定子3 control device 30 drive unit 3 1 Hall sensor 31 'Hall 1C 32, 32' PWM duty cycle controller 33 PWM generator 34 driver 35, 35', 35" switch circuit 36 comparator 10, 10", Lu, Lv, Lw coil 11 stator

1515

Claims (1)

200830694 十、申請專利範圍: 1.種直流無刷馬達之控制方法,該馬達具有一繞設線圈 之定子及-環繞定子旋轉之轉子,該㈣方法使用一霍 爾凡件_該轉子之磁極位置以對應產生—霍爾訊號, 、用驅動單元根據一外部控制訊號產生一 PWM訊號 i才艮據4 PWM訊號及該霍爾訊號控制一開關電路, 吏刀換輸出至定子線圈之電流相位,而驅使轉子轉動; 春 其特徵在於該方法更包括: (A) 當偵測該霍爾訊號即將準位轉換時,令該外部控 制A 5虎之準位對應該霍爾訊號準位變化而遞增或遞減; (B) 當該外部控制訊號之準位遞增時,令該驅動單元 產生之PWM訊號的工作周期由零遞增至一預定工作周 期;及 (C) 當該外部控制訊號之準位遞減時,令該驅動單元 產生之PWM訊號由該預定工作周期遞減至零。 _ 2·依巾請專利範圍帛1項所述直流無刷馬達之控制方法, 其中該霍爾元件是一霍爾感測器,該霍爾訊號是一差動 類比訊號,其經由一比較器轉成—數位訊號後輪入該驅 動單元,且該外部控制訊號是由一 PWM工作週期^ 器產生。 ’工, 3·依申請專利範圍第2項所述直流無刷馬達之控制方法, 在步驟(A)中,當該PWM工作週期控制器偵測該霍爾吒 號之差動電壓降低至小於一參考值時,即令該^部控2 訊號於該差動電壓由該參考值降低至零的期間由^ ; 16 200830694 遞減至低準位,並於該差動電壓由零上升至該參考值的 期間,令該外部控制訊號由低準位遞增至高準位。 4·依申請專利範圍第1項所述直流無刷馬達之控制方法, 其中該霍爾元件是一霍爾積體電路,該霍爾訊號是一數 位訊號,且該外部控制訊號是由一 PWM工作週期控制 器產生。 5 ·依申請專利範圍第4_項所述直流無刷馬達之控制方法, 在步驟(A)中,該PWM工作週期控制器根據霍爾訊號之 前一波形的計數值,設定一接近該計數值之參考值,並 於計數霍爾訊號之目前波形至該參考值時,·令該外部控 制訊號於由該預定值計數至目前波形準位轉換前的期間 ,由高準位遞減至低準位,並於霍爾訊號準位轉換後, 令該外部控制訊號由低準位遞增至高準位。 6· —種直流無刷馬達之控制裝置,該馬達具有一繞設線圈 之定子及一環繞定子旋轉之轉子,該控制裝置包括: 一霍爾元件,偵測該轉子之磁極位置並對應產生一 霍爾訊號; PWM工作週期控制器,接受該霍爾訊號及一外 部控制訊號’並於偵測該霍爾訊號即將準位轉換時,令 該外部控龍號之準位對應該霍爾訊號準位變化而遞增 或遞減; 、、、"動單元根據该外部控制訊號產生一 pwM訊 號,並於該外部控制訊號之準位遞增時,使輸出之PWM 訊號的工作周期由零遞增至_預定工作周期,並於該外 17 200830694 2控制訊號之準位遞減時,使輸出之PWM訊號由該預 疋工作周期遞減至零,同時根據該pWM訊號及該霍爾 訊號產生-驅動訊號;及 關龟路,受該驅動訊號控制,切換輸出至該定 子線圈的電流相位,以驅使馬達轉子轉動。 申明專利範圍第6項所述直流無刷馬達之控制裝置, 〃中該直流無刷馬達是單相或雙相直流無刷馬達,且該 ,動單元包括—PWM產生器及一驅動器,該pwM產生 木據該外邛控制訊號產生該pWM訊號,並於該外部 =制訊旒之準位遞增時,使輸出之pwM訊號的工作周 ’、’遞牦至預疋工作周期,並於該外部控制訊號之 準位遞減時,使輸出之pWM訊號由該預定工作周期遞 減至零;該驅動器根據該PWM訊號及該霍爾訊號產生 該驅動訊號。 8·依中請專利範圍帛6項所述直流無刷馬達之控制裝置, 其中該直流無刷馬達是三相直流無刷馬達,且該驅動單 元是一 PWM產生器。 9·依申明專利範圍第7或8項所述直流無刷馬達之控制裝 置丄更包括-比較器,且該霍爾元件是_霍爾感測器, X雈爾λ號疋差動類比訊號,其經由該比較器轉成一 數位訊號後輸入該驅動單元。 10·依申請專利範圍第9項所述直流無刷馬達之控制裝置, 其中當該PWM工作週期控制器偵測該霍爾訊號之差動 電壓降低至小於-參考值時,即令該外部控制訊號於該 18 200830694 差動電壓由該參考值降低至零的期間,由高準位遞減至 低準位並々該外部控制訊號於該差動電壓由零上升至 該參考值的期間,由低準位遞增至高準位。 U·依申請專利_第7 〇項所述直流無刷馬達之控制裝 置’其中該霍爾元件是一霍爾積體電路,該霍爾訊號是 一 ^位訊號,且該PWM工作週期控制器根據霍爾訊號 之岫一波形的計數值,設定一接近該計數值之參考值, 並於計數霍爾訊號之目前波形至該參考值時,令該外部 控制訊號於由該預定值計數至目前波形準位轉換前的期 間,由高準位遞減至低準位,並於霍爾訊號準位轉換後 ’令該外部控制訊號由低準位遞增至高準位。 19200830694 X. Patent application scope: 1. A control method for a DC brushless motor, the motor has a stator around which a coil is wound and a rotor that rotates around the stator, and the method uses a Hall element _ the magnetic pole position of the rotor Corresponding generation of the Hall signal, the driving unit generates a PWM signal i according to an external control signal, and according to the 4 PWM signal and the Hall signal, a switching circuit is controlled, and the current phase of the output is output to the stator coil. Driving the rotor to rotate; Spring is characterized by the method further comprising: (A) when detecting that the Hall signal is about to be level-shifted, the external control A 5 tiger's level is incremented corresponding to the Hall signal level change or (B) when the level of the external control signal is incremented, the duty cycle of the PWM signal generated by the driving unit is incremented from zero to a predetermined duty cycle; and (C) when the level of the external control signal is decremented The PWM signal generated by the driving unit is decremented to zero by the predetermined duty cycle. _ 2· The invention relates to a method for controlling a DC brushless motor according to the scope of the patent, wherein the Hall element is a Hall sensor, and the Hall signal is a differential analog signal, which is passed through a comparator. After the digital signal is converted into the driving unit, the external control signal is generated by a PWM duty cycle. 'Work, 3. According to the control method of the DC brushless motor according to the second item of the patent application scope, in the step (A), when the PWM duty cycle controller detects that the differential voltage of the Hall number is reduced to less than When a reference value is obtained, the period of the differential signal is reduced from the reference value to zero by a period of time; the value of the differential voltage is reduced to a low level, and the differential voltage is raised from zero to the reference value. During the period, the external control signal is incremented from a low level to a high level. 4. The control method of the DC brushless motor according to Item 1 of the patent application scope, wherein the Hall element is a Hall integrated circuit, the Hall signal is a digital signal, and the external control signal is a PWM The duty cycle controller is generated. 5 . According to the control method of the DC brushless motor according to Item 4_ of the patent application scope, in step (A), the PWM duty cycle controller sets a value close to the count value according to the count value of a waveform before the Hall signal. The reference value is used to count the current waveform of the Hall signal to the reference value, and the external control signal is decremented from the high level to the low level during the period from the predetermined value to the current waveform level conversion. After the conversion of the Hall signal level, the external control signal is incremented from a low level to a high level. 6. A DC brushless motor control device, the motor having a stator winding a coil and a rotor rotating around the stator, the control device comprising: a Hall element detecting the magnetic pole position of the rotor and correspondingly generating a Hall signal; PWM duty cycle controller, accepting the Hall signal and an external control signal' and detecting the Hall signal to be level-shifted, making the external control number correspond to the Hall signal The bit change is incremented or decremented; the , , , and the dynamic unit generates a pwM signal according to the external control signal, and when the level of the external control signal is incremented, the duty cycle of the output PWM signal is incremented from zero to _ predetermined During the duty cycle, when the level of the control signal is decremented, the output PWM signal is decremented from zero to zero, and the drive signal is generated based on the pWM signal and the Hall signal; The turtle path is controlled by the drive signal to switch the phase of the current output to the stator coil to drive the motor rotor to rotate. A control device for a DC brushless motor according to Item 6 of the patent scope, wherein the DC brushless motor is a single-phase or two-phase DC brushless motor, and the moving unit comprises a PWM generator and a driver, the pwM The generating wood generates the pWM signal according to the external control signal, and when the external=control signal is incremented, the working week of the output pwM signal is 'delivered to the pre-working period, and externally When the level of the control signal is decremented, the output pWM signal is decremented to zero by the predetermined duty cycle; the driver generates the driving signal according to the PWM signal and the Hall signal. 8. The control device of the DC brushless motor according to the scope of Patent Application 帛6, wherein the DC brushless motor is a three-phase DC brushless motor, and the driving unit is a PWM generator. 9. The control device of the brushless DC motor according to the seventh or eighth aspect of the patent scope includes a comparator, and the Hall element is a _ Hall sensor, and the X 雈 λ 疋 differential analog signal It is converted into a digital signal by the comparator and then input to the driving unit. 10. The control device of the DC brushless motor according to claim 9 of the patent application scope, wherein when the PWM duty cycle controller detects that the differential voltage of the Hall signal decreases to less than a reference value, the external control signal is During the period when the differential voltage is reduced to zero by the reference value, the high voltage is decremented to a low level and the external control signal is raised from zero to the reference value during the period from the low level to the reference value. Increase to the high level. U. The control device for a DC brushless motor according to the application of the invention, wherein the Hall element is a Hall integrated circuit, the Hall signal is a bit signal, and the PWM duty cycle controller Setting a reference value close to the count value according to the count value of the first waveform of the Hall signal, and counting the current waveform of the Hall signal to the reference value, so that the external control signal is counted from the predetermined value to the current During the period before the waveform level conversion, the high level is decremented to the low level, and after the Hall signal level is converted, the external control signal is incremented from the low level to the high level. 19
TW96100657A 2007-01-08 2007-01-08 Method and apparatus of controlling DC brushless motor TW200830694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96100657A TW200830694A (en) 2007-01-08 2007-01-08 Method and apparatus of controlling DC brushless motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96100657A TW200830694A (en) 2007-01-08 2007-01-08 Method and apparatus of controlling DC brushless motor

Publications (1)

Publication Number Publication Date
TW200830694A true TW200830694A (en) 2008-07-16

Family

ID=44818367

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96100657A TW200830694A (en) 2007-01-08 2007-01-08 Method and apparatus of controlling DC brushless motor

Country Status (1)

Country Link
TW (1) TW200830694A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382650B (en) * 2009-01-22 2013-01-11 Richtek Techohnology Corp Apparatus and method for detecting rotor position of pmsm
TWI423582B (en) * 2010-06-24 2014-01-11 陞達科技股份有限公司 Motor drive device and driving method thereof
CN103633900A (en) * 2012-08-28 2014-03-12 晶致半导体股份有限公司 Brushless DC motor control device and method
TWI463787B (en) * 2012-08-21 2014-12-01 Amtek Semiconductor Co Ltd Brushless dc motor control device and method
TWI630776B (en) * 2017-03-22 2018-07-21 上海騏宏電驅動科技有限公司 Motor speed detecting method and device thereof
TWI643443B (en) * 2017-05-26 2018-12-01 茂達電子股份有限公司 Motor and motor control method
TWI643442B (en) * 2017-09-25 2018-12-01 祥誠科技股份有限公司 Multi-phase brushless dc motor drivng circuit
TWI683528B (en) * 2018-05-14 2020-01-21 茂達電子股份有限公司 Motor driving circuit and method thereof
CN114268250A (en) * 2020-09-16 2022-04-01 茂达电子股份有限公司 Motor output stabilization circuit and method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382650B (en) * 2009-01-22 2013-01-11 Richtek Techohnology Corp Apparatus and method for detecting rotor position of pmsm
TWI423582B (en) * 2010-06-24 2014-01-11 陞達科技股份有限公司 Motor drive device and driving method thereof
TWI463787B (en) * 2012-08-21 2014-12-01 Amtek Semiconductor Co Ltd Brushless dc motor control device and method
CN103633900A (en) * 2012-08-28 2014-03-12 晶致半导体股份有限公司 Brushless DC motor control device and method
CN103633900B (en) * 2012-08-28 2016-03-23 晶致半导体股份有限公司 Brushless DC motor control device and method
TWI630776B (en) * 2017-03-22 2018-07-21 上海騏宏電驅動科技有限公司 Motor speed detecting method and device thereof
TWI643443B (en) * 2017-05-26 2018-12-01 茂達電子股份有限公司 Motor and motor control method
TWI643442B (en) * 2017-09-25 2018-12-01 祥誠科技股份有限公司 Multi-phase brushless dc motor drivng circuit
US10615723B2 (en) 2017-09-25 2020-04-07 Energic Technologies Corp. Multi-phase brushless DC motor driving circuit
TWI683528B (en) * 2018-05-14 2020-01-21 茂達電子股份有限公司 Motor driving circuit and method thereof
CN114268250A (en) * 2020-09-16 2022-04-01 茂达电子股份有限公司 Motor output stabilization circuit and method
CN114268250B (en) * 2020-09-16 2024-03-29 茂达电子股份有限公司 Motor output stabilization circuit and method

Similar Documents

Publication Publication Date Title
CN101232266A (en) Control method and device of DC brushless motor
TW200830694A (en) Method and apparatus of controlling DC brushless motor
US7541760B2 (en) Method capable of controlling brushless DC motor
JP3419157B2 (en) Motor driving method and electric equipment using the same
EP2959573B1 (en) Method and system for determining the position of a synchronous motor's rotor
JP5651301B2 (en) Motor drive circuit
JP2009523398A (en) Control device and control method for hybrid motor
JP5697320B2 (en) Driver circuit
KR20040010147A (en) Control of a switched reluctance drive
AU2009296683B2 (en) Predictive pulse width modulation for an open delta H-bridge driven high efficiency ironless permanent magnet machine
JP4578142B2 (en) Brushless DC motor drive device
JP5770701B2 (en) Stepping motor drive control device
CN100420143C (en) control method and control circuit of brushless DC motor
TWI749948B (en) Motor controller
JP5591508B2 (en) Driver circuit
Kim et al. DSP-based high-speed sensorless control for a brushless DC motor using a DC link voltage control
CN1250244A (en) Driver for switching reluctance motor
JP5591507B2 (en) Driver circuit
JP5193519B2 (en) DC motor and pump having the same
CN109510405A (en) A kind of induction less brush-less motor and its blocking rotation control method
JP2010063291A (en) Motor control circuit
JP3696786B2 (en) Motor control device
JP2008193777A (en) Control method and controller of dc brushless motor
JP2001128477A (en) Switch reluctance motor control method, compressor driving method, and these devices
TWI760841B (en) Motor controller