TW201703419A - Motor driving circuit, driving method, vibrator and electronic machine capable of inhibiting reverse rotation of a rotor caused by backward braking - Google Patents

Motor driving circuit, driving method, vibrator and electronic machine capable of inhibiting reverse rotation of a rotor caused by backward braking Download PDF

Info

Publication number
TW201703419A
TW201703419A TW105112981A TW105112981A TW201703419A TW 201703419 A TW201703419 A TW 201703419A TW 105112981 A TW105112981 A TW 105112981A TW 105112981 A TW105112981 A TW 105112981A TW 201703419 A TW201703419 A TW 201703419A
Authority
TW
Taiwan
Prior art keywords
motor
control unit
drive circuit
reverse
period
Prior art date
Application number
TW105112981A
Other languages
Chinese (zh)
Other versions
TWI690146B (en
Inventor
Hiroyuki Shimizu
Nobuo Komura
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Publication of TW201703419A publication Critical patent/TW201703419A/en
Application granted granted Critical
Publication of TWI690146B publication Critical patent/TWI690146B/en

Links

Landscapes

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

Abstract

The purpose of the present invention is to inhibit reverse rotation of a rotor caused by backward braking. Based on a rectangular signal S2 representing the position of the rotor of a motor 2 to be driven, a control part 110 generates a driving signal S3 for controlling energization of a coil of the motor 2. The driving part 130 drives the coil based on the driving signal S3. During the period of backward braking, the control part 110 monitors the period of the rectangular signal S2 and, if the period becomes shorter, terminates the backward braking.

Description

馬達驅動電路、驅動方法、振動裝置及電子機器 Motor drive circuit, drive method, vibration device, and electronic machine

本發明係關於一種馬達之驅動技術。 The present invention relates to a driving technique of a motor.

於無刷馬達用之驅動器中,為了使通常旋轉之轉子停止,有搭載制動功能之情形。於制動中,存在再生制動與反轉制動。於再生制動中,以驅動器之輸出段與馬達線圈形成迴路,且於迴路內流通電流而使馬達線圈之能量消散。 In the driver for a brushless motor, in order to stop the rotor that normally rotates, there is a case where a brake function is mounted. During braking, there are regenerative braking and reverse braking. In regenerative braking, a loop is formed between the output section of the driver and the motor coil, and a current flows in the loop to dissipate the energy of the motor coil.

於欲以較再生制動更強之制動力使轉子停止之情形時,採用反轉制動。於反轉制動中,以與通常驅動狀態(正轉狀態)逆相,換言之以於轉子產生與正轉方向反方向之扭矩之方式,驅動馬達線圈。 Reverse braking is used when the rotor is to be stopped with a stronger braking force than the regenerative braking. In the reverse braking, the motor coil is driven in a reverse phase with the normal driving state (forward rotation state), in other words, the rotor generates torque in the opposite direction to the forward rotation direction.

[先前技術文獻] [Previous Technical Literature] [專利文獻] [Patent Literature]

[專利文獻1]日本專利特開2006-234208號公報 [Patent Document 1] Japanese Patent Laid-Open Publication No. 2006-234208

[專利文獻2]日本專利特開2009-018654號公報 [Patent Document 2] Japanese Patent Laid-Open Publication No. 2009-018654

[專利文獻3]日本專利特開平8-191591號公報 [Patent Document 3] Japanese Patent Laid-Open No. Hei 8-191591

課題1. 本發明者們針對以下之反轉制動之控制(所謂研究技術)進行了研究。 Problem 1. The inventors studied the following control of reverse braking (so-called research technique).

於研究技術中,於反轉制動之期間內,監視霍爾信號之週期。且,若週期超過特定之臨限值,則轉子作為充分減速者,而結束反轉 制動。 In the research technique, the period of the Hall signal is monitored during the reverse braking period. Moreover, if the period exceeds a certain threshold, the rotor acts as a sufficient decelerator and ends the reversal. brake.

於與來自霍爾元件之霍爾信號同步而控制無刷馬達之情形時,反轉制動之最小時間係藉由霍爾信號之週期而受到制約。因此於反轉制動之上一個正轉方向之轉子之扭矩較小之情形時,有藉由跨越某最小時間以上之反轉制動而賦予至轉子之扭矩超過上限,導致轉子逆旋轉之情形。 When the brushless motor is controlled in synchronization with the Hall signal from the Hall element, the minimum time to reverse the braking is limited by the period of the Hall signal. Therefore, when the torque of the rotor in the forward rotation direction is smaller than the reverse rotation, there is a case where the torque applied to the rotor exceeds the upper limit by the reverse braking over a certain minimum time or more, resulting in a reverse rotation of the rotor.

且,於開始逆旋轉後不久,若霍爾信號之週期超過臨限值,則不滿足反轉制動之結束條件,而有無法自反轉制動脫出,使轉子朝反方向進一步加速之虞。 Further, shortly after the start of the reverse rotation, if the period of the Hall signal exceeds the threshold value, the end condition of the reverse braking is not satisfied, and there is a possibility that the rotor cannot be released from the reverse rotation and the rotor is further accelerated in the reverse direction.

課題2. 再者,本發明者們針對反轉制動進行研究之結果,以至認識以下課題。於與來自霍爾元件之霍爾信號同步而控制無刷馬達之情形時,反轉制動之最小時間係藉由霍爾信號之週期而受到制約。因此於反轉制動之上一個正轉方向之轉子之扭矩較小之情形時,有藉由跨越某最小時間以上之反轉制動而賦予至轉子之扭矩超過上限,導致轉子逆旋轉之情形。另,不可將該課題視為本領域技術人員之一般性之認識。 Problem 2. Furthermore, the inventors of the present invention have studied the results of reverse braking and have recognized the following problems. When the brushless motor is controlled in synchronization with the Hall signal from the Hall element, the minimum time to reverse the braking is limited by the period of the Hall signal. Therefore, when the torque of the rotor in the forward rotation direction is smaller than the reverse rotation, there is a case where the torque applied to the rotor exceeds the upper limit by the reverse braking over a certain minimum time or more, resulting in a reverse rotation of the rotor. In addition, the subject matter should not be considered as a general knowledge of those skilled in the art.

本發明之某態樣係鑑於上述任一課題而完成者,其例示性之目的之一在於提供一種可防止或抑制、防止因反轉制動導致之轉子之逆旋轉之馬達驅動電路。 One aspect of the present invention has been made in view of any of the above problems, and an exemplary object thereof is to provide a motor drive circuit capable of preventing, suppressing, and preventing reverse rotation of a rotor due to reverse braking.

1.本發明之某態樣係關於馬達驅動電路。馬達驅動電路具備:控制部,其係基於表示驅動對象之馬達之轉子之位置之矩形信號,而產生控制對馬達之線圈通電之驅動信號;及驅動部,其係基於驅動信號而驅動線圈。控制部係於反轉制動之期間內,監視矩形信號之週期,若週期變短,則結束反轉制動。 1. A certain aspect of the invention relates to a motor drive circuit. The motor drive circuit includes a control unit that generates a drive signal for controlling energization of the coil of the motor based on a rectangular signal indicating a position of a rotor of the motor to be driven, and a drive unit that drives the coil based on the drive signal. The control unit monitors the period of the rectangular signal during the period of reverse braking, and ends the reverse braking if the period is shortened.

根據該態樣,基於顯示轉子之旋轉數之週期之相對變化,可立 即檢測轉子之向反方向之旋轉,藉此可抑制因反轉制動導致之轉子之逆旋轉。 According to this aspect, based on the relative change of the period showing the number of revolutions of the rotor, That is, the rotation of the rotor in the opposite direction is detected, whereby the reverse rotation of the rotor due to the reverse braking can be suppressed.

控制部亦可基於當前之週期與過去之週期之大小關係而結束反轉制動。 The control unit may also terminate the reverse braking based on the magnitude relationship between the current cycle and the past cycle.

控制部亦可於將當前之週期設為TCUR、將過去之週期設為TPRE、將0以上之修正值設為TCORR時,當滿足TCUR+TCORR≦TPRE The control unit may also set T CUR +T CORR ≦T PRE when the current period is T CUR , the past period is T PRE , and the correction value of 0 or more is T CORR .

時結束反轉制動。 At the end of the reverse braking.

控制部亦可於將當前之週期設為TCUR、將過去之週期設為TPRE時,當滿足TCUR<TPRE The control unit may also set T CUR <T PRE when the current period is set to T CUR and the past period is set to T PRE .

時結束反轉制動。 At the end of the reverse braking.

過去之週期亦可為於前次測定之週期。過去之週期亦可基於歷經最近之特定次數所測定之複數個週期。 The past period can also be the period of the previous measurement. The past period can also be based on a plurality of cycles measured over a particular number of times.

控制部亦可於反轉制動之期間,若矩形信號之週期變得較特定之臨限值長,則結束反轉制動。控制部亦可包含邊緣計數器,該邊緣計數器係於反轉制動之期間,計測矩形信號之邊緣之個數,若邊緣計數器之計數值超過特定之臨限值,則控制部結束反轉制動。控制部亦可包含測定反轉制動之期間之長度之定時器電路,且若反轉制動之期間到達特定時間,則結束反轉制動。反轉制動之結束條件亦可組合複數個。 The control unit may also terminate the reverse braking when the period of the rectangular signal becomes longer than the specific threshold value during the reverse braking. The control unit may further include an edge counter that measures the number of edges of the rectangular signal during the reverse braking period, and if the count value of the edge counter exceeds a certain threshold value, the control unit ends the reverse braking. The control unit may include a timer circuit that measures the length of the reverse braking period, and if the period of the reverse braking reaches a certain time, the reverse braking is ended. The end conditions of the reverse braking may also be combined in plural.

2.本發明之其他態樣係關於馬達驅動電路。馬達驅動電路具備:控制部,其係基於表示驅動對象之馬達之轉子之位置之矩形信號,而產生控制對上述馬達之線圈通電之驅動信號;霍爾比較器,其產生矩形信號;控制部,其係基於矩形信號而控制對馬達之線圈通電;及驅動部,其係基於來自控制部之驅動信號而驅動線圈。控制部若於馬達之通常驅動狀態下接收到馬達之停止指示,則以與至此為止之通常驅動 狀態相應之輸出施加反轉制動。 2. Other aspects of the invention relate to motor drive circuits. The motor drive circuit includes a control unit that generates a drive signal for controlling energization of the coil of the motor based on a rectangular signal indicating a position of a rotor of a motor to be driven, and a Hall comparator that generates a rectangular signal; and a control unit It controls the energization of the coil of the motor based on the rectangular signal; and the drive unit drives the coil based on the drive signal from the control unit. When the control unit receives the stop instruction of the motor in the normal driving state of the motor, the control unit and the normal drive up to this point The corresponding output of the state applies reverse braking.

於某態樣中控制部係藉由監視施加反轉制動前之通常驅動狀態,可推定馬達之轉子於正轉方向具有多少扭矩。因此,於推定為轉子於正轉方向具有足夠大之扭矩之情形時,以較大之輸出施加反轉制動,於推定為正轉方向之扭矩較小之情形時,降低反轉制動之輸出,或設為零輸出即不施加反轉制動,藉此可防止轉子逆旋轉。 In a certain aspect, the control unit can estimate how much torque the rotor of the motor has in the forward rotation direction by monitoring the normal driving state before the reverse braking is applied. Therefore, when it is estimated that the rotor has a sufficiently large torque in the forward rotation direction, the reverse brake is applied with a larger output, and when the torque in the forward rotation direction is estimated to be small, the output of the reverse brake is lowered. Or set to zero output, that is, no reverse braking is applied, thereby preventing the rotor from rotating in reverse.

於某態樣中控制部亦可根據於通常驅動狀態下產生之矩形信號之切換次數,而使反轉制動之輸出變化。 In a certain aspect, the control unit may change the output of the reverse brake according to the number of times of switching of the rectangular signal generated in the normal driving state.

若矩形信號之位準遷移之次數較小則推定轉子之正轉方向之扭矩為較小者,而可降低反轉制動之輸出。 If the number of level shifts of the rectangular signal is small, the torque in the forward direction of the rotor is estimated to be smaller, and the output of the reverse brake can be reduced.

於某態樣中控制部亦可於通常驅動狀態下,包含計測矩形信號之邊緣之個數之邊緣計數器,且根據邊緣計數器之計數值,而使反轉制動之輸出變化。 In a certain aspect, the control unit may also include an edge counter that measures the number of edges of the rectangular signal in the normal driving state, and changes the output of the reverse braking according to the count value of the edge counter.

於某態樣中控制部亦可於接收到馬達之停止指示時,於至此為止所計測之矩形信號之邊緣之個數小於特定之臨限值時,相較於較大時而降低反轉制動之輸出。 In a certain aspect, when the control unit receives the stop instruction of the motor, when the number of edges of the rectangular signal measured so far is less than a specific threshold, the reverse brake is reduced compared to the larger time. The output.

於某態樣中控制部亦可於接收到馬達之停止指示時,於至此為止所計測之矩形信號之邊緣之個數小於特定之臨限值時,不施加反轉制動。 In a certain aspect, when the control unit receives the stop instruction of the motor, the reverse brake is not applied when the number of edges of the rectangular signal measured so far is less than a specific threshold.

於某態樣中控制部亦可根據通常驅動狀態之長度,而使反轉制動之輸出變化。 In a certain aspect, the control unit can also change the output of the reverse brake according to the length of the normal driving state.

若通常驅動狀態較短,則推定轉子之正轉方向之扭矩為較小者,而可降低反轉制動之輸出。 If the normal driving state is short, it is estimated that the torque in the forward direction of the rotor is smaller, and the output of the reverse braking can be reduced.

於某態樣中控制部亦可包含測定通常驅動狀態之長度之定時器電路,且根據定時器電路之測定時間,而使反轉制動之輸出變化。 In a certain aspect, the control unit may include a timer circuit that measures the length of the normal driving state, and changes the output of the reverse braking according to the measurement time of the timer circuit.

於某態樣中控制部亦可於接收到馬達之停止指示時,於測定時 間較特定之臨限值短時,相較於較長時而降低反轉制動之輸出。 In a certain aspect, the control unit can also receive the stop instruction of the motor at the time of measurement. When the specific threshold is shorter, the output of the reverse brake is reduced compared to the longer period.

於某態樣中控制部亦可於接收到馬達之停止指示時,於測定時間較特定之臨限值短時,不施加反轉制動。 In a certain aspect, when the control unit receives the stop instruction of the motor, when the measurement time is shorter than the specific threshold value, the control unit may not apply the reverse brake.

控制部亦可於反轉制動之期間,若矩形信號之週期變得較特定之臨限值長,則結束反轉制動。控制部亦可於反轉制動之期間,包含計測矩形信號之邊緣之個數之邊緣計數器,且若邊緣計數器之計數值超過特定之臨限值,則結束反轉制動。控制部亦可包含測定反轉制動之期間之長度之定時器電路,且若反轉制動之期間到達特定時間,則結束反轉制動。反轉制動之結束條件亦可組合複數個。 The control unit may also terminate the reverse braking when the period of the rectangular signal becomes longer than the specific threshold value during the reverse braking. The control unit may also include an edge counter that measures the number of edges of the rectangular signal during the reverse braking, and terminates the reverse braking if the count value of the edge counter exceeds a certain threshold. The control unit may include a timer circuit that measures the length of the reverse braking period, and if the period of the reverse braking reaches a certain time, the reverse braking is ended. The end conditions of the reverse braking may also be combined in plural.

於某態樣中馬達驅動電路亦可於一個半導體基板一體集成化。 In a certain aspect, the motor drive circuit can also be integrated into one semiconductor substrate.

所謂「一體集成化」,亦可包含電路之構成要素之全部形成於半導體基板上之情形、或電路之主要構成要素一體集成化之情形,且用於調節電路常數而將一部分電阻或電容器等設置於半導體基板之外部。 The "integrated integration" may include a case where all of the constituent elements of the circuit are formed on the semiconductor substrate, or a case where the main constituent elements of the circuit are integrated, and a part of the resistor or capacitor is set for adjusting the circuit constant. On the outside of the semiconductor substrate.

藉由將電路於1個晶片上集成化,可削減電路面積,且可將電路元件之特性保持為均勻。 By integrating the circuit on one wafer, the circuit area can be reduced, and the characteristics of the circuit elements can be kept uniform.

本發明之其他態樣係關於振動裝置。振動裝置亦可具備:振動馬達,其係於轉子安裝有偏心錘;及馬達驅動電路,其係使振動馬達旋轉。 Other aspects of the invention relate to vibrating devices. The vibration device may further include: a vibration motor that is attached to the rotor with an eccentric weight; and a motor drive circuit that rotates the vibration motor.

本發明之其他態樣係關於電子機器。電子機器亦可具備上述之振動裝置。 Other aspects of the invention relate to electronic machines. The electronic device may also be provided with the above-described vibration device.

另,將以上之構成要素之任意組合或本發明之構成要素或表現於方法、裝置、系統等之間相互置換者亦作為本發明之態樣而有效。 Further, any combination of the above constituent elements or constituent elements of the present invention or a method, device, system, or the like, is also effective as an aspect of the present invention.

根據本發明之某態樣,可抑制、防止伴隨反轉制動之轉子之逆旋轉。 According to an aspect of the present invention, the reverse rotation of the rotor accompanying the reverse braking can be suppressed and prevented.

2‧‧‧馬達 2‧‧‧Motor

4‧‧‧霍爾元件 4‧‧‧ Hall element

100‧‧‧馬達驅動電路 100‧‧‧Motor drive circuit

100a‧‧‧馬達驅動電路 100a‧‧‧Motor drive circuit

100b‧‧‧馬達驅動電路 100b‧‧‧Motor drive circuit

102‧‧‧霍爾比較器 102‧‧‧Hall Comparator

110‧‧‧控制部 110‧‧‧Control Department

112‧‧‧通電控制部 112‧‧‧Power Control Department

114‧‧‧反轉制動控制部 114‧‧‧Reverse Brake Control Department

114a‧‧‧反轉制動控制部 114a‧‧‧Reverse Brake Control Department

114b‧‧‧反轉制動控制部 114b‧‧‧Reverse Brake Control Department

116‧‧‧邊緣計數器 116‧‧‧Edge Counter

118‧‧‧週期測定部 118‧‧‧Period measurement department

120‧‧‧判定部 120‧‧‧Decision Department

120a‧‧‧第1判定部 120a‧‧1st judgment department

120b‧‧‧第2判定部 120b‧‧‧2nd Division

122‧‧‧定時器電路 122‧‧‧Timer circuit

130‧‧‧驅動部 130‧‧‧ Drive Department

150‧‧‧記憶體 150‧‧‧ memory

152‧‧‧比較器 152‧‧‧ comparator

154‧‧‧相加器 154‧‧‧Adder

156‧‧‧暫存器 156‧‧‧ register

160‧‧‧定時器電路 160‧‧‧Timer circuit

162‧‧‧暫存器 162‧‧‧ 存存器

164‧‧‧邏輯閘 164‧‧‧Logic gate

170‧‧‧邊緣計數器 170‧‧‧Edge Counter

172‧‧‧比較器 172‧‧‧ comparator

174‧‧‧暫存器 174‧‧‧ register

300‧‧‧電子機器 300‧‧‧Electronic machines

300a‧‧‧電子機器 300a‧‧‧Electronic machines

300b‧‧‧電子機器 300b‧‧‧Electronic machines

302‧‧‧振動裝置 302‧‧‧Vibration device

304‧‧‧主處理器 304‧‧‧Main processor

306‧‧‧偏心錘 306‧‧‧Eccentric hammer

310‧‧‧基板 310‧‧‧Substrate

312‧‧‧線圈 312‧‧‧ coil

314‧‧‧墊圈 314‧‧‧ Washer

316‧‧‧軸 316‧‧‧Axis

318‧‧‧轉子 318‧‧‧Rotor

318a‧‧‧錘 318a‧‧‧ hammer

318b‧‧‧永久磁鐵 318b‧‧‧ permanent magnet

320‧‧‧罩體 320‧‧‧ Cover

B‧‧‧臨限值 B‧‧‧ threshold

C‧‧‧臨限值 C‧‧‧ threshold

D‧‧‧臨限值 D‧‧‧ threshold

H+‧‧‧霍爾信號 H+‧‧‧ Hall signal

H-‧‧‧霍爾信號 H-‧‧‧ Hall signal

N‧‧‧上限值 N‧‧‧ upper limit

S1‧‧‧控制指令 S1‧‧‧ control instructions

S2‧‧‧矩形信號 S2‧‧‧Rectangular signal

S3‧‧‧驅動信號 S3‧‧‧ drive signal

S4‧‧‧計數值 S4‧‧‧ count value

S5‧‧‧週期資料 S5‧‧‧ cycle data

S6‧‧‧區間長資料 S6‧‧‧length information

S7‧‧‧結束信號 S7‧‧‧End signal

S7a‧‧‧結束信號 S7a‧‧‧End signal

S7b‧‧‧結束信號 S7b‧‧‧End signal

t0‧‧‧時刻 T0‧‧‧ moment

t1‧‧‧時刻 Time t1‧‧‧

t2‧‧‧時刻 Time t2‧‧‧

t3‧‧‧時刻 Time t3‧‧‧

t4‧‧‧時刻 Time t4‧‧‧

Ta‧‧‧期間 During the period of Ta‧‧

TCORR‧‧‧修正值 T CORR ‧‧‧revised value

TCUR‧‧‧當前之週期 T CUR ‧‧‧ current cycle

TCUR’‧‧‧週期 T CUR '‧‧‧ cycle

TEND‧‧‧特定時間 T END ‧ ‧ specific time

TP‧‧‧週期 T P ‧‧‧ cycle

TP0‧‧‧週期 T P0 ‧ ‧ cycle

TP1‧‧‧週期 T P1 ‧‧ cycle

TP2‧‧‧週期 T P2 ‧‧ cycle

TP3‧‧‧週期 T P3 ‧‧‧ cycle

TPRE‧‧‧過去之週期 T PRE ‧‧‧The past cycle

Vo+‧‧‧驅動電壓 Vo+‧‧‧ drive voltage

Vo-‧‧‧驅動電壓 Vo-‧‧‧ drive voltage

圖1係第1實施形態之馬達驅動電路之方塊圖。 Fig. 1 is a block diagram showing a motor drive circuit of a first embodiment.

圖2係顯示馬達驅動電路之具體之構成例之方塊圖。 Fig. 2 is a block diagram showing a specific configuration example of a motor drive circuit.

圖3(a)、(b)係圖1之馬達驅動電路之動作波形圖。 3(a) and 3(b) are diagrams showing the operation waveforms of the motor drive circuit of Fig. 1.

圖4係顯示逆轉制動控制部之構成例之方塊圖。 Fig. 4 is a block diagram showing a configuration example of a reverse brake control unit.

圖5係第2變化例之逆轉制動控制部之方塊圖。 Fig. 5 is a block diagram showing a reverse brake control unit of a second modification.

圖6係第2實施形態之第1實施例之馬達驅動電路之方塊圖。 Fig. 6 is a block diagram showing a motor drive circuit according to a first embodiment of the second embodiment.

圖7(a)、(b)係圖6之馬達驅動電路之動作波形圖。 7(a) and 7(b) are diagrams showing the operation waveforms of the motor drive circuit of Fig. 6.

圖8係第2實施例之馬達驅動電路之方塊圖。 Fig. 8 is a block diagram showing a motor drive circuit of the second embodiment.

圖9(a)、(b)係圖8之馬達驅動電路之動作波形圖。 9(a) and 9(b) are diagrams showing the operation waveforms of the motor drive circuit of Fig. 8.

圖10(a)係具備馬達驅動電路之電子機器之立體圖,圖10(b)係振動馬達單元之剖視圖。 Fig. 10 (a) is a perspective view of an electronic device including a motor drive circuit, and Fig. 10 (b) is a cross-sectional view of the vibration motor unit.

圖11係具備馬達驅動電路之電子機器之立體圖。 Fig. 11 is a perspective view of an electronic device including a motor drive circuit.

以下,基於較佳實施形態而一面參照圖式一面說明本發明。對各圖式所示之相同或同等構成要素、構件、處理標註相同符號,並適當省略重複之說明。又,實施形態並非限定發明而為例示,實施形態所記述之所有特徵或其組合未必為發明之本質性者。 Hereinafter, the present invention will be described with reference to the drawings based on preferred embodiments. The same or equivalent constituent elements, members, and processes shown in the drawings are denoted by the same reference numerals, and the description thereof will be omitted as appropriate. Further, the embodiments are not limited to the invention, and all the features described in the embodiments or combinations thereof are not necessarily essential to the invention.

於本說明書中,所謂「構件A與構件B連接之狀態」,係除構件A與構件B物理性直接連接之情形之外,亦包含構件A與構件B不對其等之電性連接狀態造成實質性影響,或不損害藉由其等之耦合所發揮之功能或效果,而經由其他構件間接連接之情形。 In the present specification, the term "the state in which the member A and the member B are connected" is in addition to the physical connection between the member A and the member B, and the fact that the member A and the member B are not electrically connected to each other. Sexual influence, or does not impair the function or effect exerted by its coupling, and indirectly connected through other components.

同樣,所謂「構件C設置於構件A與構件B之間之狀態」,係除構件A與構件C、或構件B與構件C直接連接之情形之外,亦包含不對其等之電性連接狀態造成實質性影響,或不損害藉由其等之耦合所發揮之功能或效果,而經由其他構件間接連接之情形。 Similarly, the phrase "the member C is disposed between the member A and the member B" includes the case where the member A and the member C are directly connected to each other, and the electrical connection state is not included. A situation in which it has a substantial effect, or does not impair the function or effect exerted by its coupling, and is indirectly connected via other components.

(第1實施形態) (First embodiment)

圖1係第1實施形態之馬達驅動電路100之方塊圖。馬達驅動電路100係驅動單相無刷馬達(以下簡稱為馬達)2。霍爾元件4係產生與馬達2之轉子之位置相應之一對霍爾信號H+,H-。霍爾信號H+、H-為彼此逆相。 Fig. 1 is a block diagram of a motor drive circuit 100 according to the first embodiment. The motor drive circuit 100 drives a single-phase brushless motor (hereinafter simply referred to as a motor) 2. The Hall element 4 produces a pair of Hall signals H+, H- corresponding to the position of the rotor of the motor 2. The Hall signals H+, H- are opposite to each other.

於馬達驅動電路100,自未圖示之主處理器,輸入有指示馬達2之旋轉/停止之控制指令S1。於馬達驅動電路100,輸入有霍爾信號H+、H-,於控制指令S1指示旋轉時,與霍爾信號H+、H-同步而對馬達2之線圈通電。 In the motor drive circuit 100, a control command S1 for instructing rotation/stop of the motor 2 is input from a main processor (not shown). The motor drive circuit 100 receives the Hall signals H+ and H-, and energizes the coils of the motor 2 in synchronization with the Hall signals H+ and H- when the control command S1 instructs the rotation.

馬達驅動電路100具備霍爾比較器102、控制部110、及驅動部130,且係於一個半導體基板一體集成化而成之功能IC(Integrated Circuit:積體電路)。霍爾比較器102係比較來自霍爾元件4之霍爾信號H+、H-,且產生矩形信號(亦稱為FG信號)S2。控制部110係基於矩形信號S2,而產生控制對馬達2之線圈通電之驅動信號S3。驅動部130係基於來自控制部110之驅動信號S3而驅動線圈。驅動部130之構成並未特別限定,使用周知之電路即可。 The motor drive circuit 100 includes a Hall comparator 102, a control unit 110, and a drive unit 130, and is a functional IC (integrated circuit) in which one semiconductor substrate is integrally integrated. The Hall comparator 102 compares the Hall signals H+, H- from the Hall element 4 and generates a rectangular signal (also referred to as an FG signal) S2. The control unit 110 generates a drive signal S3 for controlling energization of the coil of the motor 2 based on the rectangular signal S2. The drive unit 130 drives the coil based on the drive signal S3 from the control unit 110. The configuration of the drive unit 130 is not particularly limited, and a well-known circuit may be used.

對控制部110輸入指示馬達2之旋轉/停止之控制指令S1。控制部110若於使馬達2朝某方向(設為正轉方向)旋轉之通常驅動狀態下接收到馬達2之停止指示,則施加反轉制動。控制部110係於反轉制動之期間內,監視霍爾信號H+、H-之週期,即矩形信號S2之週期TP(於本實施形態中設為半週期),若週期TP變短,則結束反轉制動。 A control command S1 indicating the rotation/stop of the motor 2 is input to the control unit 110. When the control unit 110 receives the stop instruction of the motor 2 in the normal driving state in which the motor 2 is rotated in a certain direction (the forward rotation direction), the reverse rotation brake is applied. The control unit 110 monitors the period of the Hall signals H+ and H- during the period of the reverse braking, that is, the period T P of the rectangular signal S2 (in the present embodiment, a half period), and if the period T P becomes shorter, Then the reverse brake is ended.

控制部110包含通電控制部112、及反轉制動控制部114。通電控制部112係進行與矩形信號S2同步之轉流控制。反轉制動控制部114係控制反轉制動之結束。 The control unit 110 includes an energization control unit 112 and an inversion brake control unit 114. The energization control unit 112 performs the commutation control synchronized with the rectangular signal S2. The reverse brake control unit 114 controls the end of the reverse brake.

具體而言,反轉制動控制部114係於反轉制動之期間內,測定矩形信號S2之週期TP,並比較當前之週期TCUR與過去之週期TPRE,若當 前之週期TCUR與過去之週期TPRE相比較短,則結束反轉制動。此為第1條件。過去之週期TPRE亦可為上一個週期TP。或過去之週期TPRE亦可為自歷經過去之複數個循環而測定之複數個週期TP所計算之值。例如過去之週期TPRE亦可為過去之複數個週期TP之單純平均或移動平均。 Specifically, the reverse brake control unit 114 measures the period T P of the rectangular signal S2 during the period of reverse braking, and compares the current period T CUR with the past period T PRE , if the current period T CUR and the past When the period T PRE is shorter, the reverse braking is ended. This is the first condition. The past period T PRE can also be the previous period T P . Or the past period T PRE may also be a value calculated for a plurality of cycles T P measured by a plurality of cycles that have passed through. For example, the past period T PRE can also be a simple average or moving average of the past multiple periods T P .

又,反轉制動控制部114若於開始反轉制動後經過特定時間TEND,則結束反轉制動。此為第2條件。若第1條件、第2條件之任一者成立,則反轉制動控制部114結束反轉制動。 Further, when the reverse brake control unit 114 passes the specific time T END after the start of the reverse brake, the reverse brake is ended. This is the second condition. When either of the first condition and the second condition is satisfied, the reverse brake control unit 114 ends the reverse braking.

與第1實施形態相關之發明係涵蓋作為圖1之方塊圖或電路圖而理解、或自上述之說明導入之各種裝置、電路者,並非限定於特定之構成。以下,為了協助理解發明之本質或電路動作之理解且將其等明確化,但非為了限縮本發明之範圍,說明更具體之構成例。 The invention relating to the first embodiment is not limited to a specific configuration, and is understood to be various devices and circuits that are understood as the block diagram or circuit diagram of FIG. 1 or introduced from the above description. In the following, in order to facilitate understanding of the nature of the invention, and the understanding of the operation of the circuit, and the like, it is not intended to limit the scope of the invention, and a more specific configuration example will be described.

圖2係顯示馬達驅動電路100之具體之構成例之方塊圖。反轉制動控制部114包含週期測定部118及判定部120。週期測定部118係測定矩形信號S2之週期(高位準區間、低位準區間各者之長度,即半週期),並將表示所測定之週期之資料(週期資料)S5輸出至判定部120。 FIG. 2 is a block diagram showing a specific configuration example of the motor drive circuit 100. The reverse brake control unit 114 includes a cycle measuring unit 118 and a determining unit 120. The period measuring unit 118 measures the period of the rectangular signal S2 (the length of each of the high level interval and the low level interval, that is, the half period), and outputs the data (period data) S5 indicating the measured period to the determining unit 120.

判定部120係將週期資料S5所顯示之當前之週期TCUR與保持於記憶體之過去之週期TPRE比較,若其等之大小關係滿足特定之條件(第1條件),則確立(例如高位準)結束信號S7。又,判定部120係於開始反轉制動後,若經過特定時間TEND則確立結束信號S7。通電控制部112係若結束信號S7被確立則結束反轉制動。 The determination unit 120 compares the current period T CUR displayed on the period data S5 with the past period T PRE held in the memory, and establishes (for example, the high position) if the magnitude relationship of the equal value satisfies the specific condition (first condition). The signal is terminated by S7. Further, the determination unit 120 establishes the end signal S7 when the specific time T END has elapsed after the start of the reverse rotation braking. The energization control unit 112 terminates the reverse braking when the end signal S7 is established.

接著說明馬達驅動電路100之動作。圖3(a)、(b)係圖1之馬達驅動電路100之動作波形圖。首先參照圖3(a),說明第2條件之反轉制動之結束。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。隨著馬達2之旋轉數之上昇,矩形信號S2之週期持續變短。 Next, the operation of the motor drive circuit 100 will be described. 3(a) and 3(b) are diagrams showing the operation waveforms of the motor drive circuit 100 of Fig. 1. First, referring to Fig. 3(a), the end of the reverse braking of the second condition will be described. At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. As the number of rotations of the motor 2 rises, the period of the rectangular signal S2 continues to become shorter.

若於時刻t1控制指令S1成為指示停止之低位準,則通電控制部 112開始反轉制動。藉由反轉制動而轉子減速,且矩形信號S2之週期持續變長。然後於自時刻t1經過特定時間TEND後之時刻t2,結束信號S7確立,而結束反轉制動。 When the control command S1 becomes the low level indicating the stop at time t1, the energization control unit 112 starts reverse rotation braking. The rotor is decelerated by reverse braking, and the period of the rectangular signal S2 continues to be long. Then, at time t2 after the lapse of the specific time T END from the time t1, the end signal S7 is established, and the reverse braking is ended.

接著參照圖3(b),說明第1條件之反轉制動之結束。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。於其後之時刻t3,於馬達2之旋轉數上昇前控制指令S1成為低位準,指示馬達2之停止,且通電控制部112開始反轉制動。 Next, referring to Fig. 3(b), the end of the reverse braking of the first condition will be described. At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. At the subsequent time t3, before the number of rotations of the motor 2 rises, the control command S1 becomes a low level, and the stop of the motor 2 is instructed, and the energization control unit 112 starts reverse rotation braking.

週期測定部118係於每個循環測定矩形信號S2之週期TP0、TP1、TP2、TP3…。於第i個循環中,比較當前之週期TCUR(=TPi)與過去之週期TPRE(=TPi-1)。此處,過去之週期TPRE係上一個循環之週期TPThe period measuring unit 118 measures the periods T P0 , T P1 , T P2 , T P3 , ... of the rectangular signal S2 every cycle. In the i-th cycle, the current period T CUR (=T Pi ) is compared with the past period T PRE (=T Pi-1 ). Here, the past period T PRE is the period T P of the previous cycle.

於剛開始反轉制動後之期間Ta,TPi>TPi-1成立。即矩形信號S2之週期逐漸變長,且轉子減速。若於時刻t4檢測出TP3>TP2且第1條件充足則結束信號S7確立,而結束反轉制動。 During the period after the start of the reverse braking, Ta Pi > T Pi-1 is established. That is, the period of the rectangular signal S2 gradually becomes longer, and the rotor is decelerated. When T P3 > T P2 is detected at time t4 and the first condition is sufficient, the end signal S7 is established, and the reverse braking is ended.

以上為馬達驅動電路100之動作。於短暫之通常驅動後,若持續施加反轉制動,則轉子朝反方向加速。相對於此,根據第1實施形態之馬達驅動電路100,測定矩形信號S2之週期TP,若檢測出TCUR<TPRE,則視為轉子為向反方向反旋轉者,而可直接停止反轉制動。 The above is the operation of the motor drive circuit 100. After a brief normal drive, if the reverse brake is continuously applied, the rotor accelerates in the opposite direction. On the other hand, according to the motor drive circuit 100 of the first embodiment, the period T P of the rectangular signal S2 is measured, and when T CUR <T PRE is detected, it is considered that the rotor is reversely rotated in the reverse direction, and the reverse can be directly stopped. Turn the brakes.

圖4係顯示反轉制動控制部114之構成例之方塊圖。判定部120包含判定第1條件、第2條件各者之第1判定部120a、第2判定部120b。第2判定部120b係包含定時器電路160,且測定反轉制動開始後之經過時間,於經過特定時間TEND後,確立結束信號S7b。特定時間TEND係基於特定之位址之暫存器162之值而設定。特定時間TEND係較理想為可經由I2C(Inter IC:內部IC)匯流排等之介面,自外部之主處理器設定。 FIG. 4 is a block diagram showing a configuration example of the reverse brake control unit 114. The determination unit 120 includes a first determination unit 120a and a second determination unit 120b that determine each of the first condition and the second condition. The second determination unit 120b includes the timer circuit 160, and measures the elapsed time after the start of the reverse brake, and after the lapse of the specific time T END , the end signal S7b is established. The specific time T END is set based on the value of the register 162 of the specific address. The specific time T END is preferably set by an external host processor via an interface such as an I 2 C (Inter IC: internal IC) bus.

第1判定部120a包含記憶體150、比較器152、相加器154、及暫存器156。記憶體150係保持過去之週期TPRE。如上述般,過去之週期 TPRE可為上一個週期TP,亦可為過去之複數個週期TP之平均值。 The first determination unit 120a includes a memory 150, a comparator 152, an adder 154, and a register 156. The memory 150 maintains the past period T PRE . As described above, the past period T PRE may be the previous period T P or may be the average of the past plurality of periods T P .

因霍爾元件之安裝位置、或磁場之不均,於轉子以固定速度旋轉之情形時,矩形信號S2之週期TP亦未必固定,有變動之情形。該情況係指於單純比較當前之週期TPi與前次之週期TPi-1之情形時,可能誤檢測轉子之逆旋轉。為了防止該誤檢測,第1判定部120a修正週期TCURWhen the rotor is rotated at a fixed speed due to the mounting position of the Hall element or the unevenness of the magnetic field, the period T P of the rectangular signal S2 is not necessarily fixed and may be changed. This case refers to a case where the reverse rotation of the rotor may be erroneously detected when the current period T Pi and the previous period T Pi-1 are simply compared. In order to prevent this erroneous detection, the first determining unit 120a corrects the period T CUR .

相加器154係於當前之週期TCUR加上修正值TCORR,而產生修正後之週期TCUR’。修正值TCORR係0以上(≧0),基於特定之位址之暫存器156之值而設定。特定值TCORR係較理想為可經由I2C(Inter IC)匯流排等之介面,自外部之主處理器設定。修正值TCORR之最佳值係根據馬達2之種類、極數、或連接於其轉子之負載、慣性力矩等決定即可。 The adder 154 is tied to the current period T CUR plus the correction value T CORR to produce a corrected period T CUR '. The correction value T CORR is 0 or more (≧0), and is set based on the value of the register 156 of the specific address. The specific value T CORR is preferably set by an external host processor via an interface such as an I 2 C (Inter IC) bus. The optimum value of the correction value T CORR may be determined according to the type of the motor 2, the number of poles, or the load connected to the rotor, the moment of inertia, and the like.

比較器152係比較修正後之當前之週期TCUR’與過去之週期TPRE,且於滿足TCUR’≦TPRE The comparator 152 compares the corrected current period T CUR ' with the past period T PRE and satisfies T CUR '≦T PRE

時,換言之滿足TCUR+TCORR≦TPRE In other words, in other words, satisfy T CUR +T CORR ≦T PRE

時確立結束信號S7a。 The end signal S7a is established.

邏輯閘164係若結束信號S7a、S7b之至少一者確立,則確立結束信號S7。例如邏輯閘164亦可由OR(或)閘構成。 The logic gate 164 establishes the end signal S7 when at least one of the end signals S7a and S7b is established. For example, the logic gate 164 may also be constructed of an OR gate.

根據該反轉制動控制部114,根據修正值TCORR,可調節轉子之反轉檢測之感度。藉由可利用暫存器156自外部設定修正值TCORR,可對馬達驅動電路100所使用之平台實現最佳之控制。 According to the reverse brake control unit 114, the sensitivity of the reverse rotation detection of the rotor can be adjusted based on the correction value T CORR . The optimum control of the platform used by the motor drive circuit 100 can be achieved by externally setting the correction value T CORR using the register 156.

以上,基於第1實施形態對本發明之某態樣進行了說明。本領域技術人員應理解第1實施形態係例示,於其等之各構成要素或各處理製程之組合可有各種變化例,又,如此之變化例亦在本發明之範圍內。以下,針對如此之變化例進行說明。 Hereinabove, a certain aspect of the present invention has been described based on the first embodiment. It will be understood by those skilled in the art that the first embodiment is exemplified, and various modifications may be made in the various components or combinations of the various processes, and such variations are also within the scope of the invention. Hereinafter, such a variation will be described.

(第1變化例) (First variation)

於圖4中,修正了當前之週期TCUR,但亦可相反地修正過去之週期TPRE。該情形時,亦可自記憶體150所讀出之值減去修正值TCORR,產生修正後之週期TPRE’,而比較TPRE與TCURIn Fig. 4, the current period T CUR is corrected, but the past period T PRE can be reversed . In this case, the correction value T CORR may be subtracted from the value read by the memory 150 to generate the corrected period T PRE ', and T PRE and T CUR may be compared.

(第2變化例) (2nd variation)

於第1實施形態中,於開始反轉制動後,若經過特定時間TEND,則結束反轉制動,但本發明並未限定於此。圖5係第2變化例之反轉制動控制部114a之方塊圖。於第2變化例中,亦可將於反轉制動之期間產生之矩形信號S2之切換次數(邊緣之個數)超過臨限值作為第2條件。 In the first embodiment, after the inversion brake is started, if the specific time T END elapses, the reverse braking is terminated, but the present invention is not limited thereto. Fig. 5 is a block diagram showing the reverse brake control unit 114a of the second modification. In the second variation, the number of times of switching (the number of edges) of the rectangular signal S2 generated during the reverse braking may be exceeded as the second condition as the second condition.

第2判定部120b包含邊緣計數器170、比較器172、及暫存器174。邊緣計數器170係於反轉制動開始後,計數矩形信號S2之邊緣之個數。比較器172係將邊緣計數器170之計數值S4與特定之臨限值D進行比較,若S4>D,則確立結束信號S7b。臨限值D係基於特定之位址之暫存器174之值而設定。臨限值D係較理想為可經由I2C(Inter IC)匯流排等之介面,自外部之主處理器設定。 The second determination unit 120b includes an edge counter 170, a comparator 172, and a register 174. The edge counter 170 counts the number of edges of the rectangular signal S2 after the start of the reverse braking. The comparator 172 compares the count value S4 of the edge counter 170 with the specific threshold value D, and if S4 > D, the end signal S7b is established. The threshold D is set based on the value of the register 174 of the specific address. The threshold D is preferably set by an external host processor via an interface such as an I 2 C (Inter IC) bus.

(第3變化例) (3rd variation)

於第1實施形態中,於滿足第1條件、第2條件之任一者之情形時結束反轉制動,但亦可省略第2條件。該情形時,亦可省略圖4之定時器電路160及邏輯閘164。 In the first embodiment, when the first condition or the second condition is satisfied, the reverse braking is ended, but the second condition may be omitted. In this case, the timer circuit 160 and the logic gate 164 of FIG. 4 may be omitted.

(第4變化例) (fourth variation)

於第1實施形態中,基於當前之週期TCUR與過去之週期TPRE之大小關係而結束反轉制動,但本發明並未限定於此。亦可例如注目於連續之複數個(例如3個以上)週期,於週期觀察到縮短傾向時,結束反轉制動。 In the first embodiment, the reverse braking is terminated based on the magnitude relationship between the current period T CUR and the past period T PRE , but the present invention is not limited thereto. For example, it is possible to pay attention to a plurality of consecutive (for example, three or more) cycles, and when the shortening tendency is observed in the cycle, the reverse braking is ended.

(第5變化例) (5th variation)

霍爾比較器102亦可內置於包含霍爾元件4之霍爾IC。或霍爾元件4亦可內置於馬達驅動電路100。 The Hall comparator 102 can also be built in a Hall IC including the Hall element 4. Alternatively, the Hall element 4 may be built in the motor drive circuit 100.

(第6變化例) (Sixth variation)

於第1實施形態中,說明了利用來自霍爾元件之霍爾信號進行轉流控制,而進行防止反轉之控制之馬達驅動電路100,但亦可替代來自霍爾元件之霍爾信號,使用其以外之包含旋轉數資訊之信號。 In the first embodiment, the motor drive circuit 100 that performs the control of preventing the inversion by using the Hall signal from the Hall element is described. However, instead of the Hall signal from the Hall element, the Hall signal may be used instead. Other than the signal containing the rotation number information.

(第2實施形態) (Second embodiment)

關於第2實施形態,參照圖1進行說明。關於基本構成,因與第1實施形態相同,故省略關於共通點之說明,而說明其不同點。 The second embodiment will be described with reference to Fig. 1 . Since the basic configuration is the same as that of the first embodiment, the description of the common points will be omitted, and the differences will be described.

於控制部110,輸入有指示馬達2之旋轉/停止之控制指令S1。控制部110係若於使馬達2朝某方向(設為正轉方向)旋轉之通常驅動狀態下,接收馬達2之停止指示,則以與至此為止之通常驅動狀態相應之輸出施加反轉制動。 A control command S1 for instructing rotation/stop of the motor 2 is input to the control unit 110. When the control unit 110 receives the stop instruction of the motor 2 in the normal drive state in which the motor 2 is rotated in a certain direction (the forward rotation direction), the control unit 110 applies the reverse brake to the output corresponding to the normal drive state up to now.

控制部110包含通電控制部112、及反轉制動控制部114。通電控制部112係進行與矩形信號S2同步之轉流控制。反轉制動控制部114係控制反轉制動之輸出。具體而言反轉制動控制部114係基於施加反轉制動前之通常驅動狀態,而使反轉制動之輸出變化。馬達驅動電路100進行PWM控制之情形時,反轉制動控制部114係可使施加至馬達2之驅動電壓Vo+/Vo-之占空比變化,而使反轉制動之輸出變化。 The control unit 110 includes an energization control unit 112 and an inversion brake control unit 114. The energization control unit 112 performs the commutation control synchronized with the rectangular signal S2. The reverse brake control unit 114 controls the output of the reverse brake. Specifically, the reverse brake control unit 114 changes the output of the reverse brake based on the normal drive state before the reverse brake is applied. When the motor drive circuit 100 performs PWM control, the reverse brake control unit 114 changes the duty ratio of the drive voltage Vo+/Vo- applied to the motor 2, and changes the output of the reverse brake.

以上為第2實施形態之馬達驅動電路100之構成。接著說明其動作。 The above is the configuration of the motor drive circuit 100 of the second embodiment. Next, the operation will be described.

於控制指令S1指示轉子之旋轉之期間,通電控制部112係基於矩形信號S2進行轉流控制,且對馬達2供給具有與目標旋轉數相應之占空比之驅動電壓Vo+/Vo-。通常驅動狀態之占空比可為固定值,或亦可為100%。 While the control command S1 indicates the rotation of the rotor, the energization control unit 112 performs the commutation control based on the rectangular signal S2, and supplies the motor 2 with the drive voltage Vo+/Vo- having a duty ratio corresponding to the target number of rotations. The duty cycle of the normally driven state can be a fixed value, or can be 100%.

反轉制動控制部114係監視通常驅動狀態。反轉制動控制部114係 可基於監視結果,而推定馬達2之轉子於正轉方向具有多少扭矩。因此,於推定為轉子於正轉方向具有足夠大之扭矩之情形時,以較大之輸出(額定輸出)施加反轉制動,於推定為正轉方向之扭矩較小之情形時,使反轉制動降低至較額定輸出低,或設為零輸出即不施加反轉制動。 The reverse brake control unit 114 monitors the normal drive state. Reverse brake control unit 114 Based on the monitoring result, it is estimated how much torque the rotor of the motor 2 has in the forward rotation direction. Therefore, when it is estimated that the rotor has a sufficiently large torque in the forward rotation direction, reverse rotation is applied with a larger output (rated output), and when the torque in the forward rotation direction is estimated to be small, the reverse rotation is performed. The brake is reduced to a lower than the rated output, or set to zero output, ie no reverse braking is applied.

藉此,可防止藉由反轉制動賦予至轉子之反方向扭矩超過賦予至通常驅動狀態之順方向扭矩,而防止轉子逆旋轉。 Thereby, it is possible to prevent the torque in the reverse direction given to the rotor by the reverse rotation from exceeding the torque in the forward direction given to the normal driving state, thereby preventing the rotor from rotating in the reverse direction.

與第2實施形態相關聯之發明係涉及作為圖1之方塊圖或電路圖而掌握,或自上述之說明導入之各種裝置、電路者,並非限定於特定之構成。以下,並非為了縮小本發明之範圍,而為了幫助發明之本質或電路動作之理解,且將其等明確化,說明更具體之構成例。 The invention relating to the second embodiment is not limited to a specific configuration, and is not limited to a specific configuration, which is known as a block diagram or a circuit diagram of FIG. 1 or various devices and circuits introduced from the above description. In the following, in order to simplify the scope of the present invention, and to understand the nature of the invention or the understanding of the operation of the circuit, and to clarify the details, a more specific configuration example will be described.

圖6係第2實施形態之第1實施例之馬達驅動電路100a之方塊圖。 Fig. 6 is a block diagram showing a motor drive circuit 100a according to the first embodiment of the second embodiment.

馬達驅動電路100a之反轉制動控制部114a係根據於通常驅動狀態下產生之矩形信號S2之切換次數,而使反轉制動之輸出變化。反轉制動控制部114a包含邊緣計數器116、週期測定部118、及驅動部130。邊緣計數器116係於通常驅動狀態下,計測矩形信號S2之邊緣之個數。判定部120係根據邊緣計數器116之計數值S4,而使反轉制動之輸出變化。 The reverse brake control unit 114a of the motor drive circuit 100a changes the output of the reverse brake based on the number of times of switching of the rectangular signal S2 generated in the normal drive state. The reverse brake control unit 114a includes an edge counter 116, a period measuring unit 118, and a drive unit 130. The edge counter 116 measures the number of edges of the rectangular signal S2 in the normal driving state. The determination unit 120 changes the output of the reverse brake based on the count value S4 of the edge counter 116.

例如控制部110(判定部120)係於(i)控制指令S1指示馬達之停止時,若表示至此為止所計數之矩形信號S2之邊緣之個數之計數值S4大於特定之臨限值A之情形時,以額定輸出施加反轉制動。額定輸出例如可為70~100%之範圍之占空比。 For example, when the control unit 110 (determination unit 120) indicates that the control command S1 instructs the stop of the motor, the count value S4 indicating the number of edges of the rectangular signal S2 counted up to this point is larger than the specific threshold value A. In the case, reverse braking is applied at the rated output. The rated output can be, for example, a duty ratio in the range of 70 to 100%.

例如,臨限值A亦可定為轉子旋轉1周(機械角為360°)以下。如為例如3極無刷馬達,轉子旋轉1周產生6次矩形信號S2之邊緣,旋轉半周產生3次。因此可設為A=3~6左右。如為2極無刷馬達,由於轉子旋轉1周產生2次矩形信號S2之邊緣,旋轉半周產生1次,故可設為 A=1~2。 For example, the threshold A may be set to be less than one revolution of the rotor (the mechanical angle is 360°). For example, for a 3-pole brushless motor, the rotor rotates for 1 week to produce the edge of the rectangular signal S2 six times, and the rotation half-cycle produces three times. Therefore, it can be set to A=3~6. In the case of a 2-pole brushless motor, since the edge of the rectangular signal S2 is generated twice by one rotation of the rotor, and the rotation is performed once every half cycle, it can be set to A=1~2.

臨限值A可根據馬達2之種類、極數、或連接於其轉子之負載、慣性力矩等決定,可設為1~20左右。 The threshold A can be determined according to the type of the motor 2, the number of poles, or the load connected to the rotor, the moment of inertia, etc., and can be set to about 1 to 20.

相反的,控制部110(判定部120)係(ii)於至此為止所計數之矩形信號S2之邊緣之個數小於特定之臨限值A時,使反轉制動之輸出自定額輸出降低。於本實施形態中,控制部110係於所計測之矩形信號之邊緣之個數小於特定之臨限值A時,不施加反轉制動。即反轉制動之輸出係設定為占空比=0%。 Conversely, when the number of edges of the rectangular signal S2 counted up to this point (ii) is less than the specific threshold A, the control unit 110 (determination unit 120) lowers the output of the reverse brake from the fixed output. In the present embodiment, the control unit 110 does not apply reverse braking when the number of edges of the measured rectangular signal is smaller than the specific threshold A. That is, the output of the reverse brake is set to the duty ratio = 0%.

週期測定部118係於施加反轉制動之期間,測定矩形信號S2之週期(高位準區間、低位準區間各者之長度,即半週期),並將表示所測定之週期之資料(週期資料)S5輸出至判定部120。若週期資料S5表示之週期較特定之臨限值B長,則判定部120結束反轉制動。 The period measuring unit 118 measures the period of the rectangular signal S2 (the length of each of the high level interval and the low level interval, that is, the half period) during the period in which the reverse braking is applied, and displays the data of the measured period (period data). S5 is output to the determination unit 120. When the period indicated by the period data S5 is longer than the specific threshold B, the determination unit 120 ends the reverse braking.

臨限值A係較理想為可根據儲存於某位址之暫存器之設定資料而設定。同樣,臨限值B亦較理想為可根據儲存於某位址之暫存器之設定資料而設定。該等臨限值A、B係因根據馬達2之種類、極有或用途而最佳值不同,故搭載馬達驅動電路100之機器之設計者藉由可選擇臨限值A、B,可對各種平台實現最佳之控制。 The threshold A is preferably set according to the setting data of the register stored in a certain address. Similarly, the threshold B is preferably set to be set according to the setting data of the register stored in a certain address. Since the thresholds A and B are different depending on the type, the extreme use or the use of the motor 2, the designer of the machine equipped with the motor drive circuit 100 can select the thresholds A and B. The best control is achieved by various platforms.

以上為馬達驅動電路100a之構成。接著說明其動作。 The above is the configuration of the motor drive circuit 100a. Next, the operation will be described.

圖7(a)、(b)係圖6之馬達驅動電路100a之動作波形圖。本說明書中之波形圖或時序圖之縱軸及橫軸係為了容易理解而適當放大、縮小者,又,所示之各波形亦為了容易理解而被簡化,或被誇張或強調。 7(a) and 7(b) are diagrams showing the operation waveforms of the motor drive circuit 100a of Fig. 6. The vertical axis and the horizontal axis of the waveform diagram or the timing chart in the present specification are appropriately enlarged and reduced for easy understanding, and the waveforms shown are also simplified or exaggerated or emphasized for easy understanding.

參照圖7(a)。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。隨著馬達2之旋轉數之上昇,矩形信號S2之週期持續變短。計數值S4係隨著馬達2之旋轉而增加,且於時刻t1到達邊緣計數器116之上限值N。 Refer to Figure 7(a). At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. As the number of rotations of the motor 2 rises, the period of the rectangular signal S2 continues to become shorter. The count value S4 increases as the motor 2 rotates, and reaches the upper limit N of the edge counter 116 at time t1.

於時刻t2控制指令S1成為指示停止之低位準。於時刻t2,由於為 N>A,故以定額輸出施加反轉制動。藉由反轉制動而轉子減速,且矩形信號S2之週期持續變長。若於時刻t3矩形信號S2之週期TP超過臨限值B,則結束反轉制動期間。 At time t2, the control command S1 becomes a low level indicating the stop. At time t2, since N>A, reverse braking is applied at a constant output. The rotor is decelerated by reverse braking, and the period of the rectangular signal S2 continues to be long. If the period T P of the rectangular signal S2 exceeds the threshold B at time t3, the reverse braking period is ended.

參照圖7(b)。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。於其後之時刻t1,於馬達2之旋轉數上昇前控制指令S1成為低位準,指示馬達2之停止。 Refer to Figure 7(b). At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. At the subsequent time t1, the control command S1 becomes a low level before the number of rotations of the motor 2 rises, indicating the stop of the motor 2.

於時刻t1,邊緣之計數值S4係2,小於臨限值A(例如設為3)。因此不施加反轉制動,而藉由再生制動使轉子停止,或使轉子自然停止。 At time t1, the edge count value S4 is 2, which is less than the threshold A (for example, 3). Therefore, the reverse braking is not applied, but the rotor is stopped by regenerative braking, or the rotor is naturally stopped.

以上為馬達驅動電路100a之動作。於圖7(b)中,時刻t1之馬達之正轉方向之扭矩非常小。因此若於控制指令S1成為低位準時施加反轉制動,則轉子開始朝反方向旋轉。且於開始朝反方向旋轉後不久,若矩形信號S2之週期TP較臨限值B短,則有無法自反轉制動脫出,使轉子朝反方向進一步加速之虞。 The above is the operation of the motor drive circuit 100a. In Fig. 7(b), the torque in the forward direction of the motor at time t1 is very small. Therefore, if the reverse brake is applied when the control command S1 is at the low level, the rotor starts to rotate in the reverse direction. Further, shortly after the start of the rotation in the reverse direction, if the period T P of the rectangular signal S2 is shorter than the threshold B, there is a possibility that the rotor cannot be released from the reverse rotation and the rotor is further accelerated in the reverse direction.

相對於此,根據圖6之馬達驅動電路100a,於以通常驅動狀態測定之矩形信號S2之邊緣之個數小於臨限值A之情形時,推定為向正轉方向之扭矩為足夠小者,藉由不施加反轉制動,可防止轉子之逆轉。 On the other hand, in the motor drive circuit 100a of FIG. 6, when the number of edges of the rectangular signal S2 measured in the normal driving state is smaller than the threshold value A, it is estimated that the torque in the forward rotation direction is sufficiently small. The reverse rotation of the rotor can be prevented by not applying reverse braking.

又,第1實施例係與以下說明之第2實施例相比,具有以下優點。於第2實施例中,基於通常驅動狀態之長度,推定馬達之正轉方向之旋轉狀態,而切換是否應施加反轉制動,但於發生於轉子夾持有異物等異常時,即使通常驅動狀態之長度足夠長,正轉方向之扭矩亦較小,亦有因反轉制動而使轉子反旋轉之可能性。相對於此,因矩形信號S2之邊緣之個數大於臨限值A成為馬達朝正轉方向確實地旋轉之根據,故可防止於異常狀態轉子亦反旋轉。 Further, the first embodiment has the following advantages as compared with the second embodiment described below. In the second embodiment, the rotation state of the forward direction of the motor is estimated based on the length of the normal driving state, and whether or not reverse braking is applied is switched. However, even if an abnormality such as foreign matter is caught in the rotor, even the normal driving state is generated. The length is long enough, the torque in the forward direction is also small, and there is also the possibility of reverse rotation of the rotor due to reverse braking. On the other hand, since the number of edges of the rectangular signal S2 is larger than the threshold value A, the motor is reliably rotated in the normal rotation direction, so that the rotor can be prevented from rotating in the abnormal state.

圖8係第2實施例之馬達驅動電路100b之方塊圖。 Fig. 8 is a block diagram showing a motor drive circuit 100b of the second embodiment.

馬達驅動電路100b之反轉制動控制部114b係根據通常驅動狀態之 長度,而使反轉制動之輸出變化。反轉制動控制部114b係替代圖6之邊緣計數器116而具備定時器電路122。定時器電路122係測定通常驅動狀態之長度,且產生顯示測定之長度之區間長資料S6。定時器電路122亦可為於通常驅動狀態中,遞增計數(或遞減計數)時脈信號之數位定時器。於其他實施形態中定時器電路122亦可為類比定時器。判定部120係根據定時器電路122之測定時間,而使反轉制動之輸出變化。 The reverse brake control unit 114b of the motor drive circuit 100b is based on the normal drive state. The length changes the output of the reverse brake. The reverse brake control unit 114b is provided with a timer circuit 122 instead of the edge counter 116 of Fig. 6 . The timer circuit 122 measures the length of the normal driving state and generates a section length data S6 indicating the length of the measurement. The timer circuit 122 can also be a digital timer that increments (or counts down) the clock signal in the normal drive state. In other embodiments, the timer circuit 122 can also be an analog timer. The determination unit 120 changes the output of the reverse brake based on the measurement time of the timer circuit 122.

例如判定部120係若定時器電路122之測定時間超過特定之臨限值C,則以額定輸出施加反轉制動,以測定時間較臨限值C短之狀態指示停止時,不施加反轉制動,或使反轉制動之輸出降低。 For example, when the measurement time of the timer circuit 122 exceeds the specific threshold C, the determination unit 120 applies the reverse brake to the rated output, and when the measurement time is shorter than the threshold C, the reverse brake is not applied. , or reduce the output of the reverse brake.

以上為圖8之馬達驅動電路100b之構成。接著說明其動作。 The above is the configuration of the motor drive circuit 100b of FIG. Next, the operation will be described.

圖9(a)、(b)係圖8之馬達驅動電路100b之動作波形圖。參照圖9(a)。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。隨著馬達2之旋轉數之上昇,矩形信號S2之週期持續變短。顯示通常驅動狀態之長度之區間長資料S6係隨著時間而持續增大。因定時器電路122之位元寬為有限,故若區間長資料S6達到某上限值,則遞增計數停止。 9(a) and 9(b) are diagrams showing the operation waveforms of the motor drive circuit 100b of Fig. 8. Refer to Figure 9(a). At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. As the number of rotations of the motor 2 rises, the period of the rectangular signal S2 continues to become shorter. The section length data S6 showing the length of the normal driving state continues to increase with time. Since the bit width of the timer circuit 122 is limited, if the interval length data S6 reaches a certain upper limit value, the increment counting stops.

於時刻t2控制指令S1成為指示停止之低位準。於時刻t2,由於為S6>C,故以額定輸出施加反轉制動。藉由反轉制動而轉子減速,且矩形信號S2之週期持續變長。若於時刻t3矩形信號S2之週期TP超過臨限值B,則結束反轉制動期間。 At time t2, the control command S1 becomes a low level indicating the stop. At time t2, since S6>C, reverse braking is applied at the rated output. The rotor is decelerated by reverse braking, and the period of the rectangular signal S2 continues to be long. If the period T P of the rectangular signal S2 exceeds the threshold B at time t3, the reverse braking period is ended.

參照圖9(b)。於時刻t0控制指令S1成為指示旋轉之高位準。藉此控制部110開始向馬達2之通電。於其後時刻t1,於馬達2之旋轉數上昇前控制指令S1成為低位準,指示馬達2之停止。 Refer to Figure 9(b). At time t0, the control command S1 becomes a high level indicating the rotation. Thereby, the control unit 110 starts energization of the motor 2. At the subsequent time t1, the control command S1 becomes a low level before the number of rotations of the motor 2 rises, and the stop of the motor 2 is instructed.

於時刻t1,區間長資料S6小於臨限值C。因此不施加反轉制動,而藉由再生制動使轉子停止,或使轉子自然停止。 At time t1, the section length data S6 is smaller than the threshold value C. Therefore, the reverse braking is not applied, but the rotor is stopped by regenerative braking, or the rotor is naturally stopped.

以上為馬達驅動電路100b之動作。藉由馬達驅動電路100b,亦可獲得與圖6之馬達驅動電路100a相同之效果。 The above is the operation of the motor drive circuit 100b. The same effect as the motor drive circuit 100a of Fig. 6 can be obtained by the motor drive circuit 100b.

以上,基於第2實施形態對本發明之某態樣進行了說明。本領域技術人員應理解第2實施形態係例示,於其等之各構成要素或各處理製程之組合可有各種變化例,又,如此之變化例亦在本發明之範圍內。以下,針對如此之變化例進行說明。 Hereinabove, a certain aspect of the present invention has been described based on the second embodiment. It will be understood by those skilled in the art that the second embodiment is exemplified, and various modifications may be made in the various components or combinations of the various processes, and such variations are also within the scope of the invention. Hereinafter, such a variation will be described.

(第7變化例) (Seventh variation)

於第2實施形態中,於存在反旋轉之虞之情形時,將反轉制動之輸出設為零,但本發明並未限定於此。例如於存在反旋轉之虞之情形時,亦可將反轉制動之輸出設為大於零而小於定額輸出之值,例如5~30%左右。 In the second embodiment, the output of the reverse brake is set to zero when there is a reverse rotation, but the present invention is not limited thereto. For example, in the case where there is a reverse rotation, the output of the reverse brake may be set to be greater than zero and less than the value of the fixed output, for example, about 5 to 30%.

(第8變化例) (8th variation)

或者,亦可使存在反旋轉之虞之情形之反轉制動之輸出根據此前之通常驅動狀態而適應性地變化。例如,於通常驅動狀態測定之矩形信號S2之邊緣之個數越少,越可降低反轉制動之輸出,通常驅動狀態之長度越短,越可降低反轉制動之輸出。 Alternatively, the output of the reverse brake in the case where there is a reverse rotation may be adaptively changed in accordance with the previous normal driving state. For example, the smaller the number of edges of the rectangular signal S2 measured in the normal driving state, the lower the output of the reverse braking, and the shorter the length of the driving state, the lower the output of the reverse braking.

(第9變化例) (9th variation)

於第2實施形態中,若矩形信號S2之週期TP超過臨限值B,則結束反轉制動期間,但本發明並非限定於此。於第9變化例中,將於反轉制動之期間產生之矩形信號S2之切換次數(邊緣之個數)超過臨限值作為契機,而結束反轉制動。於對圖6之第1實施例應用第9變化例之情形時,可使用邊緣計數器116,計數反轉制動之期間內之矩形信號S2之邊緣之個數。判定部120係若反轉制動中產生之邊緣之個數S4超過臨限值D,則結束反轉制動。 In the second embodiment, when the period T P of the rectangular signal S2 exceeds the threshold value B, the reverse braking period is ended, but the present invention is not limited thereto. In the ninth modification, the number of times of switching (the number of edges) of the rectangular signal S2 generated during the reverse braking is exceeded as the threshold value, and the reverse braking is ended. In the case where the ninth modification is applied to the first embodiment of Fig. 6, the edge counter 116 can be used to count the number of edges of the rectangular signal S2 during the period of reverse braking. The determination unit 120 terminates the reverse braking when the number S4 of edges generated during reverse braking exceeds the threshold D.

於對圖8之第2實施例應用第9變化例之情形時,於反轉制動控制部114b,追加邊緣計數器116即可。 In the case where the ninth modification is applied to the second embodiment of Fig. 8, the edge counter 116 may be added to the reverse brake control unit 114b.

(第10變化例) (10th variation)

於第10變化例中,若反轉制動期間之長度達到特定時間TEND,則結束反轉制動。於對圖8之第2實施例應用第10變化例之情形時,使用定時器電路122,測定反轉制動之期間之長度即可。判定部120係將定時器電路122所測定之反轉制動之期間與特定時間TEND進行比較。 In the tenth modification, if the length of the reverse braking period reaches the specific time T END , the reverse braking is ended. In the case where the tenth modification is applied to the second embodiment of Fig. 8, the timer circuit 122 is used to measure the length of the period of reverse braking. The determination unit 120 compares the period of the reverse braking measured by the timer circuit 122 with the specific time T END .

於對圖6之第1實施例應用第10變化例之情形時,於反轉制動控制部114a追加定時器電路122即可。 In the case where the tenth modification is applied to the first embodiment of Fig. 6, the timer circuit 122 may be added to the reverse brake control unit 114a.

(第11變化例) (11th variation)

霍爾比較器102亦可內置於包含霍爾元件4之霍爾IC。或霍爾元件4亦可內置於馬達驅動電路100。 The Hall comparator 102 can also be built in a Hall IC including the Hall element 4. Alternatively, the Hall element 4 may be built in the motor drive circuit 100.

(第12變化例) (12th variation)

於第2實施形態中,說明了利用來自霍爾元件之霍爾信號進行轉流控制,而進行防止反轉之控制之馬達驅動電路100,但亦可替代來自霍爾元件之霍爾信號,使用其以外之包含旋轉數資訊之信號。 In the second embodiment, the motor drive circuit 100 that performs the inverter control by the Hall signal from the Hall element and performs the control for preventing the inversion is described. However, instead of the Hall signal from the Hall element, the Hall signal may be used instead. Other than the signal containing the rotation number information.

第1實施形態之任意特徵與第2實施形態之任意特徵可組合,其等之組合亦作為發明之一態樣而有效。 Any feature of the first embodiment can be combined with any of the features of the second embodiment, and combinations thereof are also effective as one aspect of the invention.

(用途) (use)

接著說明於第1或第2實施形態說明之馬達驅動電路100之用途。圖10(a)係具備馬達驅動電路100之電子機器300a之立體圖,圖10(b)係振動馬達單元之剖視圖。 Next, the use of the motor drive circuit 100 described in the first or second embodiment will be described. Fig. 10 (a) is a perspective view of an electronic device 300a including a motor drive circuit 100, and Fig. 10 (b) is a cross-sectional view of the vibration motor unit.

電子機器300係具有振動功能之器件,例如例示行動電話終端、智慧型電話、平板PC、便攜式遊戲機器、遊戲控制台之控制器等。於圖10(a)中,作為代表而顯示智慧型電話。 The electronic device 300 is a device having a vibration function, such as a mobile phone terminal, a smart phone, a tablet PC, a portable game machine, a controller of a game console, and the like. In Fig. 10(a), a smart phone is displayed as a representative.

電子機器300具備振動裝置302及主處理器304。振動裝置302係由馬達2及馬達驅動電路100一體構成,且以罩體覆蓋之振動馬達單元。如圖10(b)所示,於基板310上,安裝有馬達驅動電路100與線圈 312等。又於軸316安裝有墊圈314,被旋轉自如地支持。於軸316之前端,安裝有具有偏心之錘318a與埋入於其內周部之永久磁鐵318b之轉子318。振動裝置302全體係由罩體320覆蓋。 The electronic device 300 includes a vibration device 302 and a main processor 304. The vibration device 302 is a vibration motor unit that is integrally formed by the motor 2 and the motor drive circuit 100 and covered with a cover. As shown in FIG. 10(b), on the substrate 310, a motor drive circuit 100 and a coil are mounted. 312 and so on. Further, a washer 314 is attached to the shaft 316, and is rotatably supported. At the front end of the shaft 316, a rotor 318 having an eccentric hammer 318a and a permanent magnet 318b embedded in its inner peripheral portion is mounted. The entire system of the vibrating device 302 is covered by the cover 320.

馬達驅動電路100係對來自主處理器304之控制指令S1進行應答,而使馬達2旋轉。主處理器304可為基頻處理器或應用程式處理器。 The motor drive circuit 100 responds to the control command S1 from the main processor 304 to rotate the motor 2. The main processor 304 can be a baseband processor or an application processor.

圖11係其他構成之電子機器300b之立體圖。於馬達2之轉子中,安裝有偏心錘306。馬達2係無需霍爾元件之構成。 Fig. 11 is a perspective view of an electronic device 300b of another configuration. In the rotor of the motor 2, an eccentric weight 306 is mounted. The motor 2 does not require a Hall element.

以上為電子機器300a、300b之構成。藉由於振動裝置302採用實施形態之馬達驅動電路100,可防止因反轉制動使轉子逆旋轉而持續振動,且可立即停止振動。 The above is the configuration of the electronic devices 300a and 300b. Since the vibration device 302 employs the motor drive circuit 100 of the embodiment, it is possible to prevent the rotor from being rotated by the reverse rotation due to the reverse rotation, and the vibration can be immediately stopped.

雖基於實施形態,使用具體之用語對本發明進行說明,但實施形態只不過顯示本發明之原理、應用,於實施形態中,於不脫離申請專利範圍所規定之本發明之思想之範圍內,認可較多變化例或配置之變更。 The present invention has been described with reference to the specific embodiments of the present invention. However, the embodiments are merely illustrative of the principles and applications of the present invention. Many changes or configuration changes.

2‧‧‧馬達 2‧‧‧Motor

4‧‧‧霍爾元件 4‧‧‧ Hall element

100‧‧‧馬達驅動電路 100‧‧‧Motor drive circuit

102‧‧‧霍爾比較器 102‧‧‧Hall Comparator

110‧‧‧控制部 110‧‧‧Control Department

112‧‧‧通電控制部 112‧‧‧Power Control Department

114‧‧‧反轉制動控制部 114‧‧‧Reverse Brake Control Department

130‧‧‧驅動部 130‧‧‧ Drive Department

H+‧‧‧霍爾信號 H+‧‧‧ Hall signal

H-‧‧‧霍爾信號 H-‧‧‧ Hall signal

S1‧‧‧控制指令 S1‧‧‧ control instructions

S2‧‧‧矩形信號 S2‧‧‧Rectangular signal

S3‧‧‧驅動信號 S3‧‧‧ drive signal

Vo+‧‧‧驅動電壓 Vo+‧‧‧ drive voltage

Vo-‧‧‧驅動電壓 Vo-‧‧‧ drive voltage

Claims (33)

一種馬達驅動電路,其特徵在於包含:控制部,其係基於表示驅動對象之馬達之轉子之位置之矩形信號,而產生控制對上述馬達之線圈通電之驅動信號;及驅動部,其係基於上述驅動信號而驅動上述線圈;且上述控制部係於反轉制動之期間內,監視上述矩形信號之週期,若上述週期變短,則結束反轉制動。 A motor drive circuit comprising: a control unit that generates a drive signal for controlling energization of a coil of the motor based on a rectangular signal indicating a position of a rotor of a motor to be driven; and a drive unit based on the above The drive signal drives the coil; and the control unit monitors the period of the rectangular signal during the reverse braking period, and when the cycle is shortened, the reverse brake is ended. 如請求項1之馬達驅動電路,其中上述控制部係基於當前之週期與過去之週期之大小關係而結束反轉制動。 The motor drive circuit of claim 1, wherein the control unit ends the reverse braking based on a magnitude relationship between a current cycle and a past cycle. 如請求項2之馬達驅動電路,其中上述控制部係於將上述當前之週期設為TCUR、將上述過去之週期設為TPRE、將0以上之修正值設為TCORR時,當滿足TCUR+TCORR≦TPRE時結束上述反轉制動。 The motor drive circuit of claim 2, wherein the control unit is configured to set the current period to T CUR , to set the past period to T PRE , and to set a correction value of 0 or more to T CORR CUR +T CORR ≦T PRE ends the above reverse braking. 如請求項2之馬達驅動電路,其中上述控制部係於將上述當前之週期設為TCUR、將上述過去之週期設為TPRE時,當滿足TCUR<TPRE時結束上述反轉制動。 The motor drive circuit of claim 2, wherein the control unit ends the reverse brake when T CUR <T PRE is satisfied when the current period is T CUR and the past period is T PRE . 如請求項2至4中任一項之馬達驅動電路,其中上述過去之週期係於前次所測定之週期。 The motor drive circuit of any one of claims 2 to 4, wherein the past period is the period measured last time. 如請求項2至4中任一項之馬達驅動電路,其中上述過去之週期係基於歷經最近之特定次數所測定之複數個週期。 The motor drive circuit of any one of claims 2 to 4, wherein the past period is based on a plurality of cycles measured over a particular number of times. 如請求項1至4中任一項之馬達驅動電路,其進而包含霍爾比較器,該霍爾比較器係比較來自霍爾元件之彼此逆相之一對霍爾信號,且產生上述矩形信號。 The motor drive circuit of any one of claims 1 to 4, further comprising a Hall comparator that compares one of the Hall signals from the opposite phase of the Hall element to each other and generates the rectangular signal . 如請求項1至4中任一項之馬達驅動電路,其中上述控制部係於反轉制動之期間,若上述矩形信號之週期變得較特定之臨限值長,則結束反轉制動。 The motor drive circuit according to any one of claims 1 to 4, wherein the control unit is in a period of reverse braking, and if the period of the rectangular signal becomes longer than a specific threshold, the reverse braking is ended. 如請求項1至4中任一項之馬達驅動電路,其中上述控制部包含邊緣計數器,該邊緣計數器係於反轉制動之期間,計測上述矩形信號之邊緣之個數,若上述邊緣計數器之計數值超過特定之臨限值,則上述控制部結束反轉制動。 The motor drive circuit of any one of claims 1 to 4, wherein the control unit includes an edge counter that measures the number of edges of the rectangular signal during reverse braking, if the edge counter is When the value exceeds a certain threshold value, the control unit ends the reverse braking. 如請求項1至4中任一項之馬達驅動電路,其中上述控制部包含測定反轉制動之期間之長度之定時器電路,且若反轉制動之期間到達特定時間,則結束反轉制動。 The motor drive circuit according to any one of claims 1 to 4, wherein the control unit includes a timer circuit that measures a length of the reverse brake period, and if the period of the reverse brake reaches a specific time, the reverse brake is ended. 如請求項1至4中任一項之馬達驅動電路,其係於一個半導體基板一體集成化。 A motor drive circuit according to any one of claims 1 to 4, which is integrally integrated with a semiconductor substrate. 一種振動裝置,其特徵在於包含:振動馬達,其係於轉子安裝有偏心錘;及如請求項1至4中任一項之馬達驅動電路,其係使上述振動馬達旋轉。 A vibration device comprising: a vibration motor attached to an eccentric weight of a rotor; and a motor drive circuit according to any one of claims 1 to 4, wherein the vibration motor is rotated. 一種電子機器,其包含如請求項12之振動裝置。 An electronic machine comprising the vibration device of claim 12. 一種驅動方法,其特徵在於:其係馬達之驅動方法,且包含以下步驟:比較來自霍爾元件之彼此逆相之一對霍爾信號,且產生矩形信號;與上述矩形信號同步而對上述馬達之線圈通電;若收到停止上述馬達之指示,則施加反轉制動;及於上述反轉制動之期間內,監視上述矩形信號之週期,若上述週期變短,則結束反轉制動。 A driving method, characterized in that it is a driving method of a motor, and includes the steps of: comparing one of the inverse elements of the Hall elements from each other to a Hall signal, and generating a rectangular signal; synchronizing with the rectangular signal to the motor The coil is energized; when an instruction to stop the motor is received, reverse braking is applied; and during the reverse braking period, the period of the rectangular signal is monitored, and if the period is shortened, the reverse braking is ended. 一種馬達驅動電路,其特徵在於包含: 控制部,其係基於表示驅動對象之馬達之轉子之位置之矩形信號,而產生控制對上述馬達之線圈通電之驅動信號;及驅動部,其係基於上述驅動信號而驅動上述線圈;且上述控制部若於上述馬達之通常驅動狀態下接收到上述馬達之停止指示,則以與至此為止之通常驅動狀態相應之輸出施加反轉制動。 A motor drive circuit characterized by comprising: a control unit that generates a drive signal for controlling energization of a coil of the motor based on a rectangular signal indicating a position of a rotor of a motor to be driven, and a drive unit that drives the coil based on the drive signal; and the control When the stop instruction of the motor is received in the normal driving state of the motor, the reverse brake is applied to the output corresponding to the normal drive state up to now. 如請求項15之馬達驅動電路,其中上述控制部係根據於上述通常驅動狀態下產生之上述矩形信號之切換次數,而使上述反轉制動之輸出變化。 The motor drive circuit of claim 15, wherein the control unit changes the output of the reverse brake based on a number of times of switching of the rectangular signal generated in the normal driving state. 如請求項16之馬達驅動電路,其中上述控制部包含邊緣計數器,該邊緣計數器係於上述通常驅動狀態下,計測上述矩形信號之邊緣之個數,且上述控制部根據上述邊緣計數器之計數值,使上述反轉制動之輸出變化。 The motor drive circuit of claim 16, wherein the control unit includes an edge counter that measures the number of edges of the rectangular signal in the normal driving state, and the control unit is configured according to the count value of the edge counter. The output of the reverse brake described above is changed. 如請求項17之馬達驅動電路,其中上述控制部係於接收到上述馬達之停止指示時,於至此為止所計測之上述矩形信號之邊緣之個數小於特定之臨限值時,相較於較大時而降低上述反轉制動之輸出。 The motor drive circuit of claim 17, wherein the control unit receives the stop instruction of the motor, and when the number of edges of the rectangular signal measured so far is less than a specific threshold value, The output of the above reverse brake is reduced at a large time. 如請求項17之馬達驅動電路,其中上述控制部係於接收到上述馬達之停止指示時,於至此為止所計測之上述矩形信號之邊緣之個數小於特定之臨限值時,不施加反轉制動。 The motor drive circuit of claim 17, wherein the control unit receives the stop instruction of the motor, and does not apply the reversal when the number of edges of the rectangular signal measured so far is less than a specific threshold value brake. 如請求項15之馬達驅動電路,其中上述控制部係根據上述通常驅動狀態之長度,而使上述反轉制動之輸出變化。 The motor drive circuit of claim 15, wherein the control unit changes the output of the reverse brake according to the length of the normal drive state. 如請求項16之馬達驅動電路,其中上述控制部包含測定上述通常驅動狀態之長度之定時器電路,且根據上述定時器電路之測定時間,而使上述反轉制動之輸出變化。 The motor drive circuit of claim 16, wherein the control unit includes a timer circuit that measures a length of the normal drive state, and changes an output of the reverse brake according to a measurement time of the timer circuit. 如請求項21之馬達驅動電路,其中上述控制部係於接收到上述 馬達之停止指示時,於上述測定時間較特定之臨限值短時,相較於較長時而降低上述反轉制動之輸出。 The motor drive circuit of claim 21, wherein the control unit is configured to receive the above When the motor is stopped, when the measurement time is shorter than the specific threshold value, the output of the reverse brake is lowered as compared with the longer time. 如請求項21之馬達驅動電路,其中上述控制部係於接收到上述馬達之停止指示時,於上述測定時間較特定之臨限值短時,不施加上述反轉制動。 The motor drive circuit of claim 21, wherein the control unit receives the stop instruction of the motor, and does not apply the reverse brake when the measurement time is shorter than a specific threshold. 如請求項15至23中任一項之馬達驅動電路,其進而包含霍爾比較器,該霍爾比較器係比較來自霍爾元件之彼此逆相之一對霍爾信號,且產生上述矩形信號。 The motor drive circuit of any one of claims 15 to 23, further comprising a Hall comparator that compares one of the inverse phase signals from the Hall elements to each other and generates the rectangular signal . 如請求項15至23中任一項之馬達驅動電路,其中上述控制部係於反轉制動之期間,若上述矩形信號之週期變得較特定之臨限值長,則結束反轉制動。 The motor drive circuit according to any one of claims 15 to 23, wherein the control unit is in a period of reverse braking, and if the period of the rectangular signal becomes longer than a specific threshold, the reverse braking is ended. 如請求項15至23中任一項之馬達驅動電路,其中上述控制部包含邊緣計數器,該邊緣計數器係於反轉制動之期間,計測上述矩形信號之邊緣之個數,若上述邊緣計數器之計數值超過特定之臨限值,則上述控制部結束反轉制動。 The motor drive circuit of any one of claims 15 to 23, wherein the control unit includes an edge counter that measures the number of edges of the rectangular signal during reverse braking, if the edge counter is When the value exceeds a certain threshold value, the control unit ends the reverse braking. 如請求項15至23中任一項之馬達驅動電路,其中上述控制部包含測定反轉制動之期間之長度之定時器電路,且若反轉制動之期間到達特定時間,則結束反轉制動。 The motor drive circuit according to any one of claims 15 to 23, wherein the control unit includes a timer circuit that measures a length of the reverse brake period, and if the period of the reverse brake reaches a specific time, the reverse brake is ended. 如請求項15至23中任一項之馬達驅動電路,其係於一個半導體基板一體集成化。 A motor drive circuit according to any one of claims 15 to 23, which is integrally integrated with a semiconductor substrate. 一種振動裝置,其特徵在於包含:振動馬達,其係於轉子安裝有偏心錘;及如請求項15至23中任一項之馬達驅動電路,其係使上述振動馬達旋轉。 A vibration device comprising: a vibration motor attached to an eccentric weight of a rotor; and a motor drive circuit according to any one of claims 15 to 23, wherein the vibration motor is rotated. 一種電子機器,其特徵在於包含如請求項29之振動裝置。 An electronic machine characterized by comprising a vibrating device as claimed in claim 29. 一種驅動方法,其特徵在於:其係馬達之驅動方法,且包含以 下步驟:比較來自霍爾元件之彼此逆相之一對霍爾信號,且產生矩形信號;與上述矩形信號同步而對上述馬達之線圈通電;及若於上述馬達之通常驅動狀態下產生上述馬達之停止指示,則以與至此為止之通常驅動狀態相應之輸出施加反轉制動。 A driving method, characterized in that it is a driving method of a motor, and includes a step of: comparing one of the inverse elements of the Hall element to the Hall signal, and generating a rectangular signal; energizing the coil of the motor in synchronization with the rectangular signal; and generating the motor if the motor is normally driven In the stop instruction, the reverse brake is applied to the output corresponding to the normal drive state up to this point. 如請求項31之驅動方法,其中上述施加反轉制動之步驟係根據於上述通常驅動狀態下產生之上述矩形信號之切換次數,而使上述反轉制動之輸出變化。 The driving method of claim 31, wherein the step of applying the reverse braking is to change the output of the reverse braking according to the number of times of switching of the rectangular signal generated in the normal driving state. 如請求項31之驅動方法,其中上述施加反轉制動之步驟係根據上述通常驅動狀態之長度,而使上述反轉制動之輸出變化。 The driving method of claim 31, wherein the step of applying the reverse braking is to change the output of the reverse braking according to the length of the normal driving state.
TW105112981A 2015-05-25 2016-04-26 Motor drive circuit, drive method, vibration device and electronic device TWI690146B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2015105729 2015-05-25
JP2015105728 2015-05-25
JP2015-105729 2015-05-25
JP2015-105728 2015-05-25
JP2016-079515 2016-04-12
JP2016079515A JP6739215B2 (en) 2015-05-25 2016-04-12 Motor drive circuit, vibration device, and electronic device

Publications (2)

Publication Number Publication Date
TW201703419A true TW201703419A (en) 2017-01-16
TWI690146B TWI690146B (en) 2020-04-01

Family

ID=57581903

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105112981A TWI690146B (en) 2015-05-25 2016-04-26 Motor drive circuit, drive method, vibration device and electronic device

Country Status (2)

Country Link
JP (1) JP6739215B2 (en)
TW (1) TWI690146B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7490602B2 (en) 2021-03-10 2024-05-27 株式会社東芝 Brushless motor drive unit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6831432B2 (en) * 2001-12-05 2004-12-14 Matsushita Electric Industrial Co., Ltd. Motor driving device and motor driving method
JP2007110779A (en) * 2005-10-11 2007-04-26 Matsushita Electric Ind Co Ltd Motor drive and driving method
JP2008022678A (en) * 2006-07-14 2008-01-31 Matsushita Electric Ind Co Ltd Electric motor drive unit and electric motor braking method
JP5016674B2 (en) * 2008-03-04 2012-09-05 旭化成エレクトロニクス株式会社 Motor control circuit, motor system, motor control method
MX349451B (en) * 2009-08-11 2017-07-31 Lg Electronics Inc * Control method of a laundry machine.

Also Published As

Publication number Publication date
JP2016220521A (en) 2016-12-22
TWI690146B (en) 2020-04-01
JP6739215B2 (en) 2020-08-12

Similar Documents

Publication Publication Date Title
US8604726B2 (en) Electronically commutated motor
US9106167B2 (en) Method and apparatus for driving a sensorless BLDC/PMSM motor
US10498265B2 (en) Motor drive control device and motor drive control method
JP6603638B2 (en) Motor drive control device and motor drive control method
JP5817021B2 (en) Motor drive circuit and motor unit including the same
JP6502916B2 (en) Motor drive control device and motor drive control method
JP6081734B2 (en) Semiconductor device, electronic device, and control signal generation method
JP2009240041A (en) Brushless motor controller and brushless motor
JP4578142B2 (en) Brushless DC motor drive device
JP2010045941A (en) Motor control circuit, fan driver for vehicle and motor control method
US9777738B2 (en) Anti-air-return system and method of fan
JP2004297901A (en) Control device for brushless motor
US10944351B2 (en) Motor drive control device and motor drive control method
TWI690146B (en) Motor drive circuit, drive method, vibration device and electronic device
JPH09294354A (en) Permanent-magnet motor
US8773055B2 (en) One-phase electronically commutated motor
CN106208843B (en) Motor drive circuit, vibration device, and electronic apparatus
EP3229367A1 (en) Power converter and control method of power converter
US9252690B2 (en) Generating a coil switching signal for a brushless DC motor
JP2016046874A (en) Dc motor driving device and ceiling embedded ventilation device comprising the same
US11979101B2 (en) Sensor-free commutation method
JP2020054030A (en) Abnormality detection device, motor device, abnormality detection method, and drive control method of motor
KR100594387B1 (en) Motor Control Device And Method Thereof
JP2012120354A (en) Motor controller
JP2010035312A (en) Dc motor controller

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees