TWI422140B - Lock protection and standby control circuit of motor driving apparatus - Google Patents

Lock protection and standby control circuit of motor driving apparatus Download PDF

Info

Publication number
TWI422140B
TWI422140B TW100118176A TW100118176A TWI422140B TW I422140 B TWI422140 B TW I422140B TW 100118176 A TW100118176 A TW 100118176A TW 100118176 A TW100118176 A TW 100118176A TW I422140 B TWI422140 B TW I422140B
Authority
TW
Taiwan
Prior art keywords
signal
lock
standby mode
motor
lock protection
Prior art date
Application number
TW100118176A
Other languages
Chinese (zh)
Other versions
TW201249094A (en
Inventor
Chia Jung Chang
Wei Line Chang
Original Assignee
Niko Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Niko Semiconductor Co Ltd filed Critical Niko Semiconductor Co Ltd
Priority to TW100118176A priority Critical patent/TWI422140B/en
Publication of TW201249094A publication Critical patent/TW201249094A/en
Application granted granted Critical
Publication of TWI422140B publication Critical patent/TWI422140B/en

Links

Landscapes

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

Description

用於馬達驅動裝置之鎖定保護與待機控制電路Locking protection and standby control circuit for motor drive

本發明係關於一種馬達驅動裝置,特別是關於一種利用脈波寬度調變信號控制馬達轉速之馬達驅動裝置。The present invention relates to a motor driving device, and more particularly to a motor driving device for controlling a motor speed using a pulse width modulation signal.

利用脈波寬度調變信號控制馬達轉速之技術係廣泛應用於直流馬達驅動電路。此技術利用頻率遠高於馬達換相速度之脈波寬度調變信號,透過調整脈波寬度調變信號之工作週期(duty cycle),即可調整充電電流對於馬達線圈之充電時間,進而控制線圈電流之大小及馬達轉速。The technique of controlling the motor speed using the pulse width modulation signal is widely applied to a DC motor drive circuit. This technology utilizes the pulse width modulation signal whose frequency is much higher than the motor commutation speed. By adjusting the duty cycle of the pulse width modulation signal, the charging current can be adjusted for the charging time of the motor coil, and then the coil is controlled. The magnitude of the current and the motor speed.

對於直流馬達驅動電路而言,有兩個重要的馬達運作狀態需納入考慮。首先,在馬達長時間不需運作的情況下,驅動電路必須能適時進入待機模式(standby mode)以節省耗能,同時對於馬達突然之啟動需求作好準備。此外,在馬達受到外力阻擋而無法順利轉動的情況下,驅動電路必須能正確判斷此馬達鎖定的現象,並改變充電電流對於馬達線圈的充電行為,以防止過熱損毀。For DC motor drive circuits, there are two important motor operating conditions to consider. First of all, in the case that the motor does not need to operate for a long time, the drive circuit must be able to enter the standby mode in time to save energy, and at the same time prepare for the sudden start of the motor. In addition, in the case where the motor is blocked by external force and cannot be smoothly rotated, the drive circuit must be able to correctly judge the phenomenon of the motor lock and change the charging behavior of the charging current to the motor coil to prevent overheating damage.

就前者而言,典型的方法是透過計算脈波寬度調變信號為低電位的持續時間,來判斷直流馬達驅動電路是否需進入待機模式。當脈波寬度調變信號為低電位的時間超過一預設時間長度,直流馬達驅動電路即進入待機模式,以節省功耗。In the former case, the typical method is to determine whether the DC motor drive circuit needs to enter the standby mode by calculating the duration of the pulse width modulation signal to a low potential. When the pulse width modulation signal is low for more than a predetermined length of time, the DC motor drive circuit enters the standby mode to save power.

就後者而言,典型的方法是在馬達因外力而停止轉動時,施以特殊的驅動控制。舉例來說,在偵測到馬達鎖定後(即馬達停止轉動超過一預定時間),即停止原本的脈波寬度調變信號,而改以一固定周期之脈波信號取代之,以便在馬達轉動障礙排除後能夠恢復馬達正常轉動。In the latter case, the typical method is to apply special drive control when the motor stops rotating due to external force. For example, after the motor lock is detected (ie, the motor stops rotating for more than a predetermined time), the original pulse width modulation signal is stopped, and the pulse wave signal of a fixed period is replaced to be rotated in the motor. After the obstacle is removed, the normal rotation of the motor can be resumed.

如前述,鎖定保護功能係透過偵測來自馬達的霍爾信號(hall signal),判斷馬達的轉動狀態以決定是否進行鎖定保護。待機模式則是透過偵測脈波寬度調變信號為低電位的持續時間,判斷是否進入待機模式。在鎖定保護狀態下,驅動電路所產生之脈波信號不同於待機模式與正常轉動時之脈波寬度調變信號。因此,如何適當地協調馬達鎖定保護與待機模式之操作,即為本領域一重要問題。As described above, the lock protection function determines the rotation state of the motor to determine whether or not to perform lock protection by detecting a hall signal from the motor. In the standby mode, it is determined whether the standby mode is entered by detecting the duration of the pulse width modulation signal being low. In the lock protection state, the pulse signal generated by the drive circuit is different from the pulse width modulation signal in the standby mode and the normal rotation. Therefore, how to properly coordinate the operation of the motor lock protection and standby mode is an important issue in the art.

有鑑於此,本發明之主要目的是提出一種馬達驅動裝置與用於此馬達驅動裝置之鎖定保護與待機控制電路,以協調馬達鎖定保護與待機模式之操作,並在適當的時候自動進入或脫離待機模式。In view of this, the main object of the present invention is to provide a motor driving device and a lock protection and standby control circuit for the motor driving device to coordinate the operation of the motor lock protection and standby mode, and automatically enter or leave when appropriate. Standby mode.

為達成上述目的,本發明提供一種馬達驅動裝置。此馬達驅動裝置包括一鎖定保護單元、一待機模式判斷單元與一馬達控制電路。其中,鎖定保護單元係接收一霍爾信號,並據以產生一鎖定信號。待機模式判斷單元接收一脈波寬度調變信號與來自鎖定保護單元之鎖定信號,並依據此脈波寬度調變信號與鎖定信號產生一待機模式控制信號。鎖定保護單元則是依據此待機模式控制信號,決定是否停止產生鎖定信號。馬達控制電路接收脈波寬度調變信號以控制馬達轉動,並依據前述待機模式控制信號與鎖定信號決定其運作模式。To achieve the above object, the present invention provides a motor driving device. The motor driving device includes a lock protection unit, a standby mode determining unit and a motor control circuit. The lock protection unit receives a Hall signal and generates a lock signal accordingly. The standby mode determining unit receives a pulse width modulation signal and a lock signal from the lock protection unit, and generates a standby mode control signal according to the pulse width modulation signal and the lock signal. The lock protection unit determines whether to stop generating the lock signal according to the standby mode control signal. The motor control circuit receives the pulse width modulation signal to control the rotation of the motor, and determines the operation mode according to the standby mode control signal and the lock signal.

本發明亦提供一種用於馬達驅動裝置之鎖定保護與待機控制電路。此鎖定保護與待機控制電路包括一鎖定保護單元與一待機模式判斷單元。鎖定保護單元係依據一馬達轉動信號產生一鎖定信號。待機模式判斷單元接收用以控制馬達轉動之脈波寬度調變信號與前述鎖定信號,並依據脈波寬度調變信號與鎖定信號產生一待機模式控制信號。此外,鎖定保護單元依據來自待機模式判斷單元之待機模式控制信號,決定是否停止鎖定信號。The present invention also provides a lock protection and standby control circuit for a motor drive device. The lock protection and standby control circuit includes a lock protection unit and a standby mode determination unit. The lock protection unit generates a lock signal based on a motor rotation signal. The standby mode determining unit receives the pulse width modulation signal for controlling the rotation of the motor and the lock signal, and generates a standby mode control signal according to the pulse width modulation signal and the lock signal. Further, the lock protection unit determines whether to stop the lock signal in accordance with the standby mode control signal from the standby mode determination unit.

關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.

第1圖係本發明直流馬達驅動裝置一較佳實施例之示意圖。如圖中所示,此直流馬達驅動裝置具有一鎖定保護與待機控制電路120、一馬達轉動偵測電路140與一馬達控制電路160。BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view showing a preferred embodiment of a DC motor driving device of the present invention. As shown in the figure, the DC motor driving device has a lock protection and standby control circuit 120, a motor rotation detecting circuit 140 and a motor control circuit 160.

馬達轉動偵測電路140係偵測馬達之轉動狀態,以產生一方波信號FG(亦即馬達轉動信號)。本實施例之馬達轉動偵測電路140具有一霍爾偵測器142用以偵測馬達之轉動狀態。在馬達轉動時,霍爾偵測器142會輸出一對頻率與馬達轉速相同之霍爾信號H+,H-。霍爾信號H+,H-經過磁滯比較器144轉換後,即會產生頻率與馬達轉速相依之方波信號FG。鎖定保護與待機控制電路120即可依據此方波信號FG判斷馬達轉動是否存在阻礙。The motor rotation detecting circuit 140 detects the rotation state of the motor to generate a square wave signal FG (that is, a motor rotation signal). The motor rotation detecting circuit 140 of this embodiment has a Hall detector 142 for detecting the rotation state of the motor. When the motor rotates, the Hall detector 142 outputs a pair of Hall signals H+, H- having the same frequency as the motor speed. After the Hall signal H+, H- is converted by the hysteresis comparator 144, a square wave signal FG whose frequency is dependent on the motor speed is generated. The lock protection and standby control circuit 120 can determine whether there is an obstacle to motor rotation based on the square wave signal FG.

鎖定保護與待機控制電路120具有一鎖定保護單元121與一待機模式判斷單元123。其中,鎖定保護單元121接收來自馬達轉動偵測電路140之方波信號FG,以產生一鎖定信號LOCK。為了防止產生誤判,鎖定保護單元121內具有一計數器(未圖示),以計算馬達停止轉動的時間長度。在鎖定保護單元121偵測到馬達停止轉動超過一第一預定時間長度後,即產生鎖定信號LOCK,通知馬達控制電路160啟動鎖定保護(lock protection)功能。舉例來說,馬達控制電路160在接收到鎖定信號LOCK後,可利用一固定周期之脈波信號取代原本之脈波寬度調變信號PWM來驅動馬達轉動,以防止長時間充電而燒毀電路,同時減少耗電。此外,在馬達的轉動障礙排除後,固定周期之脈波信號亦能夠自動使馬達恢復正常轉動。The lock protection and standby control circuit 120 has a lock protection unit 121 and a standby mode determination unit 123. The lock protection unit 121 receives the square wave signal FG from the motor rotation detecting circuit 140 to generate a lock signal LOCK. In order to prevent misjudgment, the lock protection unit 121 has a counter (not shown) for calculating the length of time during which the motor stops rotating. After the lock protection unit 121 detects that the motor stops rotating for more than a first predetermined length of time, a lock signal LOCK is generated to notify the motor control circuit 160 to activate a lock protection function. For example, after receiving the lock signal LOCK, the motor control circuit 160 can use a fixed-cycle pulse wave signal instead of the original pulse width modulation signal PWM to drive the motor to rotate to prevent charging for a long time and burn the circuit. Reduce power consumption. In addition, after the rotation of the motor is removed, the pulse signal of the fixed period can automatically return the motor to normal rotation.

待機模式判斷單元123接收一脈波寬度調變信號PWM與來自鎖定保護單元之鎖定信號LOCK,並依據此脈波寬度調變信號PWM與鎖定信號LOCK產生一待機模式控制信號STB,通知馬達控制電路160進入待機模式。此外,鎖定保護單元121亦依據來自待機模式判斷單元123之待機模式控制信號STB,決定是否停止產生鎖定信號LOCK。舉例來說,在待機模式控制信號STB顯示為待機模式時,鎖定保護單元121隨即停止產生鎖定信號LOCK,並且,在待機模式控制信號STB顯示系統從待機模式回復至正常模式後,鎖定保護單元121再度開始計算第一預定時間長度。The standby mode determining unit 123 receives a pulse width modulation signal PWM and a lock signal LOCK from the lock protection unit, and generates a standby mode control signal STB according to the pulse width modulation signal PWM and the lock signal LOCK to notify the motor control circuit. 160 enters standby mode. Further, the lock protection unit 121 also determines whether or not to stop generating the lock signal LOCK in accordance with the standby mode control signal STB from the standby mode determination unit 123. For example, when the standby mode control signal STB is displayed in the standby mode, the lock protection unit 121 then stops generating the lock signal LOCK, and after the standby mode control signal STB indicates that the system returns from the standby mode to the normal mode, the lock protection unit 121 is locked. The first predetermined length of time is again calculated.

第1A圖係本發明鎖定保護與待機控制電路120一較佳實施例之電路示意圖。如圖中所示,鎖定保護單元121具有一鎖定保護電路122、一震盪器127與一反向器128。鎖定保護電路122接收來自馬達轉動偵測電路140之方波信號FG,其內部並具有一計數器。震盪器127係用以產生計數器計算時間所需之一震盪信號OSC。鎖定保護電路122偵測到馬達停止轉動超過一第一預定時間長度後,隨即產生鎖定信號LOCK。1A is a circuit diagram of a preferred embodiment of the lock protection and standby control circuit 120 of the present invention. As shown in the figure, the lock protection unit 121 has a lock protection circuit 122, an oscillator 127 and an inverter 128. The lock protection circuit 122 receives the square wave signal FG from the motor rotation detecting circuit 140, and has a counter inside. The oscillator 127 is used to generate one of the oscillation signals OSC required for the counter calculation time. After the lock protection circuit 122 detects that the motor stops rotating for more than a first predetermined length of time, a lock signal LOCK is generated.

待機模式判斷單元123具有一延遲電路(De-glitch)125、一反向器126、一邏輯電路124。延遲電路125係用以防止雜訊對於脈波寬度調變信號PWM的影響。反向器126係用以將延遲電路125輸出之脈波寬度調變信號PWM轉換為反向脈波寬度調變信號PWMB。邏輯電路124(例如一正反器電路(flip-flop))接收此反向脈波寬度調變信號PWMB與來自鎖定保護單元121之鎖定信號LOCK,據以產生待機模式控制信號STB。The standby mode determining unit 123 has a delay circuit (De-glitch) 125, an inverter 126, and a logic circuit 124. The delay circuit 125 is used to prevent the influence of noise on the pulse width modulation signal PWM. The inverter 126 is configured to PWM convert the pulse width modulation signal outputted by the delay circuit 125 into a reverse pulse width modulation signal PWMB. The logic circuit 124 (e.g., a flip-flop) receives the reverse pulse width modulation signal PWMB and the lock signal LOCK from the lock protection unit 121 to generate a standby mode control signal STB.

鎖定保護單元121內之鎖定保護電路122係透過一反向器128接收此待機模式控制信號STB,並依據此待機模式控制信號STB決定是否停止產生鎖定信號LOCK並重新進行鎖定保護時間(即前述第一預定時間長度)之計算。舉例來說,在待機模式控制信號STB顯示為待機模式時,鎖定保護單元121隨即停止產生鎖定信號LOCK,並且,在待機模式控制信號STB顯示系統從待機模式回復至正常模式後,鎖定保護單元121再度開始計算第一預定時間長度。The lock protection circuit 122 in the lock protection unit 121 receives the standby mode control signal STB through an inverter 128, and determines whether to stop generating the lock signal LOCK and re-lock the guard time according to the standby mode control signal STB (ie, the foregoing The calculation of a predetermined length of time). For example, when the standby mode control signal STB is displayed in the standby mode, the lock protection unit 121 then stops generating the lock signal LOCK, and after the standby mode control signal STB indicates that the system returns from the standby mode to the normal mode, the lock protection unit 121 is locked. The first predetermined length of time is again calculated.

第1B與1C圖顯示本發明邏輯電路二個不同的實施例。如第1B圖所示,在第一實施例中,待機模式判斷單元223具有一邏輯電路224與一延遲電路225。此邏輯電路224係由三個反或閘(NOR)2242,2244,2246與一個反向器2248所構成。來自鎖定保護單元221之鎖定信號LOCK係透過反向器2248輸入至反或閘2242,此反或閘2242同時接收來自延遲電路225之脈波寬度調變信號PWM,並於脈波寬度調變信號PWM與鎖定信號LOCK之反向信號均為低電位時,輸出高電位信號。Figures 1B and 1C show two different embodiments of the logic circuit of the present invention. As shown in FIG. 1B, in the first embodiment, the standby mode determining unit 223 has a logic circuit 224 and a delay circuit 225. This logic circuit 224 is comprised of three inverse OR gates (NOR) 2242, 2244, 2246 and an inverter 2248. The lock signal LOCK from the lock protection unit 221 is input to the inverse gate 2242 through the inverter 2248, and the reverse gate 2242 receives the pulse width modulation signal PWM from the delay circuit 225 at the same time, and is modulated in the pulse width modulation signal. When the reverse signal of the PWM and the lock signal LOCK are both low, a high potential signal is output.

反或閘2244與2246係構成一反或閘栓鎖電路(RS latch)。其重置端係接收來自延遲電路225之脈波寬度調變信號PWM,設定端則是接收來自反或閘2242之輸出信號。當脈波寬度調變信號PWM為低電位,且設定端之信號為高電位以顯示鎖定信號LOCK為高電位,此反或閘栓鎖電路之輸出端即會輸出高電位之待機模式控制信號STB,通知系統進入待機狀態。The anti-gates 2244 and 2246 form a reverse or yoke lock circuit (RS latch). The reset terminal receives the pulse width modulation signal PWM from the delay circuit 225, and the set terminal receives the output signal from the inverse OR gate 2242. When the pulse width modulation signal PWM is low and the signal of the set terminal is high to indicate that the lock signal LOCK is high, the output of the reverse latch lock circuit outputs a high potential standby mode control signal STB. , the notification system enters the standby state.

鎖定保護單元221內之鎖定保護電路222係透過反向器228接收待機模式控制信號STB,並依據此待機模式控制信號STB決定是否停止產生鎖定信號LOCK並重新進行鎖定保護時間之計算。The lock protection circuit 222 in the lock protection unit 221 receives the standby mode control signal STB through the inverter 228, and determines whether to stop generating the lock signal LOCK and recalculate the lock guard time based on the standby mode control signal STB.

如第1C圖所示,在第二實施例中,待機模式判斷單元323具有一邏輯電路324與一延遲電路325。此邏輯電路324係由三個反及閘(NAND)3242,3244,3246與一個反向器3248所構成。來自延遲電路325之脈波寬度調變信號PWM經由反向器3248轉換為反向脈波寬度調變信號PWMB。來自鎖定保護單元321之鎖定信號LOCK係輸入至反及閘3242。此反及閘3242同時接收來自反向器3248之反向脈波寬度調變信號PWMB,並於反向脈波寬度調變信號PWMB與鎖定信號LOCK均為高電位時,輸出低電位信號。As shown in FIG. 1C, in the second embodiment, the standby mode determining unit 323 has a logic circuit 324 and a delay circuit 325. This logic circuit 324 is composed of three NAND gates 3242, 3244, 3246 and an inverter 3248. The pulse width modulation signal PWM from the delay circuit 325 is converted to a reverse pulse width modulation signal PWMB via the inverter 3248. The lock signal LOCK from the lock protection unit 321 is input to the inverse gate 3242. The inverse gate 3242 receives the reverse pulse width modulation signal PWMB from the inverter 3248 at the same time, and outputs a low potential signal when the reverse pulse width modulation signal PWMB and the lock signal LOCK are both high.

反及閘3244與3246係構成一反及閘栓鎖電路(RS latch)。其重置端係接收來自反向器3248之反向脈波寬度調變信號PWMB,設定端則是接收來自反及閘3242之輸出信號。當脈波寬度調變信號PWM為低電位,且設定端之信號為低電位以顯示鎖定信號LOCK為高電位,此反及閘栓鎖電路之輸出端即會輸出低電位之待機模式控制信號STB,通知系統進入待機狀態。The anti-gates 3244 and 3246 form a reverse latch lock circuit (RS latch). The reset terminal receives the reverse pulse width modulation signal PWMB from the inverter 3248, and the set terminal receives the output signal from the inverse gate 3242. When the pulse width modulation signal PWM is low and the signal at the set end is low to indicate that the lock signal LOCK is high, the output of the gate lock circuit outputs a low potential standby mode control signal STB. , the notification system enters the standby state.

不同於第1A圖與第1B圖之實施例,本實施例中,鎖定保護單元321內之鎖定保護電路322係不透過反向器,直接接收待機模式控制信號STB,並依據此待機模式控制信號STB決定是否停止產生鎖定信號LOCK並重新進行鎖定保護時間之計算。Different from the embodiment of FIG. 1A and FIG. 1B , in the embodiment, the lock protection circuit 322 in the lock protection unit 321 directly receives the standby mode control signal STB without passing through the inverter, and controls the signal according to the standby mode. The STB decides whether to stop generating the lock signal LOCK and recalculate the lock protection time.

第2圖係第1A圖之鎖定保護與待機控制電路120一較佳實施例之時序圖。如圖中所示,長時間不驅動馬達時,外界輸入之脈波寬度調變信號PWM後為低電位(對應至此停止驅動狀態),反向脈波寬度調變信號PWMB則是高電位。同時,由於馬達控制電路160並未接收到高電位之脈波寬度調變信號PWM,馬達的轉動也會停止。Figure 2 is a timing diagram of a preferred embodiment of the lock protection and standby control circuit 120 of Figure 1A. As shown in the figure, when the motor is not driven for a long time, the pulse width modulation signal PWM input from the outside is low (corresponding to the stop driving state), and the reverse pulse width modulation signal PWMB is high. At the same time, since the motor control circuit 160 does not receive the high-frequency pulse width modulation signal PWM, the rotation of the motor also stops.

邏輯電路124接收到高電位之反向脈波寬度調變信號PWMB後,並不立即輸出待機模式控制信號STB。如圖中所示,直到方波信號FG顯示馬達停止轉動達到第一預定時間長度T1,鎖定保護單元121產生鎖定信號LOCK,邏輯電路124才依據鎖定信號LOCK產生高電位之待機模式控制信號STB(對應於待機模式),使馬達控制電路160進入待機模式。After receiving the high potential reverse pulse width modulation signal PWMB, the logic circuit 124 does not immediately output the standby mode control signal STB. As shown in the figure, until the square wave signal FG indicates that the motor stops rotating for the first predetermined time length T1, the lock protection unit 121 generates the lock signal LOCK, and the logic circuit 124 generates the high-potential standby mode control signal STB according to the lock signal LOCK ( Corresponding to the standby mode), the motor control circuit 160 is brought into the standby mode.

邏輯電路124所輸出之高電位待機模式控制信號STB除了用以控制馬達控制電路160進入待機模式外,也用來控制鎖定保護單元121的運作。高電位之待機模式控制信號STB經過一反向器128轉換為低電位之控制信號EN。鎖定保護電路122接收到此低電位之控制信號EN後,隨即停止產生鎖定信號LOCK,並清除其內部之計數資料。因此,在待機模式下,邏輯電路124持續輸出高電位之待機模式控制信號STB,鎖定保護單元121也就不會產生鎖定信號LOCK。The high-potential standby mode control signal STB outputted by the logic circuit 124 is used to control the operation of the lock protection unit 121 in addition to controlling the motor control circuit 160 to enter the standby mode. The high potential standby mode control signal STB is converted to a low potential control signal EN via an inverter 128. After receiving the low-level control signal EN, the lock protection circuit 122 stops generating the lock signal LOCK and clears the internal count data. Therefore, in the standby mode, the logic circuit 124 continues to output the high-potential standby mode control signal STB, and the lock protection unit 121 does not generate the lock signal LOCK.

當脈波寬度調變信號PWM轉變為高電位以重新啟動馬達(即恢復正常驅動狀態),邏輯電路124依據轉變為低電位之反向脈波寬度調變信號PWMB,停止輸出高電位之待機模式控制信號STB,使馬達控制電路160恢復正常運作。在此同時,控制信號EN也會轉換為高電位,使鎖定保護電路122恢復正常運作。When the pulse width modulation signal PWM transitions to a high level to restart the motor (ie, returns to the normal driving state), the logic circuit 124 stops the output of the high potential standby mode according to the reverse pulse width modulation signal PWMB that is converted to the low potential. The control signal STB causes the motor control circuit 160 to resume normal operation. At the same time, the control signal EN is also switched to a high potential, causing the lock protection circuit 122 to resume normal operation.

如圖中所示,在外界輸入之脈波寬度調變信號PWM為高電位,但是方波信號FG顯示馬達仍未轉動之情況下,即表示馬達受到阻礙。鎖定保護單元121偵測到馬達停止轉動達到第一預定時間長度T1後,隨即產生高電位之鎖定信號LOCK。此時,由於外界持續輸入高電位之脈波寬度調變信號PWM,因此,邏輯電路124並不會產生高電位之待機模式控制信號STB,而是輸出低電位之待機模式控制信號STB顯示系統處於正常模式。馬達控制電路160接收到此鎖定信號LOCK,隨即改變其馬達驅動方式。舉例來說,可利用一固定周期之脈波信號取代原本之脈波寬度調變信號PWM,以防止長時間充電而燒毀電路,並減少耗電。As shown in the figure, the pulse width modulation signal PWM input to the outside is high, but the square wave signal FG indicates that the motor has not rotated, indicating that the motor is blocked. After the lock protection unit 121 detects that the motor stops rotating for the first predetermined time length T1, a high potential lock signal LOCK is generated. At this time, since the outside world continuously inputs the high-frequency pulse width modulation signal PWM, the logic circuit 124 does not generate the high-potential standby mode control signal STB, but outputs the low-potential standby mode control signal STB to indicate that the system is in the system. Normal mode. The motor control circuit 160 receives this lock signal LOCK and then changes its motor drive mode. For example, a fixed-cycle pulse wave signal can be used instead of the original pulse width modulation signal PWM to prevent charging for a long time to burn the circuit and reduce power consumption.

第3圖係本發明鎖定保護電路122一較佳實施例之示意圖。如圖中所示,此鎖定保護電路122具有一第一計數器1222、一第二計數器1224與一第三計數器1226。如圖中所示,方波信號FG為高電位時,第一計數器1222被重置,並於完成計數後,產生高電位之輸出信號C1。方波信號FG為低電位時,第二計數器1224被重置,並於完成計數後,產生高電位之輸出信號C2。因此,不論方波信號FG停留在高電位或是低電位,至少有一個計數器在計數完成後會產生高電位之輸出信號C1,C2,以產生高電位之鎖定信號LOCK。3 is a schematic diagram of a preferred embodiment of the lock protection circuit 122 of the present invention. As shown in the figure, the lock protection circuit 122 has a first counter 1222, a second counter 1224 and a third counter 1226. As shown in the figure, when the square wave signal FG is at a high potential, the first counter 1222 is reset, and after the counting is completed, a high potential output signal C1 is generated. When the square wave signal FG is at a low potential, the second counter 1224 is reset, and after the counting is completed, a high potential output signal C2 is generated. Therefore, regardless of whether the square wave signal FG stays at a high potential or a low potential, at least one of the counters generates a high-potential output signal C1, C2 after the counting is completed to generate a high-potential lock signal LOCK.

鎖定信號LOCK轉變為高電位時,第三計數器1226開始計數,並於完成計數後,產生高電位輸出信號C3,重置第一計數器1222與第二計數器1224,以迫使鎖定信號LOCK轉變為低電位。鎖定信號LOCK轉變為低電位後,又會重置第三計數器1226,使輸出信號C3轉變為低電位。When the lock signal LOCK transitions to a high level, the third counter 1226 starts counting, and after completing the counting, generates a high potential output signal C3, resetting the first counter 1222 and the second counter 1224 to force the lock signal LOCK to transition to a low potential. . After the lock signal LOCK transitions to a low potential, the third counter 1226 is reset again, causing the output signal C3 to transition to a low potential.

第4圖係本發明鎖定保護電路122一較佳實施例之時序圖。當方波信號FG切換至高電位時,第一計數器1222被重置;當方波信號FG切換至低電位時,第二計數器1224被重置。假定第一計數器1222與第二計數器1224之計數區間均為Ton,第一計數器1222與第二計數器1224被重置後即會開始計數,直到完成計數後,才會產生高電位輸出信號。圖中,方波信號FG係停止於低電位,因此,第一計數器1222會優先完成計數,並輸出高電位之輸出信號C1,同時產生高電位之鎖定信號LOCK,通知馬達控制電路160停止對馬達線圈170供電。4 is a timing diagram of a preferred embodiment of the lock protection circuit 122 of the present invention. When the square wave signal FG is switched to the high potential, the first counter 1222 is reset; when the square wave signal FG is switched to the low potential, the second counter 1224 is reset. It is assumed that the counting interval of the first counter 1222 and the second counter 1224 is both Ton, and the first counter 1222 and the second counter 1224 are reset after they are reset, and the high-potential output signal is not generated until the counting is completed. In the figure, the square wave signal FG is stopped at a low potential. Therefore, the first counter 1222 will preferentially complete the counting, and output a high-potential output signal C1, and at the same time generate a high-potential lock signal LOCK, informing the motor control circuit 160 to stop the motor. The coil 170 is powered.

假定第三計數器1226之計時區間為Toff。鎖定信號LOCK轉變為高電位時,第三計數器1226開始計數。在第三計數器1226完成計數後,第三計數器1226隨即產生高電位輸出信號C3,重置第一計數器1222與第二計數器1224。當第一計數器1222與第二計數器1224接收到高電位輸出信號C3後,隨即停止產生高電位之輸出信號C1,C2,並重新開始計時區間Ton之計算。由於輸出信號C1與C2均為低電位,鎖定信號LOCK會轉變為低電位。此低電位之鎖定信號LOCK又用以重置第三計數器1226,使輸出信號C3轉變為低電位。It is assumed that the time interval of the third counter 1226 is Toff. When the lock signal LOCK transitions to a high level, the third counter 1226 starts counting. After the third counter 1226 completes counting, the third counter 1226 then generates a high potential output signal C3, resetting the first counter 1222 and the second counter 1224. When the first counter 1222 and the second counter 1224 receive the high potential output signal C3, the output signals C1, C2 of the high potential are stopped, and the calculation of the time interval Ton is restarted. Since the output signals C1 and C2 are both low, the lock signal LOCK will transition to a low potential. This low potential lock signal LOCK is in turn used to reset the third counter 1226 to cause the output signal C3 to transition to a low potential.

在計時區間Ton內,無論是第一計數器1222或是第二計數器1224,均不輸出高電位之輸出信號C1,C2,鎖定信號LOCK會維持在低電位。在第一計數器1222與第二計數器1224完成計數後,若是馬達仍然處於鎖定狀態,即會重新產生高電位之輸出信號C1,並使鎖定信號LOCK轉變為高電位,重複前述計時區間Toff的計算。反之,若是馬達轉動障礙已排除,第一計數器1222與第二計數器1224不斷被方波信號FG重置,而不會產生高電位之輸出信號C1,C2。此時,馬達控制電路160係依據脈波寬度調變信號PWM控制馬達轉動。In the time interval Ton, neither the first counter 1222 nor the second counter 1224 outputs the high-potential output signals C1, C2, and the lock signal LOCK is maintained at a low potential. After the first counter 1222 and the second counter 1224 have finished counting, if the motor is still in the locked state, the high-potential output signal C1 is regenerated, and the lock signal LOCK is turned to the high potential, and the calculation of the aforementioned time interval Toff is repeated. On the other hand, if the motor rotation obstacle has been eliminated, the first counter 1222 and the second counter 1224 are constantly reset by the square wave signal FG without generating the high-potential output signals C1, C2. At this time, the motor control circuit 160 controls the motor rotation in accordance with the pulse width modulation signal PWM.

依此,在馬達被鎖定之情況下,本發明之鎖定保護電路122係輸出固定周期之鎖定信號LOCK。馬達控制電路160則是利用此鎖定信號改變原本之馬達驅動方式。鎖定信號LOCK處於高電位時,馬達控制電路160停止對馬達線圈170充電。鎖定信號LOCK處於低電位時,馬達控制電路則是160維持其正常運作。如此交替運行,即可避免馬達線圈170過度充電而燒毀之可能性。Accordingly, in the case where the motor is locked, the lock protection circuit 122 of the present invention outputs a lock signal LOCK of a fixed period. The motor control circuit 160 uses the lock signal to change the original motor drive mode. When the lock signal LOCK is at a high potential, the motor control circuit 160 stops charging the motor coil 170. When the lock signal LOCK is at a low potential, the motor control circuit is 160 to maintain its normal operation. By alternately operating, the possibility that the motor coil 170 is overcharged and burned out can be avoided.

如第1圖所示,馬達控制電路160係透過一單相馬達驅動電路180控制馬達轉動。此單相馬達驅動電路180具有四個開關元件M1,M2,M3,M4,構成橋式電路(H-bridge)以驅動馬達。其運作可區分為兩個相異的導通相位(phase),開關元件M1與M4導通時為第一導通相位(phase I),開關元件M2與M3導通時為第二導通相位(phase II)。As shown in Fig. 1, the motor control circuit 160 controls the rotation of the motor through a single-phase motor drive circuit 180. This single-phase motor drive circuit 180 has four switching elements M1, M2, M3, M4, which constitute a bridge circuit (H-bridge) to drive the motor. The operation can be divided into two different conduction phases, the first conduction phase (phase I) when the switching elements M1 and M4 are turned on, and the second conduction phase (phase II) when the switching elements M2 and M3 are turned on.

不過,第一導通相位切換到第二導通相位時,因為馬達線圈170之電感性,開關元件M2,M3導通瞬間之電流仍然保持在飽和電流值,並且往圖中的右方流動,因而會產生逆向電流回灌至電源端Vm,而可能使電源端Vm電壓上升超過耐壓而導致電路燒毀。為了解決此問題,本發明之直流馬達驅動裝置具有一逆向電流防止電路190。此逆向電流防止電路190偵測馬達線圈170兩端的電壓值Va,Vb,並依據此二個電壓值Va與Vb的差值,來判斷開關元件M1,M2,M3,M4的導通時點。However, when the first conduction phase is switched to the second conduction phase, the current of the switching element M2, M3 is kept at the saturation current value due to the inductivity of the motor coil 170, and flows to the right in the figure, thereby generating The reverse current is recharged to the power supply terminal Vm, and the Vm voltage of the power supply terminal may rise above the withstand voltage to cause the circuit to burn out. In order to solve this problem, the DC motor driving device of the present invention has a reverse current preventing circuit 190. The reverse current preventing circuit 190 detects the voltage values Va, Vb across the motor coil 170, and determines the conduction time of the switching elements M1, M2, M3, M4 based on the difference between the two voltage values Va and Vb.

第5圖係本發明之逆向電流防止電路190與馬達驅動電路180之各個信號之時序波型圖。圖中電壓信號A,B,C,D分別表示各個開關元件M1,M2,M3,M4之閘極控制信號,電流i(motor)表示馬達之線圈電流,電流i(M1),i(M2),i(M3),i(M4)分別表示流經各個開關元件M1,M2,M3,M4之電流。Va表示開關元件M1與M3之接點VA的電壓,Vb表示開關元件M2與M4之接點VB的電壓,Va與Vb亦表示馬達兩端之電壓。Fig. 5 is a timing waveform diagram of respective signals of the reverse current prevention circuit 190 and the motor drive circuit 180 of the present invention. In the figure, the voltage signals A, B, C, and D represent the gate control signals of the respective switching elements M1, M2, M3, and M4, respectively. The current i (motor) represents the coil current of the motor, and the current i(M1), i(M2) i(M3), i(M4) denote currents flowing through the respective switching elements M1, M2, M3, M4, respectively. Va represents the voltage of the contact VA of the switching elements M1 and M3, Vb represents the voltage of the contact VB of the switching elements M2 and M4, and Va and Vb also represent the voltage across the motor.

第6圖則是透過此逆向電流防止電路190控制開關元件M1,M2,M3,M4之導通時間以進行換相的流程示意圖。同時請參照第5圖所示,在第一導通相位時,閘極控制信號A為低電位,D為高電位,分別控制開關元件M1與M4導通。此時,線圈電流i(motor)由圖中之左側向右流動(此電流方向定義為正)。The sixth diagram is a flow chart through which the reverse current preventing circuit 190 controls the on-time of the switching elements M1, M2, M3, and M4 to perform commutation. At the same time, as shown in FIG. 5, in the first conduction phase, the gate control signal A is at a low potential, and D is at a high potential, and the switching elements M1 and M4 are respectively controlled to be turned on. At this time, the coil current i (motor) flows from the left to the right in the figure (this current direction is defined as positive).

在第一導通相位期間終了時,閘極控制信號A切換為高電位關閉開關元件M1,閘極控制信號C切換為高電位導通開關元件M3,而進入放電期間。此時,電源端Vm停止對線圈供電,不過,由於馬達線圈170之電感特性,線圈電流i(motor)持續會向開關元件M4流動,並使馬達線圈170之左端點VA的電壓Va為負,右端點VB的電壓Vb為正。因此,馬達線圈170兩端之電壓差(Va-Vb)為負,並且馬達線圈170兩端之電壓差(Va-Vb)會隨著馬達線圈170之放電動作往零靠近。At the end of the first on-phase period, the gate control signal A is switched to the high-potential off switching element M1, and the gate control signal C is switched to the high-potential on-off switching element M3 to enter the discharge period. At this time, the power supply terminal Vm stops supplying power to the coil. However, due to the inductive characteristic of the motor coil 170, the coil current i (motor) continues to flow to the switching element M4, and the voltage Va of the left end point VA of the motor coil 170 is negative. The voltage Vb of the right end point VB is positive. Therefore, the voltage difference (Va-Vb) across the motor coil 170 is negative, and the voltage difference (Va-Vb) across the motor coil 170 approaches zero as the motor coil 170 discharges.

在電壓差(Va-Vb)的絕對值小於一第一預設參考電壓時,逆向電流防止電路190產生一放電控制信號Discharge。馬達控制電路160接收到此放電控制信號Discharge後,將閘極控制信號B切換為低電位以導通開關元件M2,並將閘極控制信號D切換為低電位以關閉開關元件M4,以切換至第二導通相位。When the absolute value of the voltage difference (Va-Vb) is less than a first predetermined reference voltage, the reverse current preventing circuit 190 generates a discharge control signal Discharge. After receiving the discharge control signal Discharge, the motor control circuit 160 switches the gate control signal B to a low potential to turn on the switching element M2, and switches the gate control signal D to a low potential to turn off the switching element M4 to switch to the Two conduction phases.

在第二導通相位期間終了時,閘極控制信號B切換為高電位關閉開關元件M2,閘極控制信號D切換為高電位導通開關元件M4,而進入放電期間。此時,電源端Vm停止對線圈供電,不過,由於馬達線圈170之電感特性,線圈電流i(motor)持續會向開關元件M3流動,並使馬達線圈170之左端點VA的電壓Va為正,右端點VB的電壓Vb為負。因此,馬達線 圈170兩端之電壓差(Va-Vb)為正,並且馬達線圈170兩端之電壓差(Va-Vb)會隨著馬達線圈170之放電動作往零靠近。At the end of the second on-phase period, the gate control signal B is switched to the high-potential off switching element M2, and the gate control signal D is switched to the high-potential on-off switching element M4 to enter the discharge period. At this time, the power supply terminal Vm stops supplying power to the coil. However, due to the inductive characteristic of the motor coil 170, the coil current i (motor) continues to flow to the switching element M3, and the voltage Va of the left end point VA of the motor coil 170 is positive. The voltage Vb of the right end point VB is negative. Therefore, the motor line The voltage difference (Va-Vb) across the coil 170 is positive, and the voltage difference (Va-Vb) across the motor coil 170 approaches zero as the motor coil 170 discharges.

在電壓差(Va-Vb)的絕對值小於一第二預設參考電壓時,逆向電流防止電路190產生一放電控制信號Discharge。馬達控制電路160接收到此放電控制信號Discharge後,將閘極控制信號A切換為低電位以導通開關元件M1,並將閘極控制信號C切換為低電位以關閉開關元件M3,以切換至第一導通相位。When the absolute value of the voltage difference (Va-Vb) is less than a second predetermined reference voltage, the reverse current prevention circuit 190 generates a discharge control signal Discharge. After receiving the discharge control signal Discharge, the motor control circuit 160 switches the gate control signal A to a low potential to turn on the switching element M1, and switches the gate control signal C to a low potential to turn off the switching element M3 to switch to the first A conduction phase.

在前述實施例中,由第一導通相位期間切換到放電期間的過程中,開關元件M1之關閉與開關元件M3的導通係同時進行。不過,為了避免開關元件M1與開關元件M3同時導通而產生短路,如第6圖所示,就一較佳實施例而言,在第一導通相位期間與放電期間之間可插入一死區期間(dead time)。亦即在導通開關元件M3前,先關閉開關元件M1。同樣地,為了避免開關元件M4與開關元件M2同時導通而產生短路,在放電期間與第二導通相位期間之間可插入一死區期間(dead time)。亦即在導通開關元件M2前,先關閉開關元件M4。In the foregoing embodiment, during the switching from the first on-phase period to the discharge period, the switching element M1 is turned off simultaneously with the conduction line of the switching element M3. However, in order to prevent the short-circuiting of the switching element M1 and the switching element M3 at the same time, as shown in FIG. 6, in a preferred embodiment, a dead zone period can be inserted between the first conducting phase period and the discharging period ( Dead time). That is, the switching element M1 is turned off before the switching element M3 is turned on. Similarly, in order to avoid a short circuit caused by the switching element M4 and the switching element M2 being simultaneously turned on, a dead time can be inserted between the discharging period and the second conducting phase period. That is, the switching element M4 is turned off before the switching element M2 is turned on.

其次,就一較佳實施例而言,本發明之逆向電流防止電路190可以係一具有二個預設參考電壓之比較器。此比較器偵測馬達線圈170兩端點VA與VB之電壓Va,Vb,並於電壓差(Va-Vb)的絕對值(電壓差(Va-Vb)為負時)小於一第一預設參考電壓時或是電壓差(Va-Vb)(電壓差(Va-Vb)為正時)小於一第二預設參考電壓時,產生放電控制信號Discharge,通知馬達控制電路160進行換相動作。不過,本發明並不限於此,此比較器亦可僅具有一預設參考電壓。在電壓差(Va-Vb)的絕對值(無論電壓差(Va-Vb)為正或為負)小於一預設參考電壓時,即產生放電控制信號。Next, in a preferred embodiment, the reverse current prevention circuit 190 of the present invention can be a comparator having two predetermined reference voltages. The comparator detects the voltages Va, Vb of the points VA and VB at the ends of the motor coil 170, and is less than a first preset when the absolute value of the voltage difference (Va-Vb) (the voltage difference (Va-Vb) is negative) When the reference voltage or the voltage difference (Va-Vb) (the voltage difference (Va-Vb) is positive) is less than a second predetermined reference voltage, the discharge control signal Discharge is generated to notify the motor control circuit 160 to perform the commutation operation. However, the present invention is not limited thereto, and the comparator may have only a predetermined reference voltage. The discharge control signal is generated when the absolute value of the voltage difference (Va-Vb) (whether the voltage difference (Va-Vb) is positive or negative) is less than a predetermined reference voltage.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。另外本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之權利範圍。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. In addition, any of the objects or advantages or features of the present invention are not required to be achieved by any embodiment or application of the invention. In addition, the abstract sections and headings are only used to assist in the search of patent documents and are not intended to limit the scope of the invention.

120...鎖定保護與待機控制電路120. . . Lock protection and standby control circuit

140...馬達轉動偵測電路140. . . Motor rotation detection circuit

160...馬達控制電路160. . . Motor control circuit

FG...方波信號FG. . . Square wave signal

142...霍爾偵測器142. . . Hall detector

H+,H-...霍爾信號H+, H-. . . Hall signal

144...磁滯比較器144. . . Hysteresis comparator

121...鎖定保護單元121. . . Lock protection unit

123...待機模式判斷單元123. . . Standby mode judgment unit

LOCK...鎖定信號LOCK. . . Lock signal

PWM...脈波寬度調變信號PWM. . . Pulse width modulation signal

STB...待機模式控制信號STB. . . Standby mode control signal

122...鎖定保護電路122. . . Lock protection circuit

127...震盪器127. . . Oscillator

128...反向器128. . . Inverter

OSC...震盪信號OSC. . . Oscillating signal

125...延遲電路125. . . Delay circuit

126...反向器126. . . Inverter

124...邏輯電路124. . . Logic circuit

PWMB...反向脈波寬度調變信號PWMB. . . Reverse pulse width modulation signal

EN...控制信號EN. . . control signal

1222...第一計數器1222. . . First counter

1224...第二計數器1224. . . Second counter

1226...第三計數器1226. . . Third counter

C1,C2,C3...輸出信號C1, C2, C3. . . output signal

170...馬達線圈170. . . Motor coil

180...單相馬達驅動電路180. . . Single-phase motor drive circuit

M1,M2,M3,M4...開關元件M1, M2, M3, M4. . . Switching element

190...逆向電流防止電路190. . . Reverse current prevention circuit

VA,VB...接點VA, VB. . . contact

A,B,C,D...閘極控制信號A, B, C, D. . . Gate control signal

Vm...電源端Vm. . . Power terminal

Discharge...放電控制信號Discharge. . . Discharge control signal

223...待機模式判斷單元223. . . Standby mode judgment unit

224...邏輯電路224. . . Logic circuit

225...延遲電路225. . . Delay circuit

2242,2244,2246...反或閘2242, 2244, 2246. . . Reverse or gate

2248...反向器2248. . . Inverter

221...鎖定保護單元221. . . Lock protection unit

222...鎖定保護電路222. . . Lock protection circuit

228...反向器228. . . Inverter

323...待機模式判斷單元323. . . Standby mode judgment unit

324...邏輯電路324. . . Logic circuit

325...延遲電路325. . . Delay circuit

3242,3244,3246...反及閘3242, 3244, 3246. . . Reverse gate

3248...反向器3248. . . Inverter

321...鎖定保護單元321. . . Lock protection unit

322...鎖定保護電路322. . . Lock protection circuit

第1圖係本發明馬達驅動裝置一較佳實施例之示意圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic view of a preferred embodiment of a motor drive unit of the present invention.

第1A圖係本發明鎖定保護與待機控制電路一較佳實施例之示意圖。Figure 1A is a schematic diagram of a preferred embodiment of the lock protection and standby control circuit of the present invention.

第1B圖係本發明鎖定保護與待機控制電路之邏輯電路一第一實施例之示意圖。1B is a schematic diagram of a first embodiment of a logic circuit for a lock protection and standby control circuit of the present invention.

第1C圖係本發明鎖定保護與待機控制電路之邏輯電路一第二實施例之示意圖。1C is a schematic diagram of a second embodiment of a logic circuit for a lock protection and standby control circuit of the present invention.

第2圖係第1A圖之鎖定保護與待機控制電路一較佳實施例之時序圖。Figure 2 is a timing diagram of a preferred embodiment of the lock protection and standby control circuit of Figure 1A.

第3圖係本發明鎖定保護單元一較佳實施例之示意圖。Figure 3 is a schematic view of a preferred embodiment of the lock protection unit of the present invention.

第4圖係第3圖之鎖定保護單元一較佳實施例之時序圖。Figure 4 is a timing diagram of a preferred embodiment of the lock protection unit of Figure 3.

第5圖係本發明逆向電流防止電路與馬達驅動裝置一較佳實施例之時序圖。Fig. 5 is a timing chart showing a preferred embodiment of the reverse current preventing circuit and the motor driving device of the present invention.

第6圖顯示本發明透過偵測馬達線圈之端點電壓控制馬達控制電路進行換相之換相流程。Figure 6 shows the commutation process of the present invention for commutating the motor control circuit by detecting the end voltage of the motor coil.

FG...方波信號FG. . . Square wave signal

121...鎖定保護單元121. . . Lock protection unit

123...待機模式判斷單元123. . . Standby mode judgment unit

LOCK...鎖定信號LOCK. . . Lock signal

PWM...脈波寬度調變信號PWM. . . Pulse width modulation signal

STB...待機模式控制信號STB. . . Standby mode control signal

122...鎖定保護電路122. . . Lock protection circuit

127...震盪器127. . . Oscillator

128...反向器128. . . Inverter

OSC...震盪信號OSC. . . Oscillating signal

125...延遲電路125. . . Delay circuit

126...反向器126. . . Inverter

124...邏輯電路124. . . Logic circuit

PWMB...反向脈波寬度調變信號PWMB. . . Reverse pulse width modulation signal

EN...控制信號EN. . . control signal

Claims (17)

一種馬達驅動裝置,包括:一鎖定保護單元,依據一馬達轉動信號,以產生一鎖定信號;一待機模式判斷單元,接收一脈波寬度調變信號與該鎖定信號,並依據該脈波寬度調變信號與該鎖定信號產生一待機模式控制信號,該鎖定保護單元依據該待機模式控制信號,決定是否停止該鎖定信號;以及一馬達控制電路,依據該脈波寬度調變信號控制該馬達之轉動。A motor driving device comprises: a locking protection unit, according to a motor rotation signal, to generate a locking signal; a standby mode determining unit, receiving a pulse width modulation signal and the locking signal, and adjusting according to the pulse width The variable signal and the lock signal generate a standby mode control signal, the lock protection unit determines whether to stop the lock signal according to the standby mode control signal; and a motor control circuit controls the rotation of the motor according to the pulse width modulation signal . 如申請專利範圍第1項之馬達驅動裝置,其中,該鎖定保護單元偵測到該馬達停止轉動超過一第一預定時間長度後,產生該鎖定信號。The motor drive device of claim 1, wherein the lock protection unit generates the lock signal after detecting that the motor stops rotating for more than a first predetermined length of time. 如申請專利範圍第1項之馬達驅動裝置,其中,該馬達控制電路依據該待機模式控制信號決定是否切換至一待機模式。The motor driving device of claim 1, wherein the motor control circuit determines whether to switch to a standby mode according to the standby mode control signal. 如申請專利範圍第1項之馬達驅動裝置,其中,當該待機模式控制信號係對應於一待機模式時,該鎖定保護單元停止產生該鎖定信號。The motor driving device of claim 1, wherein the lock protection unit stops generating the lock signal when the standby mode control signal corresponds to a standby mode. 如申請專利範圍第4項之馬達驅動裝置,其中,當該脈波寬度調變信號係對應於一停止驅動狀態,該待機模式判斷單元接收該鎖定信號後,產生對應於該待機模式之該待機模式控制信號。The motor driving device of claim 4, wherein when the pulse width modulation signal corresponds to a stop driving state, the standby mode determining unit receives the locking signal, and generates the standby corresponding to the standby mode. Mode control signal. 如申請專利範圍第5項之馬達驅動裝置,其中,當該脈波寬度調變信號係對應於該停止驅動狀態,該鎖定保護單元輸出之該鎖定信號係一脈波信號。The motor driving device of claim 5, wherein the lock signal output by the lock protection unit is a pulse wave signal when the pulse width modulation signal corresponds to the stop drive state. 如申請專利範圍第5項之馬達驅動裝置,其中,當該脈波寬度調變信號係由該停止驅動狀態回復至一正常驅動狀態,該待機模式判斷單元依據該脈波寬度調變信號產生對應於一正常模式之該待機模式控制信號使該鎖定保護單元恢復正常運作。The motor driving device of claim 5, wherein when the pulse width modulation signal is returned from the stop driving state to a normal driving state, the standby mode determining unit generates a corresponding signal according to the pulse width modulation signal. The standby mode control signal in a normal mode causes the lock protection unit to resume normal operation. 如申請專利範圍第2項之馬達驅動裝置,其中,該鎖定保護單元具有一鎖定保護電路與一震盪器,該鎖定保護電路具有至少一計數器,並依據該震盪器所產生之一震盪信號計算該第一預設時間長度。The motor drive device of claim 2, wherein the lock protection unit has a lock protection circuit and an oscillator, the lock protection circuit having at least one counter, and calculating the oscillation signal according to the oscillation signal generated by the oscillator The first preset time length. 如申請專利範圍第1項之馬達驅動裝置,其中,該待機模式判斷單元具有一邏輯電路,依據該脈波寬度調變信號與該鎖定信號產生該待機模式控制信號,該邏輯電路包括一栓鎖電路或一正反器。The motor drive device of claim 1, wherein the standby mode determining unit has a logic circuit for generating the standby mode control signal according to the pulse width modulation signal and the lock signal, the logic circuit comprising a latch Circuit or a flip-flop. 一種用於一馬達驅動裝置之鎖定保護與待機控制電路,該馬達驅動裝置係依據一脈波寬度調變信號控制一馬達轉動,該鎖定保護與待機控制電路包括:一鎖定保護單元,依據一馬達轉動信號,以產生一鎖定信號;以及一待機模式判斷單元,接收該脈波寬度調變信號與該鎖定信號,並依據該脈波寬度調變信號與該鎖定信號產生一待機模式控制信號,該鎖定保護單元依據該待機模式控制信號,決定是否停止該鎖定信號。A lock protection and standby control circuit for a motor drive device, wherein the motor drive device controls a motor rotation according to a pulse width modulation signal, the lock protection and standby control circuit includes: a lock protection unit, according to a motor Rotating a signal to generate a lock signal; and a standby mode determining unit receiving the pulse width modulation signal and the lock signal, and generating a standby mode control signal according to the pulse width modulation signal and the lock signal, The lock protection unit determines whether to stop the lock signal according to the standby mode control signal. 如申請專利範圍第10項之鎖定保護與待機控制電路,其中,該鎖定保護單元偵測到該馬達停止轉動超過一第一預定時間長度後,產生該鎖定信號。The lock protection and standby control circuit of claim 10, wherein the lock protection unit generates the lock signal after detecting that the motor stops rotating for more than a first predetermined length of time. 如申請專利範圍第10項之鎖定保護與待機控制電路,其中,當該待機模式控制信號係對應於一待機模式時,該鎖定保護單元停止產生該鎖定信號。The lock protection and standby control circuit of claim 10, wherein the lock protection unit stops generating the lock signal when the standby mode control signal corresponds to a standby mode. 如申請專利範圍第12項之鎖定保護與待機控制電路,其中,當該脈波寬度調變信號係對應於一停止驅動狀態,該待機模式判斷單元接收該鎖定信號後,產生對應於該待機模式之該待機模式控制信號。The lock protection and standby control circuit of claim 12, wherein when the pulse width modulation signal corresponds to a stop driving state, the standby mode determining unit receives the lock signal and generates a corresponding standby mode. The standby mode control signal. 如申請專利範圍第13項之鎖定保護與待機控制電路,其中,當該脈波寬度調變信號係對應於該停止驅動狀態,該鎖定保護單元輸出之該鎖定信號係一脈波信號。The lock protection and standby control circuit of claim 13, wherein the lock signal outputted by the lock protection unit is a pulse signal when the pulse width modulation signal corresponds to the stop drive state. 如申請專利範圍第13項之鎖定保護與待機控制電路,其中,當該脈波寬度調變信號係由該停止驅動狀態回復至一正常驅動狀態,該待機模式判斷單元依據該脈波寬度調變信號產生對應於一正常模式之該待機模式控制信號使該鎖定保護單元恢復正常運作。The lock protection and standby control circuit according to claim 13 , wherein when the pulse width modulation signal is returned from the stop driving state to a normal driving state, the standby mode determining unit is modulated according to the pulse width The signal generation of the standby mode control signal corresponding to a normal mode causes the lock protection unit to resume normal operation. 如申請專利範圍第11項之鎖定保護與待機控制電路,其中,該鎖定保護單元具有一鎖定保護電路與一震盪器,該鎖定保護電路具有至少一計數器,並依據該震盪器所產生之一震盪信號計算該第一預設時間長度。The lock protection and standby control circuit of claim 11, wherein the lock protection unit has a lock protection circuit and an oscillator, the lock protection circuit having at least one counter and oscillating according to one of the oscillators The signal calculates the first preset time length. 如申請專利範圍第10項之鎖定保護與待機控制電路,其中,該待機模式判斷單元具有一邏輯電路,依據該脈波寬度調變信號與該鎖定信號產生該待機模式控制信號,該邏輯電路包括一栓鎖電路或一正反器。The lock protection and standby control circuit of claim 10, wherein the standby mode determining unit has a logic circuit, and the standby mode control signal is generated according to the pulse width modulation signal and the lock signal, the logic circuit includes A latch circuit or a flip-flop.
TW100118176A 2011-05-24 2011-05-24 Lock protection and standby control circuit of motor driving apparatus TWI422140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100118176A TWI422140B (en) 2011-05-24 2011-05-24 Lock protection and standby control circuit of motor driving apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100118176A TWI422140B (en) 2011-05-24 2011-05-24 Lock protection and standby control circuit of motor driving apparatus

Publications (2)

Publication Number Publication Date
TW201249094A TW201249094A (en) 2012-12-01
TWI422140B true TWI422140B (en) 2014-01-01

Family

ID=48138920

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100118176A TWI422140B (en) 2011-05-24 2011-05-24 Lock protection and standby control circuit of motor driving apparatus

Country Status (1)

Country Link
TW (1) TWI422140B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI661674B (en) * 2017-03-24 2019-06-01 日商羅姆股份有限公司 Load driving circuit and system using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892340A (en) * 1996-06-07 1999-04-06 Honda Giken Kogyo Kabushiki Kaisha Vehicle sliding door opening/closing control device
CN101286719A (en) * 2007-04-12 2008-10-15 罗姆股份有限公司 Motor driving device, lockedrotor protecting method and cooling device using the same
TW201042906A (en) * 2009-02-17 2010-12-01 Rohm Co Ltd Motor driving circuit, method for driving motor and cooling apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892340A (en) * 1996-06-07 1999-04-06 Honda Giken Kogyo Kabushiki Kaisha Vehicle sliding door opening/closing control device
CN101286719A (en) * 2007-04-12 2008-10-15 罗姆股份有限公司 Motor driving device, lockedrotor protecting method and cooling device using the same
TW201042906A (en) * 2009-02-17 2010-12-01 Rohm Co Ltd Motor driving circuit, method for driving motor and cooling apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI661674B (en) * 2017-03-24 2019-06-01 日商羅姆股份有限公司 Load driving circuit and system using the same

Also Published As

Publication number Publication date
TW201249094A (en) 2012-12-01

Similar Documents

Publication Publication Date Title
JP6130329B2 (en) Brushless motor controller
JP6018870B2 (en) DC power supply device and control method thereof
US10978973B2 (en) Motor driving circuit and method thereof
TWI440297B (en) Method and apparatus for dynamically adjusting a dead time of a brushless direct current motor during a phase change
JP2012253893A (en) Drive unit and stop position detection method
CN102820842B (en) Motor driving device and lockout protection and standby control circuit for same
JP2016501509A5 (en)
JP5144380B2 (en) Motor control method and motor control apparatus
US8629638B2 (en) Lock protection and standby mode control circuit of motor driving apparatus
JP2008271612A (en) Motor control circuit
TWI422140B (en) Lock protection and standby control circuit of motor driving apparatus
JP6308519B2 (en) Motor drive device and motor control method
JPH07284289A (en) Drive controller of brushless motor
TWI435532B (en) Soft-switching control citcuit for dc motor
JP2004364381A (en) Motor drive device
CN106953556B (en) Sensorless three-phase motor driving system and method thereof
KR101626762B1 (en) Motor driver
JPH11122938A (en) Pwm pulse generation circuit and control system using the same
JPH0984388A (en) Ac motor controller
JP6702210B2 (en) Power converter
JP2005176457A (en) Position detecting circuit of brushless motor
JP3636344B2 (en) Control method of brushless DC motor
JP2020162328A (en) Motor drive device
KR101620853B1 (en) Apparatus for induction motor drive control
US20050127858A1 (en) PWM motor control in the current mode with positive disconnection