TWI581559B - System and wary for one hall sensor operation - Google Patents

System and wary for one hall sensor operation Download PDF

Info

Publication number
TWI581559B
TWI581559B TW104115283A TW104115283A TWI581559B TW I581559 B TWI581559 B TW I581559B TW 104115283 A TW104115283 A TW 104115283A TW 104115283 A TW104115283 A TW 104115283A TW I581559 B TWI581559 B TW I581559B
Authority
TW
Taiwan
Prior art keywords
hall
message
hall sensor
processing unit
pulse width
Prior art date
Application number
TW104115283A
Other languages
Chinese (zh)
Other versions
TW201640809A (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 祥誠科技股份有限公司
Priority to TW104115283A priority Critical patent/TWI581559B/en
Priority to CN201510533349.6A priority patent/CN106169892B/en
Publication of TW201640809A publication Critical patent/TW201640809A/en
Application granted granted Critical
Publication of TWI581559B publication Critical patent/TWI581559B/en

Links

Landscapes

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

Description

具有一個霍爾感測器運轉的系統及其方法 System with a Hall sensor operation and method thereof

本發明是有關於一種霍爾感測器運轉的系統,特別是指一種具有一個霍爾感測器運轉的系統。 The present invention relates to a system in which a Hall sensor operates, and more particularly to a system having a Hall sensor operating.

馬達是目前工業應用上最普遍的動力來源,以驅動各類的工具機組,而馬達可分為直流馬達與交流馬達。交流馬達主要分為感應馬達(Induction Motor,簡稱IM)和無刷直流馬達(Brushless DC Motor,簡稱BLDC),其中以無刷直流馬達的使用最多,因為它具備了構造簡單、價廉,響應快、轉矩大,可連續頻繁的進行起動、停止、制動、逆轉之特點,故已成為自動化的重要設備之一。 The motor is currently the most common source of power for industrial applications to drive a variety of tool sets, and motors can be divided into DC motors and AC motors. The AC motor is mainly divided into an induction motor (Induction Motor, IM for short) and a brushless DC motor (BLDC), among which the brushless DC motor is used most because it has a simple structure, low cost, and fast response. The torque is large, and the characteristics of starting, stopping, braking and reversing can be continuously and frequently performed, so it has become one of the important equipments for automation.

使用霍爾感測器(hall sensor)來感應出直流無刷馬達(BLDC)之轉子位置訊號,分別為Hall_U、Hall_V、及Hall_W的訊號,其霍爾感測器無論是安裝在定子或印刷電路板上時,所感應出的起始角度分別為0度、120度、240度,各相差120度。直流無刷馬達中3個霍爾感測器感應出的訊號如圖1所示。 The Hall sensor is used to sense the rotor position signal of the DC brushless motor (BLDC), which are the signals of Hall_U, Hall_V, and Hall_W, respectively. The Hall sensor is mounted on the stator or printed circuit. On the board, the starting angles induced are 0 degrees, 120 degrees, and 240 degrees, respectively, with a difference of 120 degrees. The signals induced by the three Hall sensors in the DC brushless motor are shown in Figure 1.

因Hall_U、Hall_V、及Hall_W訊號分別相差120度,由圖1所示,在理想上及定轉速時,此3個訊號會將360度電器角平均分為等長度的6個各佔60度的相位區域,在這六個相位區域的轉換點可明確知道目前轉子所在的角度位置。故要驅動一個帶三個霍爾感測器的之直流 無刷馬達(BLDC),可用一處理單元來偵測三個霍爾訊號,計算目前轉子所在相位區域的60度角的寬度,並於換相時做為換相後相位區域內的每個轉子轉動一個角度時,所要輸出轉速命令(PWM)之位置的參考,繼而開關後級的驅動單元20而得到驅動轉子運轉到下一角度所需的電壓。而且,六個相區域順序固定,故以此方式驅動直流無刷馬達時,於啟動時不會有先反轉再正轉(或先正轉再反轉)之情形發生。請參考圖2,為習知之帶霍爾感測器之直流無刷馬達的控制架構。 Since the Hall_U, Hall_V, and Hall_W signals differ by 120 degrees, respectively, as shown in Figure 1, at ideal and fixed speeds, the three signals divide the 360-degree electrical angle into six equal-length 60-degree each. In the phase region, the transition point of the six phase regions clearly knows the angular position at which the rotor is currently located. Therefore, it is necessary to drive a DC with three Hall sensors. Brushless motor (BLDC), a processing unit can be used to detect three Hall signals, calculate the width of the 60 degree angle of the current phase region of the rotor, and use each rotor in the phase region after commutation in the phase change. When turning an angle, a reference to the position of the rotational speed command (PWM) is output, and then the drive unit 20 of the subsequent stage is switched to obtain the voltage required to drive the rotor to the next angle. Moreover, the six phase regions are sequentially fixed, so when the DC brushless motor is driven in this manner, there is no case where the inverter is reversed and then forwarded (or forwarded and then reversed) at the time of starting. Please refer to FIG. 2, which is a control structure of a conventional DC brushless motor with a Hall sensor.

理論上,在沒有任何無誤差的情況下,三個霍爾感測器感應出的訊號所區分出的六個相位區域會等長,在此情況下可準確的估測出要驅使轉子轉向下個角度時所需的電壓,亦即可利用處理單元10產生完美的正弦波來驅動直流無刷馬達。 In theory, the six phase regions distinguished by the signals induced by the three Hall sensors will be equal in length without any error. In this case, it can be accurately estimated that the rotor should be driven down. The voltage required at an angle can also be used to generate a perfect sine wave by the processing unit 10 to drive the DC brushless motor.

但由於霍爾感測器的安裝公差、馬達組裝的公差、轉子永久磁鐵的充磁誤差、超溫、轉子加減速及永磁老化(操作時間)等因素,使得處理單元10偵測的霍爾元件的電壓產生誤差。 However, due to the mounting tolerance of the Hall sensor, the tolerance of the motor assembly, the magnetization error of the permanent magnet of the rotor, the over temperature, the rotor acceleration and deceleration, and the permanent magnet aging (operation time), the Hall detected by the processing unit 10 is caused. The voltage of the component produces an error.

接著,請參考圖3,假設霍爾感測器的V有安裝公差,導致Hall_V訊號與Hall_V訊號相差115度,而不是120度,由於第5區60度的長度比第四區60度角的實際範圍要長,但是因為把他當成預測的第四區60度角的範圍,故在第四區實際運轉時,會遇到此區的還沒有驅動完整的60度角前,就會遇到實際的換相而必須進行強制換相的情況。 Next, please refer to FIG. 3, assuming that the Hall sensor has a mounting tolerance of V, which causes the Hall_V signal to differ from the Hall_V signal by 115 degrees instead of 120 degrees, since the length of the fifth zone is 60 degrees and the length of the fourth zone is 60 degrees. The actual range is long, but because he is regarded as the predicted range of the 60 degree angle of the fourth zone, when the actual operation of the fourth zone is encountered, the zone will not be driven before the full 60 degree angle is reached. In the case of actual commutation, forced commutation must be performed.

相同情形,若前一區60度角的長度比下一區60度的實際範圍要短,則會遇到實際運轉時,此區的已經驅動完完整的60度角後卻還沒換相的情形,而在驅動完60度角後及實際換相前必須維持最後一個角度所驅動的電 壓,造成驅動電壓有維持最後一個角度之電壓情況。 In the same situation, if the length of the 60 degree angle of the previous zone is shorter than the actual range of 60 degrees of the next zone, it will encounter the actual operation. The zone has already driven the complete 60 degree angle but has not yet commutated. In the case, the electric power driven by the last angle must be maintained after the 60 degree angle is driven and before the actual commutation. The voltage causes the drive voltage to maintain the voltage at the last angle.

故實際上,若以前一區域的60度角寬度作為下個區域轉子轉動60度角寬度,來預測此區推動轉子轉動角度的參考的話,會因為上述種種因素所造成的前後區域60度角寬度並不會一樣,而必須造成強制換相,或維持驅動電壓一段時間,直到換相的狀況,這種情況下很容易造成所驅動直流無刷馬達之正弦波或二次諧波有缺角的情況,而使直流無刷馬達在運轉時產生較大的震動或噪音。 Therefore, in fact, if the 60-degree angular width of the previous region is used as the angle rotation of the rotor in the next region by 60 degrees to predict the rotation angle of the rotor in this region, the front and rear regions will have an angular width of 60 degrees due to the above various factors. It will not be the same, but must cause forced commutation, or maintain the driving voltage for a period of time until the state of the commutation, in this case, it is easy to cause the sine wave or the second harmonic of the driven DC brushless motor to have a missing angle. In this case, the DC brushless motor generates large vibration or noise during operation.

為了改善上述的問題,有必要提出一種新的方式,來降低直流無刷馬達運轉時產生震動或噪音的問題。 In order to improve the above problems, it is necessary to propose a new way to reduce the problem of vibration or noise generated when the brushless DC motor is running.

因此,本發明之目的,即在提供一種具有一個霍爾感測器運轉的系統,包含:一馬達單元,具有一定子與一轉子;至少二霍爾感測器,設置在該馬達單元上,每個該霍爾感測器感應該馬達單元之該轉子的磁場而感應到一霍爾電壓;一處理單元,該處理單元依據至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,該處理單元依據該啟動位置訊息進行計算而輸出啟動的一連續脈波寬度調變波;一驅動單元,連接該處理單元,接收該連續脈波寬度調變波而產生一驅動訊號;及一馬達單元,連接該驅動單元,接收該驅動訊號而使該馬達單元作動;其中,該馬達運轉時,該處理單元依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,該處理單元依據該運轉訊息進行計算而輸出下次運轉的該連續脈波寬度調變波。 Accordingly, it is an object of the present invention to provide a system having a Hall sensor operation comprising: a motor unit having a stator and a rotor; at least two Hall sensors disposed on the motor unit, Each of the Hall sensors senses a magnetic field of the rotor of the motor unit to sense a Hall voltage; and a processing unit that obtains a start according to at least two Hall voltages of the Hall sensor Positioning information, the processing unit is configured to output a continuous pulse width modulated wave according to the start position message; a driving unit is connected to the processing unit, and receives the continuous pulse width modulated wave to generate a driving signal; And a motor unit connected to the driving unit to receive the driving signal to activate the motor unit; wherein, when the motor is running, the processing unit obtains an operation message according to the Hall voltage of the Hall sensor. The processing unit calculates the continuous pulse width modulated wave for the next operation based on the operation information.

因此,本發明之另一目的,即在提供一種具有一個霍爾感測器運轉的方法,應用於一馬達單元與一驅動單元,其包含:提供至少二霍爾感測器,設置在該馬達單元上;提供一處理單元;該處理單元依據至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,該處理單元依 據該啟動位置訊息進行計算而輸出啟動的連續脈波寬度調變波;該驅動單元接收啟動的連續脈波寬度調變波而產生一啟動驅動訊號;該馬達單元接收接該啟動驅動訊號而使該馬達單元進行啟動;該處理單元依一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,該處理單元依據該運轉訊息進行計算並預估下次運轉的連續脈波寬度調變波;該驅動單元接收下次運轉的該連續脈波寬度調變波而產生一運轉驅動訊號;及該馬達單元接收接該運轉驅動訊號而使該馬達單元進行運轉。 Therefore, another object of the present invention is to provide a method for operating a Hall sensor applied to a motor unit and a driving unit, comprising: providing at least two Hall sensors disposed on the motor Providing a processing unit; the processing unit obtaining a start position message according to the Hall voltage of at least two of the Hall sensors, the processing unit And outputting the activated continuous pulse width modulated wave according to the start position message; the driving unit receives the activated continuous pulse width modulated wave to generate a start driving signal; and the motor unit receives the start driving signal The motor unit is activated; the processing unit obtains an operation message according to the Hall voltage of the Hall sensor, and the processing unit calculates and predicts the continuous pulse width modulation of the next operation according to the operation message. The driving unit receives the continuous pulse width modulation wave of the next operation to generate an operation driving signal; and the motor unit receives the operation driving signal to operate the motor unit.

本發明的功效是提出利用二個以上的霍爾感測器做為馬達的啟動,並再利用一個霍爾感測器做為運轉的偵測,藉以避免因安裝公差、馬達組裝的公差、轉子永久磁鐵的充磁誤差、超溫、轉子加減速及永磁老化(操作時間)等現象所造成驅動馬達的相電壓波型非為正弦波,進而造成馬達的運轉發生震動或噪音的問題。所以本發明於馬達單元運轉時,只利用一個霍爾感測器方式,讓輸出至馬達的相電壓可以近似正弦波,而本發明所達成的功效,就是改善直流無刷馬達運轉時產生震動或噪音的問題。 The function of the present invention is to use two or more Hall sensors as the starting of the motor, and then use a Hall sensor as the running detection to avoid tolerances due to installation tolerances, motor assembly, and the rotor. The magnetization error of the permanent magnet, over temperature, rotor acceleration and deceleration, and permanent magnet aging (operation time) cause the phase voltage waveform of the drive motor to be non-sinusoidal, which causes vibration or noise in the operation of the motor. Therefore, when the motor unit is in operation, only one Hall sensor method is used, so that the phase voltage output to the motor can be approximated by a sine wave, and the effect achieved by the present invention is to improve the vibration of the DC brushless motor during operation or The problem of noise.

〔習知〕 [study]

10‧‧‧處理單元 10‧‧‧Processing unit

20‧‧‧驅動單元 20‧‧‧Drive unit

40‧‧‧馬達單元 40‧‧‧Motor unit

〔本發明〕 〔this invention〕

11‧‧‧啟動位置偵測器 11‧‧‧Start position detector

12‧‧‧運轉位置偵測器 12‧‧‧Operation position detector

13‧‧‧計數器 13‧‧‧ counter

14‧‧‧計算器 14‧‧‧Calculator

10‧‧‧處理單元 10‧‧‧Processing unit

圖1是習知三個霍爾元件運轉區間示意圖;圖2是習知直流無刷馬達利用三個霍爾元件運轉之系統示意圖;圖3是習知直流無刷馬達利用三個霍爾元件運轉之系統趨動示意圖;圖4是本發明直流無刷馬達系統示意圖;圖5是本發明之處理單元示意圖;圖6是本發明之直流無刷馬達利用一個霍爾元件運轉之系統趨動示意圖;及 圖7是本發明之直流無刷馬達利用一個霍爾元件運轉的流程圖。 1 is a schematic view of a conventional operation of three Hall elements; FIG. 2 is a schematic diagram of a conventional DC brushless motor operating with three Hall elements; and FIG. 3 is a conventional DC brushless motor operating with three Hall elements. FIG. 4 is a schematic diagram of a DC brushless motor system of the present invention; FIG. 5 is a schematic diagram of a processing unit of the present invention; FIG. 6 is a schematic diagram of a system of the DC brushless motor of the present invention operating with a Hall element; and Figure 7 is a flow chart showing the operation of the DC brushless motor of the present invention using a Hall element.

有關本發明之相關申請專利特色與技術內容,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。 The details of the related patents and the technical contents of the present invention will be apparent from the following detailed description of a preferred embodiment of the drawings.

參閱圖4,本發明之一較佳實施例,一種具有一個霍爾感測器運轉的系統,包含:一馬達單元40,具有一定子與一轉子;至少二霍爾感測器,設置在該馬達單元40上,每個該霍爾感測器感應該馬達單元40之該轉子的磁場而感應到一霍爾電壓;一處理單元10,該處理單元10依據至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,該處理單元10依據該啟動位置訊息進行計算而輸出啟動的一連續脈波寬度調變波;一驅動單元20,連接該處理單元10,接收該連續脈波寬度調變波而產生一驅動訊號;及一馬達單元40,連接該驅動單元20,接收該驅動訊號而使該馬達單元40作動;其中,該馬達單元40於運轉狀態時,該處理單元10依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,該處理單元10依據該運轉訊息進行計算而預估下次運轉的該連續脈波寬度調變波。 Referring to FIG. 4, a preferred embodiment of the present invention, a system having a Hall sensor operation, comprising: a motor unit 40 having a stator and a rotor; at least two Hall sensors disposed at the On the motor unit 40, each of the Hall sensors senses a magnetic field of the rotor of the motor unit 40 to sense a Hall voltage; a processing unit 10, the processing unit 10 according to at least two of the Hall sensors The gate voltage is used to obtain a start position message, and the processing unit 10 outputs a continuous pulse width modulated wave according to the start position information; a driving unit 20 is connected to the processing unit 10 to receive the continuous pulse. The wave width modulation wave generates a driving signal; and a motor unit 40 is connected to the driving unit 20 to receive the driving signal to activate the motor unit 40. When the motor unit 40 is in an operating state, the processing unit 10 An operation message is obtained according to the Hall voltage of the Hall sensor, and the processing unit 10 calculates the continuous pulse width modulation wave for the next operation according to the operation information.

其中,至少二霍爾感測器可以設置在馬達單元40的定子上,又或者馬達單元40上的PCB板子上。其中,該連續脈波寬度調變波代表有複數個脈波寬度調變波,該些脈波寬度調變波責任週期寬度由0度到100度是逐次遞增。 Wherein, at least two Hall sensors may be disposed on the stator of the motor unit 40 or on the PCB board on the motor unit 40. Wherein, the continuous pulse width modulated wave represents a plurality of pulse width modulated waves, and the pulse width modulated wave duty cycle width is incremented from 0 degrees to 100 degrees.

其中,該啟動位置訊息代表馬達單元的轉子的的位置。一般而言,馬達的線圈有三相繞組,該處理單元10得知轉子的位置後,處理單元10將得知三相中之其中之一相要來進行通電,所以啟動的一連續脈波寬度調變波 亦即是代表三相的那一相繞組要進行通電。 The start position message represents the position of the rotor of the motor unit. Generally, the coil of the motor has a three-phase winding. After the processing unit 10 knows the position of the rotor, the processing unit 10 knows that one of the three phases is required to be energized, so a continuous pulse width modulation is started. Change wave That is, the phase winding representing the three phases is energized.

其中,該處理單元10依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息係為該轉子磁極所對應的該霍爾感測器。 The processing unit 10 obtains an operation message according to the Hall voltage of the Hall sensor as the Hall sensor corresponding to the rotor magnetic pole.

參閱圖5,其中,該處理單元10包含:一啟動位置偵測器11,連接至少二該霍爾感測器,依據至少二該霍爾感測器之該霍爾電壓而得到該啟動位置訊息;一運轉位置偵測器12,連接該霍爾感測器,依據該霍爾感測器之該霍爾電壓而得到該運轉位置訊息;一計數器13,連接該運轉位置偵測器12,接收該運轉位置訊息並進行計數而產生一運轉訊號週期長度訊息;及一計算器14,分別連接該啟動位置偵測器11與該計數器13,接收該啟動位置訊息並進行計算而得到啟動的該連續脈波寬度調變波,於該馬達單元40於運轉狀態時,該計算器14再接收該運轉訊號週期長度訊息而預估下次運轉的該連續脈波寬度調變波。 Referring to FIG. 5, the processing unit 10 includes: a start position detector 11 connected to at least two Hall sensors, and the start position information is obtained according to at least two Hall voltages of the Hall sensor. a running position detector 12 is connected to the Hall sensor, and the operating position information is obtained according to the Hall voltage of the Hall sensor; a counter 13 is connected to the operating position detector 12 to receive The operation position message is counted to generate an operation signal period length message; and a calculator 14 is connected to the activation position detector 11 and the counter 13, respectively, and receives the startup position information and performs calculation to obtain the continuous sequence. The pulse width is modulated, and when the motor unit 40 is in the running state, the calculator 14 receives the running signal cycle length message to estimate the continuous pulse width modulated wave for the next operation.

其中,運轉訊號週期長度訊息係代表電器角360度訊息。其中,計數器13可以利用正反器或計時器來進行訊息計數,一般而言,如採用微控制器,則可利用計時器。 The running signal period length message represents a 360 degree message of the appliance angle. The counter 13 can use a flip-flop or a timer to count the message. Generally, if a microcontroller is used, a timer can be utilized.

其中,該啟動位置訊息係依據二個該霍爾感測器之該霍爾電壓所得到的四個區間訊息、這四個區間訊息的編碼為00、01、10、11。所以以馬達單元40轉一圈360度電氣角來說,編碼隱含的訊息代表可偵測4個90度的訊息。 The start position message is based on the four interval information obtained by the Hall voltages of the two Hall sensors, and the codes of the four interval messages are 00, 01, 10, and 11. Therefore, in the case of the motor unit 40 rotating 360 degrees electrical angle, the code implied message represents that it can detect four 90 degree messages.

該啟動位置訊息係依據三個該霍爾感測器之該霍爾電壓所得到的六個區間訊息,這六個區間訊息的編碼為000、001、010、011、100、101、110。所以以馬達單元40轉一圈360度電氣角來說,編碼隱含的訊息代表可偵測6個60度的訊息,處理單元10偵測6個60度的訊息, 就能得到馬達實際的位置來啟動馬達,就比較不會容易發生馬達啟動時發生正轉又反轉,或反轉變成正轉的現象,而使得馬達帶動的機械發生啟動時故障。 The start position message is based on the six interval messages obtained by the Hall voltages of the three Hall sensors, and the codes of the six interval messages are 000, 001, 010, 011, 100, 101, 110. Therefore, in the case that the motor unit 40 makes a 360-degree electrical angle, the encoded implicit message represents that six 60-degree messages can be detected, and the processing unit 10 detects six 60-degree messages. It is possible to obtain the actual position of the motor to start the motor, and it is less prone to the occurrence of a forward rotation and a reverse rotation when the motor is started, or a phenomenon in which the reverse rotation becomes a forward rotation, and the motor-driven machine is malfunctioning at the start.

其中,該運轉訊息係依據一個該霍爾感測器之該霍爾電壓所得到的二個區間訊息,這二個區間訊息隱含二個180度的訊息,共代表360度電氣角的訊息。處理單元10偵測2個180度電氣角的訊息,藉以預估馬達的運轉週期,就能夠在馬達運轉時,平穩的驅動馬達,以防止馬達運轉時發生震動,或產生噪音的現象。本發明的處理單元10可只偵測1個霍爾感測器的區間訊息180度電氣角預估馬達的運轉週期。 The operation message is based on two interval information obtained by the Hall voltage of the Hall sensor. The two interval messages imply two 180-degree messages, which collectively represent a 360-degree electrical angle message. The processing unit 10 detects two 180-degree electrical angle information, thereby estimating the operating cycle of the motor, and can smoothly drive the motor during the operation of the motor to prevent vibration or noise during motor operation. The processing unit 10 of the present invention can detect only the interval information of a Hall sensor 180 degree electrical angle estimation motor.

請參考圖6,在轉子旋轉順序正確後,開始計算一個霍爾訊號之週期寬度為360度角的長度,當霍爾訊號切換到下個週期時,以此長度做為下個360度角的長度之預測值,亦即,只在霍爾訊號週期轉換的地方才帶入下一個360度角的預測長度,如此一來,強制換相或是維持電壓為到換相的情況只會出現在一個週期的轉換處,而不會每60度角就出現一次,以改善驅動運轉時的震動及噪音。 Referring to FIG. 6, after the rotation order of the rotor is correct, the length of the period of a Hall signal is calculated to be a 360-degree angle. When the Hall signal is switched to the next cycle, the length is used as the next 360-degree angle. The predicted value of the length, that is, the predicted length of the next 360-degree angle is only brought in the place where the Hall signal is periodically converted. Thus, the forced commutation or the sustain voltage to the commutation only occurs in the case of the commutation. A cycle of transitions does not occur every 60 degrees to improve vibration and noise during drive operation.

唯上述的說明雖只有單相輸出,若運用於多相直流無刷馬達,亦是相同的運作方式。 Only the above description has only a single-phase output. If it is applied to a multi-phase DC brushless motor, it is the same operation mode.

由上述2或3霍爾感測器啟動,1個霍爾感測器運轉的驅動方式得知: Starting from the above 2 or 3 Hall sensor, the driving method of one Hall sensor operation is known:

(1)在啟動時,因已知啟動運轉順序,故啟動不會發生正轉再反轉或反轉再正轉的現象。 (1) At the time of starting, since the start-up operation sequence is known, the start-up does not occur, and the phenomenon of forward rotation, reverse rotation, and reverse rotation is not performed.

(2)馬達運轉時,因預測換相點只有一處,發生強制換相或維持電壓的地方最多只有一點,故發生馬達震動較小。若所預估的霍爾週期訊號長度比實際長,則出現強制換相的情況。若所預測的霍爾週期訊號長度比實際 短,則會出現維持電壓轉為到換相的情況。由圖6可知,可以明顯的看到驅動波形只有在霍爾訊號轉換處會有缺角,其它的時間則是平滑的狀況。其中,所預估的霍爾週期訊號長度而來計算下次該輸出的連續脈波寬度調變波,該連續脈波寬度調變波包含正週期與負週期的運算,亦即馬達的定子線圈的通電,由順時針方向通電,並在換相時,再由逆時針通電。 (2) When the motor is running, there is only one place in the predicted commutation point, and there is only one point at which the forced commutation or the voltage is maintained. Therefore, the motor vibration is small. If the estimated Hall period signal length is longer than the actual length, a forced commutation occurs. If the predicted Hall period signal length is longer than the actual If it is short, there will be a case where the sustain voltage is switched to the commutation. As can be seen from Fig. 6, it can be clearly seen that the driving waveform has a missing angle only at the Hall signal conversion, and the other time is a smooth condition. Wherein, the estimated period of the Hall period signal is used to calculate the continuous pulse width modulated wave of the next output, and the continuous pulse width modulated wave includes the operation of the positive period and the negative period, that is, the stator coil of the motor The energization is energized by a clockwise direction and, when commutating, is then energized counterclockwise.

除了上述的作法,本發明亦可偵測多個的霍爾週期訊長度,亦即預測多次的霍爾感測器所感測的360度的電氣角,而預估下次的運轉的該連續脈波寬度調變波,或是下次運轉的多個該連續脈波寬度調變波。 In addition to the above, the present invention can also detect multiple Hall period lengths, that is, predict the 360 degree electrical angle sensed by the Hall sensor multiple times, and estimate the continuity of the next operation. The pulse width modulation wave, or a plurality of the continuous pulse width modulation waves of the next operation.

接著,請參考圖7,其為本發明高精確度馬達驅動方法之方法流程圖,包含以下之步驟: Next, please refer to FIG. 7, which is a flowchart of a method for driving a high precision motor according to the present invention, which includes the following steps:

S100:提供至少二霍爾感測器,設置在馬達單元上。 S100: providing at least two Hall sensors disposed on the motor unit.

S101:提供一處理單元。 S101: Providing a processing unit.

S102:處理單元依據至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,處理單元依據該啟動位置訊息進行計算而輸出一啟動脈波寬度調變波。 S102: The processing unit obtains a start position message according to the Hall voltage of the at least two Hall sensors, and the processing unit calculates a start pulse width modulated wave according to the start position information.

S103:驅動單元接收啟動脈波寬度調變波而產生一啟動驅動訊號。 S103: The driving unit receives the start pulse width modulation wave to generate a start driving signal.

S104:馬達單元接收接啟動驅動訊號而使該馬達單元進行啟動。 S104: The motor unit receives the start driving signal to activate the motor unit.

S105:處理單元依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,處理單元依據該運轉訊息進行計算並預估下次輸出一運轉脈波寬度調變波。 S105: The processing unit obtains an operation message according to the Hall voltage of the Hall sensor, and the processing unit calculates according to the operation message and predicts to output a running pulse width modulation wave next time.

S106:驅動單元接收下次運轉脈波寬度調變波而產生一運轉驅動訊號。 S106: The driving unit receives the next running pulse width modulation wave to generate an operation driving signal.

S107:馬達單元接收下次運轉驅動訊號而使馬 達單元進行運轉。 S107: The motor unit receives the next driving signal and makes the horse The unit is in operation.

其中,啟動位置訊息係依據二個霍爾感測器之霍爾電壓所得到的四個區間訊息。 The start position message is based on the four interval messages obtained by the Hall voltages of the two Hall sensors.

其中,啟動位置訊息係依據三個霍爾感測器之該霍爾電壓所得到的六個區間訊息。 The start position message is based on the six interval messages obtained by the Hall voltages of the three Hall sensors.

其中,運轉訊息係依據一個霍爾感測器之該霍爾電壓所得到的二個區間訊息。 The operation message is based on two interval messages obtained by the Hall voltage of a Hall sensor.

其中,更包含以下步驟:接收該運轉位置訊息並利用計數器進行計數而產生一運轉訊號週期長度訊息;及接收該運轉訊號週期長度訊息而預估下次運轉的該連續脈波寬度調變波。 The method further includes the steps of: receiving the operation position information and counting by using a counter to generate an operation signal period length message; and receiving the operation signal period length message to estimate the continuous pulse width modulation wave for the next operation.

綜合上述,本發明馬達的啟動是利用二個以上霍爾感測器來偵測轉子的位置,以避免啟動時馬達會有正轉再反轉或反轉再正轉的現象,當馬達順利啟動後,則運用本發明的方式,只利用一個霍爾感測器,來進行運轉預估,而利用一個霍爾感測器的好處,可以讓輸出馬達的運轉訊號接近弦波的情形,使得諧波情形降低,改善直流無刷馬達運轉時產生震動或噪音的問題,因此,本發明在控制馬達的精確度之優勢,故可以達成本發明之目的。 In summary, the start of the motor of the present invention utilizes two or more Hall sensors to detect the position of the rotor, so as to avoid the phenomenon that the motor will rotate forward, reverse or reverse and then rotate forward when starting, when the motor starts smoothly. Then, using the method of the present invention, only one Hall sensor is used to estimate the operation, and the benefit of using a Hall sensor can make the output signal of the output motor close to the sine wave, making the harmonic The wave situation is lowered to improve the problem of vibration or noise generated when the brushless DC motor is operated. Therefore, the present invention achieves the object of the present invention by controlling the accuracy of the motor.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

11‧‧‧啟動位置偵測器 11‧‧‧Start position detector

14‧‧‧計算器 14‧‧‧Calculator

12‧‧‧運轉位置偵測器 12‧‧‧Operation position detector

10‧‧‧處理單元 10‧‧‧Processing unit

13‧‧‧計數器 13‧‧‧ counter

Claims (10)

一種具有一個霍爾感測器運轉的系統,包含:一馬達單元,具有一定子與一轉子;至少二霍爾感測器,設置在該馬達單元上,每個該霍爾感測器感應該馬達單元之該轉子的磁場而感應到一霍爾電壓;一處理單元,連接至少二該霍爾感測器,接收至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,該處理單元對該啟動位置訊息進行計算而輸出啟動的一連續脈波寬度調變波;及一驅動單元,連接該處理單元,接收該連續脈波寬度調變波而產生一驅動訊號;其中,該馬達單元,連接該驅動單元,接收該驅動訊號而使該馬達單元作動,該馬達單元於運轉狀態時,該處理單元依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,該處理單元依據該運轉訊息進行計算而預估下次運轉的該連續脈波寬度調變波。 A system having a Hall sensor operation, comprising: a motor unit having a stator and a rotor; at least two Hall sensors disposed on the motor unit, each of the Hall sensors sensing the a magnetic field of the rotor of the motor unit senses a Hall voltage; a processing unit is connected to at least two of the Hall sensors to receive at least two of the Hall voltages of the Hall sensor to obtain a start position message, The processing unit calculates the start position signal and outputs a continuous pulse width modulated wave; and a driving unit connected to the processing unit to receive the continuous pulse width modulated wave to generate a driving signal; wherein The motor unit is connected to the driving unit to receive the driving signal to activate the motor unit. When the motor unit is in an operating state, the processing unit obtains an operation message according to the Hall voltage of the Hall sensor. The processing unit calculates the continuous pulse width modulated wave for the next operation according to the operation information. 依據申請專利範圍第1項所述之具有一個霍爾感測器運轉的系統,其中,該啟動位置訊息依據二個該霍爾感測器之該霍爾電壓所得到的四個區間訊息。 A system having a Hall sensor operation according to claim 1, wherein the start position message is based on four interval messages obtained by the Hall voltages of the Hall sensors. 依據申請專利範圍第1項所述之具有一個霍爾感測器運轉的系統,其中,該啟動位置訊息依據三個該霍爾感測器之該霍爾電壓所得到的六個區間訊息。 A system having a Hall sensor operation according to claim 1, wherein the start position message is based on three interval messages obtained by the Hall voltages of the Hall sensors. 依據申請專利範圍第1項所述之具有一個霍爾感測器運轉的系統,其中,該運轉訊息依據一個該霍爾感測器之 該霍爾電壓所得到的二個區間訊息。 A system having a Hall sensor operation according to claim 1 of the scope of the patent application, wherein the operation message is based on a Hall sensor The two interval messages obtained by the Hall voltage. 依據申請專利範圍第1項所述之具有一個霍爾感測器運轉的系統,其中,該處理單元包含:一啟動位置偵測器,連接至少二該霍爾感測器,依據至少二該霍爾感測器之該霍爾電壓而得到該啟動位置訊息;一運轉位置偵測器,連接該霍爾感測器,依據該霍爾感測器之該霍爾電壓而得到該運轉位置訊息;一計數器,連接該運轉位置偵測器,接收該運轉位置訊息並進行計數而產生一運轉訊號週期長度訊息;及一計算器,分別連接該啟動位置偵測器與該計數器,接收該啟動位置訊息並進行計算而得到啟動的該連續脈波寬度調變波,於該馬達單元運轉狀態時,該計算器再接收該運轉訊號週期長度訊息而預估下次運轉的該連續脈波寬度調變波。 According to the system of claim 1, the system has a Hall sensor operation, wherein the processing unit comprises: a start position detector, and at least two Hall sensors are connected, according to at least two The gate voltage of the sensor obtains the start position message; a running position detector is connected to the Hall sensor, and the operating position information is obtained according to the Hall voltage of the Hall sensor; a counter connected to the operation position detector, receiving the operation position message and counting to generate an operation signal cycle length message; and a calculator respectively connected to the activation position detector and the counter to receive the start position message And performing the calculation to obtain the continuous pulse width modulated wave that is activated. When the motor unit is in the running state, the calculator receives the running signal cycle length message to estimate the continuous pulse width modulated wave of the next operation. . 一種具有一個霍爾感測器運轉的方法,應用於一馬達單元與一驅動單元,其包含:提供至少二霍爾感測器,設置在該馬達單元上;提供一處理單元;該處理單元依據至少二該霍爾感測器之該霍爾電壓而得到一啟動位置訊息,該處理單元依據該啟動位置訊息進行計算而輸出啟動的一連續脈波寬度調變波;該驅動單元接收啟動的該連續脈波寬度調變波而產生一啟動驅動訊號;該馬達單元接收接該啟動驅動訊號而使該馬達單 元進行啟動;該處理單元依據一個該霍爾感測器之該霍爾電壓而得到一運轉訊息,該處理單元依據該運轉訊息進行計算並預估下次輸出運轉的該連續脈波寬度調變波;該驅動單元接收下次運轉的該連續脈波寬度調變波而產生一運轉驅動訊號;及該馬達單元接收下次該運轉驅動訊號而使該馬達單元進行運轉。 A method for operating a Hall sensor, applied to a motor unit and a driving unit, comprising: providing at least two Hall sensors disposed on the motor unit; providing a processing unit; At least two Hall voltages of the Hall sensor obtain a start position message, and the processing unit outputs a continuous pulse width modulated wave according to the start position message; the driving unit receives the activated start signal Continuous pulse width modulation wave to generate a start driving signal; the motor unit receives the start driving signal to make the motor single The processing unit starts up; the processing unit obtains an operation message according to the Hall voltage of the Hall sensor, and the processing unit calculates and predicts the continuous pulse width modulation of the next output operation according to the operation message. The driving unit receives the continuous pulse width modulation wave of the next operation to generate an operation driving signal; and the motor unit receives the operation driving signal for the next time to operate the motor unit. 依據申請專利範圍第6項所述之具有一個霍爾感測器運轉的方法,其中,該啟動位置訊息依據二個該霍爾感測器之該霍爾電壓所得到的四個區間訊息。 According to the method of claim 6, the method of operating a Hall sensor, wherein the start position message is based on four interval information obtained by the Hall voltages of the Hall sensors. 依據申請專利範圍第6項所述之具有一個霍爾感測器運轉的方法,其中,該啟動位置訊息依據三個該霍爾感測器之該霍爾電壓所得到的六個區間訊息。 A method for operating a Hall sensor according to claim 6 wherein the start position message is based on three interval messages obtained by the Hall voltages of the Hall sensors. 依據申請專利範圍第6項所述之具有一個霍爾感測器運轉的方法,其中,該運轉訊息依據一個該霍爾感測器之該霍爾電壓所得到的二個區間訊息。 According to the method of claim 6, the method of operating a Hall sensor, wherein the operation message is based on two interval information obtained by the Hall voltage of the Hall sensor. 依據申請專利範圍第6項所述之具有一個霍爾感測器運轉的方法,更包含以下步驟:接收該運轉位置訊息並利用計數器進行計數而產生一運轉訊號週期長度訊息;及接收該運轉訊號週期長度訊息而預估下次運轉的該連續脈波寬度調變波。 The method for operating a Hall sensor according to claim 6 further includes the steps of: receiving the operation position information and counting by using a counter to generate an operation signal period length message; and receiving the operation signal The continuous pulse width modulated wave of the next operation is estimated by the cycle length message.
TW104115283A 2015-05-13 2015-05-13 System and wary for one hall sensor operation TWI581559B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104115283A TWI581559B (en) 2015-05-13 2015-05-13 System and wary for one hall sensor operation
CN201510533349.6A CN106169892B (en) 2015-05-13 2015-08-27 System and method for operating a Hall sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104115283A TWI581559B (en) 2015-05-13 2015-05-13 System and wary for one hall sensor operation

Publications (2)

Publication Number Publication Date
TW201640809A TW201640809A (en) 2016-11-16
TWI581559B true TWI581559B (en) 2017-05-01

Family

ID=57359000

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104115283A TWI581559B (en) 2015-05-13 2015-05-13 System and wary for one hall sensor operation

Country Status (2)

Country Link
CN (1) CN106169892B (en)
TW (1) TWI581559B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107916509B (en) * 2017-11-24 2020-09-04 杰克缝纫机股份有限公司 Needle position detection, needle stop position setting and needle stop control method, system, terminal and device
TWI675544B (en) * 2018-04-24 2019-10-21 建準電機工業股份有限公司 Location detection system for use in a brushless direct current motor and switching method thereof
TWI676348B (en) * 2018-05-25 2019-11-01 車王電子股份有限公司 electrical tools

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201106579A (en) * 2009-08-10 2011-02-16 Silicon Valley Micro M Corp Brushless D. C. motor with RFID rotor magnet position sensing
TW201349714A (en) * 2012-05-30 2013-12-01 Durq Machinery Corp Method of calibrating mounting position of Hall sensor of brushless direct current motor
TW201419749A (en) * 2010-03-02 2014-05-16 Agave Semiconductor Llc Position corrected pulse width modulation for brushless direct current motors

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232266A (en) * 2007-01-22 2008-07-30 陞达科技股份有限公司 Apparatus and method for controlling direct current brushless motor
CN102832863B (en) * 2007-07-03 2016-04-06 台达电子工业股份有限公司 Controller for motor and method thereof
KR101293082B1 (en) * 2012-03-20 2013-08-05 전자부품연구원 Compensation method for position of hall sensor of bldc motor and bldc motor thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201106579A (en) * 2009-08-10 2011-02-16 Silicon Valley Micro M Corp Brushless D. C. motor with RFID rotor magnet position sensing
TW201419749A (en) * 2010-03-02 2014-05-16 Agave Semiconductor Llc Position corrected pulse width modulation for brushless direct current motors
TW201349714A (en) * 2012-05-30 2013-12-01 Durq Machinery Corp Method of calibrating mounting position of Hall sensor of brushless direct current motor

Also Published As

Publication number Publication date
CN106169892A (en) 2016-11-30
CN106169892B (en) 2019-01-22
TW201640809A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
US9729099B1 (en) Sensorless control of AC induction motor method and apparatus
JP2010541517A (en) Inverter control device, motor drive device using the same, electric compressor, and household electric appliance
JP2007166695A (en) Control device of motor
WO2007041387A2 (en) Electric motor with adjustable timing
JP2019187154A (en) Semiconductor device, motor drive system, and motor control program
JP2009077503A (en) Motor controller and controller for air conditioner
TWI581559B (en) System and wary for one hall sensor operation
US8378602B2 (en) System and method for aligning a rotor to a known position
JP6182735B2 (en) Brushless DC motor drive device and ventilation blower equipped with the drive device
JP6474331B2 (en) Motor control method and motor control apparatus
JP2020014367A (en) Motor drive control device and motor drive control method
JP2009011014A (en) Inverter controller, electric compressor, and home electrical equipment
JP5585341B2 (en) Brushless motor drive device
JP6596253B2 (en) Power converter and control method of power converter
JP5326948B2 (en) Inverter control device, electric compressor and electrical equipment
JP4110883B2 (en) Motor control device
JP2010284013A (en) Inverter controller, electric compress unit and electrical household apparatus
CN107528504B (en) Method and drive circuit for driving an electric machine comprising a rotor
TW201720046A (en) System and way for No sensor Three-phase motor
US20150188467A1 (en) Zero crossing point estimating circuit, motor driving control apparatus and method using the same
JP2006034060A (en) Controller for brushless motor
JP6582212B2 (en) Driving method of sensorless / brushless motor and motor control apparatus using the driving method
JP2013225979A (en) Motor driving device, compressor driving device employing the same, and heat exchanger equipped with the same
TWI389445B (en) Start-up method with sensorless control for bldc motor
KR102226615B1 (en) Operation method of motor system comprising switched reluctance motor