TWI463787B - Brushless dc motor control device and method - Google Patents

Brushless dc motor control device and method Download PDF

Info

Publication number
TWI463787B
TWI463787B TW101130246A TW101130246A TWI463787B TW I463787 B TWI463787 B TW I463787B TW 101130246 A TW101130246 A TW 101130246A TW 101130246 A TW101130246 A TW 101130246A TW I463787 B TWI463787 B TW I463787B
Authority
TW
Taiwan
Prior art keywords
magnetic field
flux density
brushless
time difference
motor
Prior art date
Application number
TW101130246A
Other languages
Chinese (zh)
Other versions
TW201409928A (en
Inventor
Keng Yi Wu
Chin Hung Liu
Original Assignee
Amtek Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amtek Semiconductor Co Ltd filed Critical Amtek Semiconductor Co Ltd
Priority to TW101130246A priority Critical patent/TWI463787B/en
Publication of TW201409928A publication Critical patent/TW201409928A/en
Application granted granted Critical
Publication of TWI463787B publication Critical patent/TWI463787B/en

Links

Landscapes

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

Description

無刷直流馬達控制裝置與方法 Brushless DC motor control device and method

本發明係有關於一種馬達控制裝置與方法,特別是有關於一種無刷直流馬達控制裝置與方法,其是以數位調變的方式,藉由對馬達磁場變化期間所產生的磁場上升時間差或磁場下降時間差區分成多段時間等分,每一個時間等分中都有它相對應的工作週期,進而去驅動無刷直流馬達,使馬達換相電流線性平滑,得以減少無刷直流馬達產生之振動及噪音的問題,以使本發明之無刷直流馬達控制裝置與方法能夠達到良好的輸出表現以及較佳的系統穩定性。 The present invention relates to a motor control device and method, and more particularly to a brushless DC motor control device and method, which is in a digitally modulated manner, by a time difference or magnetic field of a magnetic field generated during a change of a magnetic field of a motor. The drop time difference is divided into multiple time divisions, each of which has its corresponding duty cycle, and then drives the brushless DC motor to make the motor commutation current linearly smooth, thereby reducing the vibration generated by the brushless DC motor and The problem of noise is to enable the brushless DC motor control apparatus and method of the present invention to achieve good output performance and better system stability.

由於科技不斷進步,電子產品日益普及,在這些電子產品中,如通訊裝置、筆記型電腦及家電用品等等,皆廣泛使用到體積小且效率高的無刷直流馬達,常見應用於電腦CPU、光碟機及硬碟等等。 Due to the continuous advancement of technology, electronic products are becoming more and more popular. In these electronic products, such as communication devices, notebook computers and home appliances, etc., small-sized and high-efficiency brushless DC motors are widely used, which are commonly used in computer CPUs. CD player and hard disk, etc.

一般來說,當驅動無刷直流馬達轉動時,必須偵測轉子的位置並透過換相開關的切換進行相位轉換;然而,在馬達驅動時容易因為切換過程造成電流的不穩定,引起馬達共振而導致產生擾人的噪音,進而影響使用上的舒適度。 Generally speaking, when driving the brushless DC motor to rotate, it is necessary to detect the position of the rotor and perform phase conversion through the switching of the commutation switch; however, when the motor is driven, the current is unstable due to the switching process, causing the motor to resonate. This can cause disturbing noise, which in turn affects the comfort of use.

因此本發明提供一種無刷直流馬達控制裝置與方法,以數位調變的方式,藉由對馬達磁場變化期間所產生的磁場上升時間差或磁場下降時間差區分成多段時間等分,每一個時間等分中都有它相對應的工作週期,進而去驅動無刷直流馬達轉動,使馬達換相電流線性平滑,得以減少無刷直流馬達產生之振動與噪音。 Therefore, the present invention provides a brushless DC motor control apparatus and method for dividing a time difference of a magnetic field rise time or a time difference of a magnetic field drop generated during a change of a magnetic field of a motor into a plurality of time divisions in a digitally modulated manner, each time being equally divided. It has its corresponding working cycle, which in turn drives the brushless DC motor to rotate, so that the motor commutation current is linear and smooth, which can reduce the vibration and noise generated by the brushless DC motor.

為了解決上述有關馬達產生之振動與噪音的問題,本發明之一主要目的在於提供一種無刷直流馬達控制裝置,以數位調變的方式透過PWM工作週期調變電路,驅動馬達於電流相位轉換時控制電流曲線,使其變得線性平滑,藉此減少無刷直流馬達之振動與噪音,並達到較佳的系統穩定性。 In order to solve the above problems concerning the vibration and noise generated by the motor, one main object of the present invention is to provide a brushless DC motor control device that transmits a PWM duty cycle modulation circuit in a digitally modulated manner to drive a motor in current phase conversion. The current curve is controlled to make it linearly smooth, thereby reducing the vibration and noise of the brushless DC motor and achieving better system stability.

本發明又一主要目的在於提供一種無刷直流馬達控制方法,藉由無刷直流馬達控制方法,使其輸出電流曲線能線性平滑,並達到較佳的系統穩定性。 Another main object of the present invention is to provide a brushless DC motor control method, which can linearly smooth the output current curve and achieve better system stability by the brushless DC motor control method.

依據上述之各項目的,本發明提供一種裝置,是與一無刷直流馬達連接,包括:一磁場偵測電路,係用以偵測無刷直流馬達之一轉子位置;一霍爾元件,耦合於磁場偵測電路內,係用以感應轉子位置之磁極變化並對應產生一磁場變化曲線,其中該磁場變化曲線包含一最大磁通密度(Bmax)、一正遲滯磁通密度(BH+)、一零磁通密度(B0)、一負遲滯磁通密度(BH-)以及一最小磁通密度(Bmin);一計數器,其具有一上升時間計數器與一下降時間計數器,與磁場偵測電路連接,依據磁場變化曲線計算無刷直流馬達經由磁場偵測電路所產生之一磁場上升時間差或一磁場下降時間差,其中該磁場上升時間差係從該最小磁通密度(Bmin)至該最大磁通密度(Bmax)期間,經由該上升時間計數器計算出該負遲滯磁通密度(BH-)遞增至該正遲滯磁通密度(BH+)之區間,而該磁場下降時間差係從該最大磁通密度(Bmax)至該最小磁通密度(Bmin)期間,經由該下降時間計數器計算出該正遲滯磁通密度(BH+)遞減至該負遲滯磁通密度(BH-)之區間;一PWM工作週期調變電路,其一端與計數器連接,係用以將磁場上升時間差或磁場下降時間差區分成N段時間等分(N為整數),每一時間等分都有其相對應的工作週期(Duty cycle),其另一端輸出一第一調變訊號(Dr_O1)與一第二調變訊號 (Dr_O2);以及一負載驅動電路,其輸入端接收一第一調變訊號(Dr_O1)與一第二調變訊號(Dr_O2),藉以產生一第一輸出電壓(V_O1)與一第二輸出電壓(V_O2)以及一輸出電流(I load ),用以驅動該無刷直流馬達。 According to the above items, the present invention provides a device for connecting to a brushless DC motor, comprising: a magnetic field detecting circuit for detecting a rotor position of a brushless DC motor; a Hall element, coupling The magnetic field detecting circuit is configured to sense a magnetic pole change of the rotor position and correspondingly generate a magnetic field change curve, wherein the magnetic field change curve includes a maximum magnetic flux density (B max ) and a positive hysteresis magnetic flux density (B H+ ). a zero magnetic flux density (B 0 ), a negative hysteresis magnetic flux density (B H- ), and a minimum magnetic flux density (B min ); a counter having a rise time counter and a fall time counter, and a magnetic field Detecting a circuit connection, calculating a magnetic field rise time difference or a magnetic field fall time difference generated by the brushless DC motor via the magnetic field detecting circuit according to the magnetic field change curve, wherein the magnetic field rise time difference is from the minimum magnetic flux density (B min ) to the during the maximum magnetic flux density (B max), the calculated field at the magnetic flux density of the negative hysteresis (B H-) hysteresis increment to the positive magnetic flux density (B H +) of the interval, the rise time counter via the During the time difference from the maximum magnetic flux density lines (B max) to the minimum magnetic flux density (B min), the positive hysteresis is calculated magnetic flux density (B H +) down to the negative hysteresis magnetic flux density through the fall time counter ( B H- ) interval; a PWM duty cycle modulation circuit, one end of which is connected to the counter, is used to divide the time difference of the magnetic field rise time or the time difference of the magnetic field fall into N segments of time (N is an integer), each time, etc. The sub-port has its corresponding duty cycle (Duty cycle), and the other end outputs a first modulation signal (Dr_O1) and a second modulation signal (Dr_O2); and a load driving circuit, the input end receives a first a modulation signal (Dr_O1) and a second modulation signal (Dr_O2), thereby generating a first output voltage (V_O1) and a second output voltage (V_O2) and an output current ( I load ) for driving the Brushless DC motor.

本發明提供一種方法,包括:提供一無刷直流馬達;偵測無刷直流馬達之一轉子位置,係利用一磁場偵測電路偵測無刷直流馬達之一轉子位置,並根據耦合於磁場偵測電路內之一霍爾元件,感應轉子位置之磁極變化並對應產生一磁場變化曲線,其中該磁場變化曲線包含一最大磁通密度(Bmax)、一正遲滯磁通密度(BH+)、一零磁通密度(B0)、一負遲滯磁通密度(BH-)以及一最小磁通密度(Bmin);計算磁場上升時間差或磁場下降時間差,係利用一上升時間計數器或一下降時間計數器依據該磁場變化曲線,計算無刷直流馬達經由磁場偵測電路所產生之一磁場上升時間差或一磁場下降時間差,其中該磁場上升時間差係從該最小磁通密度(Bmin)至該最大磁通密度(Bmax)期間,經由該上升時間計數器計算出該負遲滯磁通密度(BH-)遞增至該正遲滯磁通密度(BH+)之區間,而該磁場下降時間差係從該最大磁通密度(Bmax)至該最小磁通密度(Bmin)期間,經由該下降時間計數器計算出該正遲滯磁通密度(BH+)遞減至該負遲滯磁通密度(BH-)之區間;產生輸出調變訊號,係利用PWM工作週期調變電路,將磁場上升時間差或磁場下降時間差區分成N段時間等分(N為整數),每一段時間等分都有其相對應的工作週期(Duty cycle),並輸出一第一調變訊號(Dr_O1)與一第二調變訊號(Dr_O2);以及驅動無刷直流馬達,係利用一負載驅動電路接收第一調變訊號(Dr_O1)與第二調變訊號(Dr_O2),並產生一第一輸出電壓(V_O1)與一第二輸出電壓(V_O2)以及一輸出電流(I load ),用以驅動無刷直流馬達。 The invention provides a method comprising: providing a brushless DC motor; detecting a rotor position of a brushless DC motor, detecting a rotor position of a brushless DC motor by using a magnetic field detecting circuit, and detecting the magnetic field according to coupling Measuring a Hall element in the circuit, inducing a change in the magnetic pole position of the rotor position and correspondingly generating a magnetic field change curve, wherein the magnetic field change curve includes a maximum magnetic flux density (B max ), a positive hysteresis magnetic flux density (B H+ ), a zero magnetic flux density (B 0 ), a negative hysteresis magnetic flux density (B H- ), and a minimum magnetic flux density (B min ); calculating a magnetic field rise time difference or a magnetic field fall time difference, using a rise time counter or a drop The time counter calculates a magnetic field rise time difference or a magnetic field fall time difference generated by the brushless DC motor via the magnetic field detecting circuit according to the magnetic field change curve, wherein the magnetic field rise time difference is from the minimum magnetic flux density (B min ) to the maximum during the magnetic flux density (B max), the calculated magnetic flux density of the negative hysteresis (B H-) hysteresis increment to the positive magnetic flux density (B H +) through the interval of the rise time counter The difference between the fall time and the magnetic field lines from the maximum magnetic flux density (B max) to a minimum during which the magnetic flux density (B min), is calculated via the fall time of the positive hysteresis counter magnetic flux density (B H +) down to the negative hysteresis The interval of magnetic flux density (B H- ); the output modulation signal is generated by using the PWM duty cycle modulation circuit to divide the magnetic field rise time difference or the magnetic field fall time difference into N segments of time (N is an integer), each segment The time division has its corresponding duty cycle (Duty cycle), and outputs a first modulation signal (Dr_O1) and a second modulation signal (Dr_O2); and driving the brushless DC motor, using a load drive The circuit receives the first modulation signal (Dr_O1) and the second modulation signal (Dr_O2), and generates a first output voltage (V_O1) and a second output voltage (V_O2) and an output current ( I load ) for Drive the brushless DC motor.

經由本發明所提供之無刷直流馬達控制裝置與方法,藉由數位調變的方式利用PWM工作週期調變電路所產生的工作週期控制馬達的換相電流,使其輸出電流曲線能線性平滑,得以減少無刷直流馬達產生之振動及噪音的問題,使其達到較佳的系統穩定性以及良好的輸出表現。 Through the brushless DC motor control device and method provided by the present invention, the commutation current of the motor is controlled by the duty cycle generated by the PWM duty cycle modulation circuit by digital modulation, so that the output current curve can be linearly smoothed. It can reduce the vibration and noise generated by the brushless DC motor, so as to achieve better system stability and good output performance.

由於本發明主要係揭露一種無刷直流馬達控制裝置與方法,以數位調變的方式透過PWM工作週期調變電路,驅動馬達於電流相位轉換時控制電流曲線使其變得線性平滑,藉此能減少無刷直流馬達之振動及噪音。其中,本發明之無刷直流馬達控制裝置是與一個無刷直流馬達連接,藉以控制無刷直流馬達;然而,無刷直流馬達的基本原理與功能,已為相關技術領域具有通常知識者所能明瞭,故以下文中之說明,僅針對與本發明無刷直流馬達控制裝置與方法其特徵處進行詳細說明。此外,於下述內文中之圖式,亦並未依據實際之相關尺寸完整繪製,其作用僅在表達與本發明特徵有關之示意圖。 The present invention mainly discloses a brushless DC motor control device and method for transmitting a PWM duty cycle modulation circuit in a digitally modulated manner, and the drive motor controls the current curve to make it linearly smooth during current phase conversion. It can reduce the vibration and noise of brushless DC motor. Wherein, the brushless DC motor control device of the present invention is connected to a brushless DC motor to control the brushless DC motor; however, the basic principle and function of the brushless DC motor have been known to those skilled in the relevant art. It is to be understood that, in the following description, only the features of the brushless DC motor control apparatus and method of the present invention will be described in detail. In addition, the drawings in the following texts are not completely drawn in accordance with actual relevant dimensions, and their function is only to show a schematic diagram relating to the features of the present invention.

首先,請參閱圖1,係為本發明之無刷直流馬達控制裝置方塊圖。如圖1所示,無刷直流馬達控制裝置包括:一磁場偵測電路10,用以偵測無刷直流馬達12之一轉子位置;一霍爾元件14,耦合於磁場偵測電路10內,用以感應轉子位置之磁極變化並對應產生一磁場變化曲線;一計數器16,與磁場偵測電路10連接,依據磁場變化曲線計算無刷直流馬達12經由磁場偵測電路10所產生之一磁場上升時間差(TR)及一磁場下降時間差(TF),其中計數器16進一步包含一上升時間計數器161與一下降時間計數器162,透過利用上升時間計數器161可計算磁場偵測電路所產生之磁場上升時間差(TR)或利用下降時間計數器162可計算磁場偵測電路 所產生之磁場下降時間差(TF);一PWM工作週期調變電路18,其一端與計數器16連接,進一步包含一暫存器181,係用以暫存磁場上升時間差(TR)或磁場下降時間差(TF),並將磁場上升時間差(TR)或磁場下降時間差(TF)區分成N段時間等分(N為整數),每一時間等分都有其相對應的工作週期(Duty cycle),而其另一端輸出為一第一調變訊號(Dr_O1)與一第二調變訊號(Dr_O2),其中PWM工作週期調變電路18會回授一上升訊號(TR_S)至上升時間計數器161或回授一下降訊號(TF_S)至下降時間計數器162,通知上升時間計數器161或下降時間計數器162計算磁場偵測電路所產生之磁場上升時間差(TR)或磁場下降時間差(TF);及一負載驅動電路20,其輸入端接收第一調變訊號(Dr_O1)與第二調變訊號(Dr_O2),藉以產生第一輸出電壓(V_O1)與第二輸出電壓(V_O2)以及一輸出電流(I load ),用以驅動無刷直流馬達12,其中無刷直流馬達12係為一單相無刷直流馬達。 First, please refer to FIG. 1, which is a block diagram of a brushless DC motor control device of the present invention. As shown in FIG. 1 , the brushless DC motor control device includes: a magnetic field detecting circuit 10 for detecting a rotor position of the brushless DC motor 12; a Hall element 14 coupled to the magnetic field detecting circuit 10, The magnetic pole change is used to sense the position of the rotor and correspondingly generate a magnetic field change curve; a counter 16 is connected to the magnetic field detecting circuit 10, and the magnetic field rise of the brushless DC motor 12 generated by the magnetic field detecting circuit 10 is calculated according to the magnetic field change curve. The time difference (TR) and a magnetic field fall time difference (TF), wherein the counter 16 further includes a rise time counter 161 and a fall time counter 162, and the rise time counter 161 can be used to calculate the magnetic field rise time difference generated by the magnetic field detecting circuit (TR). Or using the fall time counter 162 to calculate the magnetic field fall time difference (TF) generated by the magnetic field detecting circuit; a PWM duty cycle modulation circuit 18, one end of which is connected to the counter 16, further including a register 181, The temporary magnetic field rise time difference (TR) or the magnetic field fall time difference (TF), and the magnetic field rise time difference (TR) or the magnetic field fall time difference (TF) is divided into N The time is equally divided (N is an integer), each time aliquot has its corresponding duty cycle (Duty cycle), and the other end of the output is a first modulation signal (Dr_O1) and a second modulation signal ( Dr_O2), wherein the PWM duty cycle modulation circuit 18 will feedback a rising signal (TR_S) to the rising time counter 161 or feedback a falling signal (TF_S) to the falling time counter 162 to notify the rising time counter 161 or the falling time counter. 162: calculating a magnetic field rise time difference (TR) or a magnetic field fall time difference (TF) generated by the magnetic field detecting circuit; and a load driving circuit 20, wherein the input end receives the first modulation signal (Dr_O1) and the second modulation signal (Dr_O2) a first output voltage (V_O1) and a second output voltage (V_O2) and an output current ( I load ) for driving the brushless DC motor 12, wherein the brushless DC motor 12 is a single-phase brushless DC motor.

當無刷直流馬達12啟動時,磁場偵測電路10會連續性地檢測無刷直流馬達12之轉子位置,並根據耦合於磁場偵測電路10內之一霍爾元件14偵測轉子位置之磁極變化,並產生一磁場變化曲線;接著,利用計數器16依據磁場變化曲線,計算無刷直流馬達12磁場變化期間之磁場上升時間差(TR)及磁場下降時間差(TF),其中計數器16進一步包含一上升時間計數器161與一下降時間計數器162,經由其上升時間計數器161或下降時間計數器162運算後之資料會傳遞至PWM工作週期調變電路18,之後PWM工作週期調變電路會依據上升時間計數器或下降時間計數器所產生的磁場上升時間差(TR)或磁場下降時間差(TF),將磁場上升時間差(TR)或磁場下降時間差(TF)暫存於暫存器181中,並將磁場上升時間差(TR)或磁場下降時間差(TF)區分成N段時間等分(N為整 數),而每一個時間等分(TR/N或TF/N)中都有它相對應的工作週期(Duty cycle),並輸出產生調變訊號(Dr_O1/Dr_O2),而PWM工作週期調變電路也會不斷回授一上升訊號(TR_S)或一下降訊號(TF_S)至上升時間計數器161或下降時間計數器162,通知上升時間計數器161或下降時間計數器162計算磁場偵測電路所產生之磁場上升時間差(TR)或磁場下降時間差(TF);而後,負載驅動電路20會接收PWM工作週期調變電路18所輸出的調變訊號(Dr_O1/Dr_O2),進而驅動無刷直流馬達12,使其輸出之換相電流曲線能線性平滑,並減少無刷直流馬達12所產生之振動及噪音。 When the brushless DC motor 12 is activated, the magnetic field detecting circuit 10 continuously detects the rotor position of the brushless DC motor 12, and detects the magnetic pole of the rotor position according to a Hall element 14 coupled to the magnetic field detecting circuit 10. Changing, and generating a magnetic field change curve; then, using the counter 16 to calculate the magnetic field rise time difference (TR) and the magnetic field fall time difference (TF) during the change of the magnetic field of the brushless DC motor 12 by using the counter 16, wherein the counter 16 further includes a rise The time counter 161 and a fall time counter 162, the data calculated by the rise time counter 161 or the fall time counter 162 is transferred to the PWM duty cycle modulation circuit 18, after which the PWM duty cycle modulation circuit is based on the rise time counter. Or the magnetic field rise time difference (TR) or the magnetic field fall time difference (TF) generated by the fall time counter, temporarily store the magnetic field rise time difference (TR) or the magnetic field fall time difference (TF) in the register 181, and increase the magnetic field rise time difference ( TR) or magnetic field fall time difference (TF) is divided into N segments of time (N is the whole Number), and each time aliquot (TR/N or TF/N) has its corresponding duty cycle (Duty cycle), and the output produces a modulation signal (Dr_O1/Dr_O2), and the PWM duty cycle is modulated. The circuit also continuously feedbacks a rising signal (TR_S) or a falling signal (TF_S) to the rising time counter 161 or the falling time counter 162, and notifies the rising time counter 161 or the falling time counter 162 to calculate the magnetic field generated by the magnetic field detecting circuit. The rise time difference (TR) or the magnetic field fall time difference (TF); then, the load drive circuit 20 receives the modulation signal (Dr_O1/Dr_O2) output by the PWM duty cycle modulation circuit 18, thereby driving the brushless DC motor 12, thereby enabling The output commutating current curve is linearly smooth and reduces the vibration and noise generated by the brushless DC motor 12.

接著,請參閱圖2,係為本發明之磁場變化曲線圖。如圖2所示,磁場變化曲線係利用耦合於磁場偵測電路10內之一霍爾元件14偵測轉子位置之磁極變化所產生的,而磁場變化曲線大小將隨轉子位置之磁極變化而有所不同,其係包含一最大磁通密度(Bmax)、一正遲滯磁通密度(BH+)、一零磁通密度(B0)、一負遲滯磁通密度(BH-)以及一最小磁通密度(Bmin)。可透過磁場變化曲線計算出磁場上升時間差(TR1/TR2/TR3...)或磁場下降時間差(TF1/TF2/TF3...),其中磁場上升時間差(TR1/TR2/TR3...)係從最小磁通密度(Bmin)至最大磁通密度(Bmax)期間,經由上升時間計數器161計算出負遲滯磁通密度(BH-)遞增至正遲滯磁通密度(BH+)之區間;而磁場下降時間差(TF1/TF2/TF3...)係從最大磁通密度(Bmax)至最小磁通密度(Bmin)期間,經由下降時間計數器162計算出正遲滯磁通密度(BH+)遞減至負遲滯磁通密度(BH-)之區間。 Next, please refer to FIG. 2 , which is a graph of the magnetic field variation of the present invention. As shown in FIG. 2, the magnetic field change curve is generated by detecting a magnetic pole change of the rotor position by a Hall element 14 coupled to the magnetic field detecting circuit 10, and the magnitude of the magnetic field change curve will vary with the magnetic pole position of the rotor position. Differently, it includes a maximum magnetic flux density (B max ), a positive hysteresis magnetic flux density (B H+ ), a zero magnetic flux density (B 0 ), a negative hysteresis magnetic flux density (B H- ), and a Minimum flux density (B min ). The magnetic field rise time difference (TR1/TR2/TR3...) or the magnetic field fall time difference (TF1/TF2/TF3...) can be calculated from the magnetic field change curve, wherein the magnetic field rise time difference (TR1/TR2/TR3...) During the period from the minimum magnetic flux density (B min ) to the maximum magnetic flux density (B max ), the interval of the negative hysteresis magnetic flux density (B H− ) to the positive hysteresis magnetic flux density (B H+ ) is calculated via the rise time counter 161. And the magnetic field fall time difference (TF1/TF2/TF3...) is calculated from the maximum magnetic flux density (B max ) to the minimum magnetic flux density (B min ), and the positive hysteresis magnetic flux density is calculated via the fall time counter 162 (B) H+ ) is decremented to the interval of negative hysteresis flux density (B H- ).

再接著,請參閱圖3,係為本發明之PWM工作週期調變電路動作示意圖。如圖3所示,當計數器16計算無刷直流馬達12磁場變化期間之磁場上升時間差(TR1/TR2/TR3...)或磁場下降時間差(TF1/TF2/TF3...)後,會將其計數器16運算後之磁場上升時間差 (TR1/TR2/TR3...)或磁場下降時間差(TF1/TF2/TF3...)暫存至PWM工作週期調變電路18內之暫存器181中,其中暫存於暫存器181之資料會延遲一個時序週期被讀取,例如:第一筆磁場上升時間差(TR1)暫存於PWM工作週期調變電路18內之暫存器181中,於磁場相位切換後會延遲一個時序週期被讀取,因此於計數器計算出下一筆磁場上升時間差(TR2)時,PWM工作週期調變電路18會開始讀取第一筆磁場上升時間差(TR1);之後,將其磁場上升時間差或磁場下降時間差區分成N段時間等分(N為整數),而每一個時間等分中都有其相對應的工作週期(duty cycle);由於磁場偵測電路10內之霍爾元件14會連續性地檢測轉子位置之磁極變化,因而所對應產生的磁場變化曲線會是一個連續變化的曲線,因此會產生複數個磁場上升時間差或磁場下降時間差,而每一個時間差的區間內都可以區分成N段時間等分(N為整數);在此將PWM工作週期調變電路18讀取到的第一筆磁場上升時間差(TR1)放大來看,區分成8段時間等分,每一段時間等分都有其相對應的工作週期(duty cycle);因此,當磁場相位切換後,會依據所產生的工作週期(duty cycle)控制輸出的調變訊號(Dr_O1/Dr_O2)。然而,由於馬達具有兩個輸入端分別控制馬達線圈磁極的轉變,因此可透過產生的第一調變訊號(Dr_O1)與第二調變訊號(Dr_O2)驅動負載驅動電路20產生輸出電壓(V_O1/V_O2)及輸出電流(I load ),進而控制馬達12的換相電流。當工作週期(duty cycle)由高漸漸變低時,可控制馬達驅動電流由大緩緩變零,反之當工作週期(duty cycle)由低漸漸變高時,可控制馬達驅動電流由零緩緩變大,藉此可避免因為馬達12轉速的過高或過低,導致換相電流異常所造成的噪音或共振問題;在此要說明的是,雖然本實施例以N=8為例,但是並不限於N使用8。 Next, please refer to FIG. 3 , which is a schematic diagram of the operation of the PWM duty cycle modulation circuit of the present invention. As shown in FIG. 3, when the counter 16 calculates the magnetic field rise time difference (TR1/TR2/TR3...) or the magnetic field fall time difference (TF1/TF2/TF3...) during the change of the magnetic field of the brushless DC motor 12, The magnetic field rise time difference (TR1/TR2/TR3...) or the magnetic field fall time difference (TF1/TF2/TF3...) after the counter 16 is calculated is temporarily stored in the register 181 in the PWM duty cycle modulation circuit 18. The data temporarily stored in the temporary register 181 is delayed for one timing cycle to be read. For example, the first magnetic field rise time difference (TR1) is temporarily stored in the temporary register 181 in the PWM duty cycle modulation circuit 18. After the magnetic field phase is switched, one timing cycle is delayed, so when the counter calculates the next magnetic field rise time difference (TR2), the PWM duty cycle modulation circuit 18 starts to read the first magnetic field rise time difference (TR1). After that, the difference between the magnetic field rise time difference or the magnetic field fall time difference is divided into N segments of time (N is an integer), and each time aliquot has its corresponding duty cycle; due to magnetic field detection The Hall element 14 in the circuit 10 continuously detects the magnetic pole change of the rotor position due to The corresponding magnetic field change curve will be a continuously changing curve, so a plurality of magnetic field rise time differences or magnetic field fall time differences will be generated, and each time difference interval can be divided into N segments of time (N is an integer). Here, the first magnetic field rise time difference (TR1) read by the PWM duty cycle modulation circuit 18 is enlarged to be divided into 8 segments of time, and each time interval has its corresponding duty cycle. (duty cycle); Therefore, when the phase of the magnetic field is switched, the output modulation signal (Dr_O1/Dr_O2) is controlled according to the generated duty cycle. However, since the motor has two input terminals respectively controlling the transition of the magnetic poles of the motor coil, the output voltage can be generated by driving the load driving circuit 20 through the generated first modulation signal (Dr_O1) and the second modulation signal (Dr_O2) (V_O1/ V_O2) and the output current ( I load ), which in turn controls the commutation current of the motor 12. When the duty cycle is gradually lowered from high to low, the motor drive current can be controlled to gradually change from zero to zero, and when the duty cycle is gradually lowered from low to low, the motor drive current can be controlled from zero. Increasingly large, thereby avoiding the noise or resonance problem caused by the abnormality of the commutation current due to the excessive or too low rotation speed of the motor 12; here, although the embodiment takes N=8 as an example, It is not limited to N using 8.

再接著,請繼續參閱圖4並配合圖3,圖4係為本發明之輸出電壓與輸出電流關係圖。如圖4所示,依據不同時間差區間內所產生的工作週期(duty cycle),控制輸出的第一調變訊號(Dr_O1)與第二調變訊號(Dr_O2)驅動負載驅動電路20,藉以產生第一輸出電壓(V_O1)與第二輸出電壓(V_O2)以及一輸出電流(I load )。觀察圖3中PWM工作週期調變電路18讀取到的第一筆磁場上升時間差(TR1)所放大的區間,得知依據工作週期(duty cycle)的高低變化可以進一步控制馬達的換相電流,因此藉由工作週期(duty cycle)所控制輸出的調變訊號(Dr_O1/Dr_O2)會影響第一輸出電壓(V_O1)與第二輸出電壓(V_O2)以及輸出電流(Iload)的變化。由於工作週期(duty cycle)變化與馬達轉速成正比關係,因此調變訊號(Dr_O1/Dr_O2)與第一輸出電壓(V_O1)與第二輸出電壓(V_O2)間亦成正比關係,可使其輸出電流(I load )曲線達到線性平滑。 Next, please continue to refer to FIG. 4 and cooperate with FIG. 3. FIG. 4 is a diagram showing the relationship between the output voltage and the output current of the present invention. As shown in FIG. 4, the first modulation signal (Dr_O1) and the second modulation signal (Dr_O2) of the control output drive the load driving circuit 20 according to a duty cycle generated in different time difference intervals, thereby generating a An output voltage (V_O1) and a second output voltage (V_O2) and an output current ( I load ). Observing the interval amplified by the first magnetic field rise time difference (TR1) read by the PWM duty cycle modulation circuit 18 in FIG. 3, it is known that the commutation current of the motor can be further controlled according to the change of the duty cycle. Therefore, the modulation signal (Dr_O1/Dr_O2) controlled by the duty cycle affects the changes of the first output voltage (V_O1) and the second output voltage (V_O2) and the output current (Iload). Since the change of the duty cycle is proportional to the motor speed, the modulation signal (Dr_O1/Dr_O2) is proportional to the first output voltage (V_O1) and the second output voltage (V_O2), so that the output can be made The current ( I load ) curve is linearly smooth.

最後,請參閱圖5,係為本發明之無刷直流馬達控制方法流程圖。如圖5所示,無刷直流馬達控制方法,係包含以下步驟: Finally, please refer to FIG. 5, which is a flow chart of the brushless DC motor control method of the present invention. As shown in FIG. 5, the brushless DC motor control method includes the following steps:

步驟500:提供一無刷直流馬達; Step 500: providing a brushless DC motor;

步驟501:偵測無刷直流馬達之一轉子位置;利用一磁場偵測電路偵測無刷直流馬達之一轉子位置,並根據耦合於磁場偵測電路內之一霍爾元件,感應轉子位置之磁極變化並對應產生一磁場變化曲線,接著進入步驟502。 Step 501: Detecting a rotor position of the brushless DC motor; detecting a rotor position of the brushless DC motor by using a magnetic field detecting circuit, and sensing the position of the rotor according to a Hall element coupled to the magnetic field detecting circuit The magnetic pole changes and correspondingly produces a magnetic field change curve, and then proceeds to step 502.

步驟502:計算磁場上升時間差或磁場下降時間差;利用一上升時間計數器或一下降時間計數器依據磁場變化曲線,計算無刷直流馬達經由磁場偵測電路所產生之一磁場上升時間差或一磁場下降時間差,接著進入步驟503。 Step 502: Calculate a time difference of the rising time of the magnetic field or a time difference of the falling time of the magnetic field; calculate a magnetic field rise time difference or a magnetic field fall time difference generated by the brushless DC motor according to the magnetic field change curve by using a rising time counter or a falling time counter according to the magnetic field change curve, Then proceed to step 503.

步驟503:產生輸出調變訊號;利用PWM工作週期調變電路,將磁場上升時間差或磁場下降時間差區分成N段時間等分(N為整 數),每一段時間等分都有其相對應的工作週期(Duty cycle),並輸出一第一調變訊號(Dr_O1)與一第二調變訊號(Dr_O2),最後進入步驟504。 Step 503: Generate an output modulation signal; use a PWM duty cycle modulation circuit to divide the magnetic field rise time difference or the magnetic field fall time difference into N segments of time (N is a whole The number of times each time has its corresponding duty cycle (Duty cycle), and outputs a first modulation signal (Dr_O1) and a second modulation signal (Dr_O2), and finally proceeds to step 504.

步驟504:驅動無刷直流馬達;利用一負載驅動電路接收第一調變訊號(Dr_O1)與第二調變訊號(Dr_O2),並產生一第一輸出電壓(V_O1)與一第二輸出電壓(V_O2)以及一輸出電流(I load ),用以驅動無刷直流馬達。 Step 504: Driving a brushless DC motor; receiving a first modulation signal (Dr_O1) and a second modulation signal (Dr_O2) by using a load driving circuit, and generating a first output voltage (V_O1) and a second output voltage ( V_O2) and an output current ( I load ) for driving the brushless DC motor.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

10‧‧‧磁場偵測電路 10‧‧‧Magnetic field detection circuit

12‧‧‧無刷直流馬達 12‧‧‧Brushless DC Motor

14‧‧‧霍爾元件 14‧‧‧ Hall element

16‧‧‧計數器 16‧‧‧ counter

18‧‧‧PWM工作週期調變電路 18‧‧‧PWM duty cycle modulation circuit

20‧‧‧負載驅動電路 20‧‧‧Load drive circuit

161‧‧‧上升時間計數器 161‧‧‧Rise time counter

162‧‧‧下降時間計數器 162‧‧‧Drop time counter

181‧‧‧暫存器 181‧‧‧ register

500、501、502、503、504‧‧‧步驟 500, 501, 502, 503, 504 ‧ ‧ steps

圖1 係為本發明之無刷直流馬達控制裝置方塊圖;圖2 係為本發明之磁場變化曲線圖;圖3 係為本發明之PWM工作週期調變電路動作示意圖;圖4 係為本發明之輸出電壓與輸出電流關係圖;圖5 係為本發明之無刷直流馬達控制方法流程圖。 1 is a block diagram of a brushless DC motor control device of the present invention; FIG. 2 is a magnetic field change graph of the present invention; FIG. 3 is a schematic diagram of the operation of the PWM duty cycle modulation circuit of the present invention; The relationship between the output voltage and the output current of the invention; FIG. 5 is a flow chart of the control method of the brushless DC motor of the present invention.

10‧‧‧磁場偵測電路 10‧‧‧Magnetic field detection circuit

12‧‧‧無刷直流馬達 12‧‧‧Brushless DC Motor

14‧‧‧霍爾元件 14‧‧‧ Hall element

16‧‧‧計數器 16‧‧‧ counter

18‧‧‧PWM工作週期調變電路 18‧‧‧PWM duty cycle modulation circuit

20‧‧‧負載驅動電路 20‧‧‧Load drive circuit

161‧‧‧上升時間計數器 161‧‧‧Rise time counter

162‧‧‧下降時間計數器 162‧‧‧Drop time counter

181‧‧‧暫存器 181‧‧‧ register

Claims (6)

一種無刷直流馬達控制裝置,是與一無刷直流馬達連接,包括:一磁場偵測電路,係用以偵測該無刷直流馬達之一轉子位置;一霍爾元件,耦合於該磁場偵測電路內,係用以感應該轉子位置之磁極變化並對應產生一磁場變化曲線,其中該磁場變化曲線包含一最大磁通密度(Bmax)、一正遲滯磁通密度(BH+)、一零磁通密度(B0)、一負遲滯磁通密度(BH-)以及一最小磁通密度(Bmin);一計數器,與該磁場偵測電路連接,其具有一上升時間計數器與一下降時間計數器,依據該磁場變化曲線計算該無刷直流馬達經由該磁場偵測電路所產生之一磁場上升時間差及一磁場下降時間差,其中該磁場上升時間差係從該最小磁通密度(Bmin)至該最大磁通密度(Bmax)期間,經由該上升時間計數器計算出該負遲滯磁通密度(BH-)遞增至該正遲滯磁通密度(BH+)之區間,而該磁場下降時間差係從該最大磁通密度(Bmax)至該最小磁通密度(Bmin)期間,經由該下降時間計數器計算出該正遲滯磁通密度(BH+)遞減至該負遲滯磁通密度(BH-)之區間;一PWM工作週期調變電路,其一端與該計數器連接,係用以將該磁場上升時間差或該磁場下降時間差區分成N段時間等分(N為整數),每一該時間等分都有其相對應的工作週期,其另一端輸出一第一調變訊號與一第二調變訊號;以及一負載驅動電路,其輸入端接收該第一調變訊號與該第二調變訊號,藉以產生一第一輸出電壓與一第二輸出電壓以及一輸出電流,用以驅動該無刷直流馬達。 A brushless DC motor control device is connected to a brushless DC motor, comprising: a magnetic field detecting circuit for detecting a rotor position of the brushless DC motor; and a Hall element coupled to the magnetic field detecting The measuring circuit is configured to sense a magnetic pole change of the rotor position and correspondingly generate a magnetic field change curve, wherein the magnetic field change curve includes a maximum magnetic flux density (B max ), a positive hysteresis magnetic flux density (B H+ ), and a a zero magnetic flux density (B 0 ), a negative hysteresis magnetic flux density (B H- ), and a minimum magnetic flux density (B min ); a counter coupled to the magnetic field detecting circuit, having a rise time counter and a a falling time counter, wherein the magnetic field rise time difference and a magnetic field fall time difference generated by the brushless DC motor are calculated according to the magnetic field change curve, wherein the magnetic field rise time difference is from the minimum magnetic flux density (B min ) during this magnetic flux density to a maximum (B max), the rise time counter calculated by the retardation of the negative magnetic flux density (B H-) hysteresis increment to the positive magnetic flux density (B H +) of the section, and in this field During the time difference from the maximum magnetic flux density lines (B max) to the minimum magnetic flux density (B min), the positive hysteresis is calculated magnetic flux density (B H +) down to the negative hysteresis magnetic flux density through the fall time counter ( a section of B H- ); a PWM duty cycle modulation circuit, one end of which is connected to the counter, is used to divide the magnetic field rise time difference or the magnetic field fall time difference into N segments of time (N is an integer), each One time aliquot has its corresponding duty cycle, the other end outputs a first modulation signal and a second modulation signal; and a load driving circuit, the input end of which receives the first modulation signal and the The second modulation signal generates a first output voltage and a second output voltage and an output current for driving the brushless DC motor. 根據申請專利範圍第1項所述之無刷直流馬達控制裝置,其中該PWM工作週期調變電路會回授一上升訊號或一下降訊號至該計數器,通知該計數器計算該磁場偵測電路所產生之該磁場上升時間差或該磁場下降時間差。 The brushless DC motor control device according to claim 1, wherein the PWM duty cycle modulation circuit returns a rising signal or a falling signal to the counter to notify the counter to calculate the magnetic field detecting circuit. The difference in the rise time of the magnetic field or the time difference in the fall of the magnetic field. 根據申請專利範圍第1項所述之無刷直流馬達控制裝置,其中該PWM工作週期調變電路進一步包含一暫存器,係用以暫存該磁場上升時間差或該磁場下降時間差。 The brushless DC motor control device of claim 1, wherein the PWM duty cycle modulation circuit further comprises a register for temporarily storing the magnetic field rise time difference or the magnetic field fall time difference. 一種無刷直流馬達控制方法,包括:提供一無刷直流馬達;偵測該無刷直流馬達之一轉子位置,係利用一磁場偵測電路偵測該無刷直流馬達之該轉子位置,並根據耦合於該磁場偵測電路內之一霍爾元件,感應該轉子位置之磁極變化並對應產生一磁場變化曲線,其中該磁場變化曲線包含一最大磁通密度(Bmax)、一正遲滯磁通密度(BH+)、一零磁通密度(B0)、一負遲滯磁通密度(BH-)以及一最小磁通密度(Bmin);計算磁場上升時間差或磁場下降時間差,係利用一上升時間計數器或一下降時間計數器依據該磁場變化曲線,計算該無刷直流馬達經由該磁場偵測電路所產生之該磁場上升時間差或該磁場下降時間差,其中該磁場上升時間差係從該最小磁通密度(Bmin)至該最大磁通密度(Bmax)期間,經由該上升時間計數器計算出該負遲滯磁通密度(BH-)遞增至該正遲滯磁通密度(BH+)之區間,而該磁場下降時間差係從該最大磁通密度(Bmax)至該最小磁通密度(Bmin)期間,經由該下降時間計數器計算出該正遲滯磁通密度(BH+)遞減至該負遲滯磁通密度(BH-)之區間;產生輸出調變訊號,係利用PWM工作週期調變電路,將該磁場上升時間差或該磁場下降時間差區分成N段時間等分(N為整數),每一段時間等分都有其相對應的工作週期,並輸出一第一調變訊號與一第二調變訊號;以及驅動該無刷直流馬達,係利用一負載驅動電路接收該第一調變訊號與該第二調變訊號,並產生一第一輸出電壓與一第二輸出電壓以及一輸出電流,用以驅動該無刷直流馬達。 A brushless DC motor control method includes: providing a brushless DC motor; detecting a rotor position of the brushless DC motor, detecting a position of the rotor of the brushless DC motor by using a magnetic field detecting circuit, and a Hall element coupled to the magnetic field detecting circuit, sensing a magnetic pole change of the rotor position and correspondingly generating a magnetic field change curve, wherein the magnetic field change curve includes a maximum magnetic flux density (B max ) and a positive hysteresis magnetic flux Density (B H+ ), a zero flux density (B 0 ), a negative hysteresis flux density (B H- ), and a minimum flux density (B min ); calculating the time difference of the magnetic field rise or the time difference of the magnetic field drop, using a The rise time counter or a fall time counter calculates the magnetic field rise time difference or the magnetic field fall time difference generated by the brushless DC motor via the magnetic field change curve, wherein the magnetic field rise time difference is from the minimum magnetic flux density (B min) to maximum magnetic flux density during the (B max), the rise time is calculated via the hysteresis counter the negative magnetic flux density (B H-) to the positive hysteresis increment Flux density (B H +) of the section, and the magnetic field lines fall time difference from the maximum magnetic flux density (B max) to a minimum during which the magnetic flux density (B min), is calculated via the fall time of the positive hysteresis counter magnetic flux density (B H+ ) is decremented to the interval of the negative hysteresis magnetic flux density (B H- ); the output modulation signal is generated by using the PWM duty cycle modulation circuit to divide the magnetic field rise time difference or the magnetic field fall time difference into N segments Time equalization (N is an integer), each time period has its corresponding duty cycle, and outputs a first modulation signal and a second modulation signal; and driving the brushless DC motor, using one The load driving circuit receives the first modulation signal and the second modulation signal, and generates a first output voltage and a second output voltage and an output current for driving the brushless DC motor. 根據申請專利範圍第11項所述之無刷直流馬達控制方法,其中該PWM 工作週期調變電路會回授一上升訊號或一下降訊號至該計數器,通知該計數器計算該磁場偵測電路所產生之該磁場上升時間差或該磁場下降時間差。 A brushless DC motor control method according to claim 11, wherein the PWM The duty cycle modulation circuit feedbacks a rising signal or a falling signal to the counter, and notifies the counter to calculate the magnetic field rise time difference generated by the magnetic field detecting circuit or the magnetic field falling time difference. 根據申請專利範圍第11項所述之無刷直流馬達控制方法,其中該PWM工作週期調變電路進一步包含一暫存器,係用以暫存該磁場上升時間差或該磁場下降時間差。 The brushless DC motor control method according to claim 11, wherein the PWM duty cycle modulation circuit further comprises a register for temporarily storing the magnetic field rise time difference or the magnetic field fall time difference.
TW101130246A 2012-08-21 2012-08-21 Brushless dc motor control device and method TWI463787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101130246A TWI463787B (en) 2012-08-21 2012-08-21 Brushless dc motor control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101130246A TWI463787B (en) 2012-08-21 2012-08-21 Brushless dc motor control device and method

Publications (2)

Publication Number Publication Date
TW201409928A TW201409928A (en) 2014-03-01
TWI463787B true TWI463787B (en) 2014-12-01

Family

ID=50820537

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101130246A TWI463787B (en) 2012-08-21 2012-08-21 Brushless dc motor control device and method

Country Status (1)

Country Link
TW (1) TWI463787B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141198B (en) * 2015-09-22 2018-02-23 上海晶丰明源半导体股份有限公司 Brshless DC motor hall signal sync waveform control circuit and control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200830694A (en) * 2007-01-08 2008-07-16 Sentelic Corp Method and apparatus of controlling DC brushless motor
TW200847614A (en) * 2007-05-31 2008-12-01 Ampson Technology Inc Constant current and constant voltage driving circuit of low acoustic noise and speed controllable DCBL fan motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200830694A (en) * 2007-01-08 2008-07-16 Sentelic Corp Method and apparatus of controlling DC brushless motor
TW200847614A (en) * 2007-05-31 2008-12-01 Ampson Technology Inc Constant current and constant voltage driving circuit of low acoustic noise and speed controllable DCBL fan motor

Also Published As

Publication number Publication date
TW201409928A (en) 2014-03-01

Similar Documents

Publication Publication Date Title
JP4113275B2 (en) PWM control of motor driver
JP6081734B2 (en) Semiconductor device, electronic device, and control signal generation method
SG126054A1 (en) Low noise back emf sensing brushless dc motor
JP5636990B2 (en) Inverter device
CN101232266A (en) Apparatus and method for controlling direct current brushless motor
CN107979307B (en) Collective motor drive control of brushless DC motor
JP3325997B2 (en) Motor control device and control method
JP6603959B2 (en) Multiphase brushless DC motor and driving method thereof
US20130069580A1 (en) Pwm signal output circuit
JP2017085799A (en) Motor drive device and motor system
EP3399640B1 (en) Motor control device and method for controlling motor control device
JP2009077503A (en) Motor controller and controller for air conditioner
US9777738B2 (en) Anti-air-return system and method of fan
TWI463787B (en) Brushless dc motor control device and method
TWI384748B (en) Driving method and related driving device for a motor
TWI609568B (en) System and method of controlling a motor
JP2012157135A (en) Control device for motor
TWI491169B (en) Modularized control circuit with signal-capturing function for fan motor and method for controlling the same
US8853985B2 (en) Back-EMF detection for motor control
Shanmugasundram et al. Low-cost high performance brushless dc motor drive for speed control applications
KR101133863B1 (en) Current control method for high speed switched reluctance motor
Iepure et al. Novel motion sensorless control of single phase brushless DC PM motor drive, with experiments
JP2015047022A (en) Inverter device
TW201720046A (en) System and way for No sensor Three-phase motor
CN103633900B (en) Brushless DC motor control device and method