TWI792469B - Motor controller - Google Patents

Motor controller Download PDF

Info

Publication number
TWI792469B
TWI792469B TW110128502A TW110128502A TWI792469B TW I792469 B TWI792469 B TW I792469B TW 110128502 A TW110128502 A TW 110128502A TW 110128502 A TW110128502 A TW 110128502A TW I792469 B TWI792469 B TW I792469B
Authority
TW
Taiwan
Prior art keywords
duty cycle
motor controller
calculation unit
signal
unit
Prior art date
Application number
TW110128502A
Other languages
Chinese (zh)
Other versions
TW202308284A (en
Inventor
楊家泰
Original Assignee
致新科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 致新科技股份有限公司 filed Critical 致新科技股份有限公司
Priority to TW110128502A priority Critical patent/TWI792469B/en
Application granted granted Critical
Publication of TWI792469B publication Critical patent/TWI792469B/en
Publication of TW202308284A publication Critical patent/TW202308284A/en

Links

Images

Landscapes

  • Control Of Direct Current Motors (AREA)
  • Valve Device For Special Equipments (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

A motor controller comprises a switch circuit, a control unit, and a duty cycle processing unit. The switch circuit is coupled to a motor for driving the motor. The control unit is configured to generate a plurality of control signals to control the switch circuit. The duty cycle processing unit receives a first pulse width modulation signal, where the first pulse width modulation signal has a first duty cycle. The duty cycle processing unit is configured to judge if the first duty cycle is equal to 0% or 100%. The duty cycle processing unit comprises a duty cycle computing unit, where the duty cycle computing unit is configured to capture the first duty cycle.

Description

馬達控制器 motor controller

本發明係關於一種馬達控制器,特別是關於一種可應用於一風扇馬達系統之馬達控制器。 The present invention relates to a motor controller, in particular to a motor controller applicable to a fan motor system.

傳統上馬達控制器會利用一輸入脈寬調變信號之工作週期(Duty Cycle)以控制馬達之轉速。早期作法是直接使用此輸入脈寬調變信號以驅動馬達。也就是說,驅動馬達之輸出工作週期等於此輸入脈寬調變信號之工作週期。然而,當馬達控制器直接利用此輸入脈寬調變信號以進入一軟式切換驅動模式時,輸出脈寬調變信號之頻率經調變後可能會落入音頻範圍而產生噪音。此外,當馬達控制器採用此早期作法以執行一轉速開迴路操作時,假使電源電壓或溫度發生變化時,馬達之轉速也會發生變化。因此,需要一種新技術以解決上述之問題。 Traditionally, a motor controller uses a duty cycle of an input pulse width modulation signal to control the motor speed. Early practice was to use this input PWM signal directly to drive the motor. That is, the output duty cycle of the driving motor is equal to the duty cycle of the input PWM signal. However, when the motor controller directly utilizes the input PWM signal to enter a soft switching driving mode, the frequency of the output PWM signal may fall into the audio frequency range after being modulated and generate noise. In addition, when the motor controller adopts this early practice to perform a speed open loop operation, if the power supply voltage or temperature changes, the speed of the motor will also change. Therefore, a new technology is needed to solve the above-mentioned problems.

有鑑於前述問題,本發明之目的在於提供一種可應用於一風扇馬達系統之馬達控制器。該馬達控制器具有一開關電路、一控制單元、一脈寬調變處理單元、一工作週期處理單元、以及一軟式切換處理單元。該開關電路耦合 至一馬達以驅動該馬達。該控制單元用以產生複數個控制信號以控制該開關電路。該工作週期處理單元接收一第一脈寬調變信號,用以產生一第一信號至該脈寬調變處理單元。該軟式切換處理單元產生一第二信號至該脈寬調變處理單元,使得該馬達控制器處於一軟式切換驅動模式。該脈寬調變處理單元根據該第一信號與該第二信號,用以產生一第二脈寬調變信號至該控制單元。 In view of the aforementioned problems, the object of the present invention is to provide a motor controller applicable to a fan motor system. The motor controller has a switch circuit, a control unit, a pulse width modulation processing unit, a duty cycle processing unit, and a soft switching processing unit. The switching circuit is coupled to a motor to drive the motor. The control unit is used for generating a plurality of control signals to control the switch circuit. The duty cycle processing unit receives a first PWM signal for generating a first signal to the PWM processing unit. The soft switching processing unit generates a second signal to the pulse width modulation processing unit, so that the motor controller is in a soft switching driving mode. The PWM processing unit is used to generate a second PWM signal to the control unit according to the first signal and the second signal.

該第一脈寬調變信號具有一導通時間、一非導通時間、一週期、以及一第一工作週期,其中該第一工作週期等於(導通時間/週期)×100%。該工作週期處理單元具有一工作週期計算單元,其中該工作週期計算單元具有一導通時間計算單元、一非導通時間計算單元、一週期計算單元、一充電單元、一放電單元、以及一記憶單元。該工作週期計算單元用以擷取該第一工作週期。根據本發明一實施例,該工作週期處理單元可用以判定是否該第一工作週期等於0%或100%。舉例來說,當該第一脈寬調變信號維持一低位準之時間大於一第一預定時間時,該工作週期計算單元可判定該第一工作週期等於0%。當該第一脈寬調變信號維持一高位準之時間大於一第二預定時間時,該工作週期計算單元可判定該第一工作週期等於100%。當該第一脈寬調變信號維持一位準之時間大於一第三預定時間時,該工作週期計算單元可判定該第一工作週期等於0%或100%。若該位準為該低位準,則該第一工作週期等於0%。若該位準為該高位準,則該第一工作週期等於100%。該工作週期計算單元可更具有一特定應用計算單元來判定是否該第一工作週期等於0%或100%。此外,該充電單元或該放電單元亦可用以判定是否該第一工作週期等於0%或100%。 The first PWM signal has a conduction time, a non-conduction time, a period, and a first duty cycle, wherein the first duty cycle is equal to (conduction time/period)×100%. The duty cycle processing unit has a duty cycle calculation unit, wherein the duty cycle calculation unit has a conduction time calculation unit, a non-conduction time calculation unit, a period calculation unit, a charging unit, a discharge unit, and a memory unit. The duty cycle calculating unit is used for retrieving the first duty cycle. According to an embodiment of the present invention, the duty cycle processing unit is configured to determine whether the first duty cycle is equal to 0% or 100%. For example, when the first PWM signal maintains a low level for longer than a first predetermined time, the duty cycle calculation unit may determine that the first duty cycle is equal to 0%. When the first pulse width modulation signal maintains a high level for longer than a second predetermined time, the duty cycle calculation unit can determine that the first duty cycle is equal to 100%. When the first pulse width modulation signal maintains a level for longer than a third predetermined time, the duty cycle calculating unit can determine that the first duty cycle is equal to 0% or 100%. If the level is the low level, the first duty cycle is equal to 0%. If the level is the high level, the first duty cycle is equal to 100%. The duty cycle calculation unit may further have an application-specific calculation unit to determine whether the first duty cycle is equal to 0% or 100%. In addition, the charging unit or the discharging unit can also be used to determine whether the first duty cycle is equal to 0% or 100%.

該脈寬調變處理單元具有一乘法運算單元、一比較單元、以及一三角波產生單元。為了能夠於切換相位時避免噪音,該軟式切換處理單元會產生一第二工作週期。接著該脈寬調變處理單元使得該第一工作週期與該第二工作週期作一乘法運算,用以產生一調變工作週期。最後該脈寬調變處理單元藉由 比較該調變工作週期與一比較值以產生該第二脈寬調變信號至該控制單元。也就是說,該乘法運算單元可根據該第一信號與該第二信號,用以產生一第三信號至該比較單元,其中該第一信號具有該第一工作週期、該第二信號具有該第二工作週期、且該第三信號具有該調變工作週期。該乘法運算單元可利用一乘法器或複數個加法器以實現該乘法運算。該三角波產生單元用以產生一第四信號至該比較單元,其中該第四信號具有該比較值。該比較單元可為一數位比較器。該比較單元接收該第三信號與該第四信號,用以比較該第三信號與該第四信號以產生該第二脈寬調變信號至該控制單元。該第四信號可為一定頻信號,使得該第二脈寬調變信號亦為一定頻信號。舉例來說,當該第四信號大於該第三信號時,該第二脈寬調變信號可為該低位準。當該第四信號小於或等於該第三信號時,該第二脈寬調變信號可為該高位準。該軟式切換處理單元可藉由調整該第二工作週期,使得該第二工作週期隨時間逐漸地減少或逐漸地增加。也就是說,該調變工作週期與該第二脈寬調變信號之工作週期於切換相位時皆可逐漸地變化,因此造成一相電流於切換相位時逐漸地變化進而避免噪音。因此,當該馬達控制器處於該軟式切換驅動模式時,該馬達控制器於切換相位時可達到一電流波整形之功能且避免產生一音頻信號。再者,該馬達控制器可利用該第一工作週期以操作於一轉速閉迴路模式。該馬達控制器可藉由擷取第一工作週期使得該馬達達到一目標轉速。當電源電壓或溫度發生變化時,該馬達之轉速可保持不變。該馬達控制器可使得該馬達穩定地轉動且該馬達之轉速不會偏移。因此,該馬達控制器能夠克服早期作法所遇到之問題。 The pulse width modulation processing unit has a multiplication unit, a comparison unit, and a triangular wave generation unit. In order to avoid noise when switching phases, the soft switching processing unit generates a second duty cycle. Then the pulse width modulation processing unit performs a multiplication operation on the first duty cycle and the second duty cycle to generate a modulation duty cycle. Finally, the pulse width modulation processing unit by The modulation duty cycle is compared with a comparison value to generate the second PWM signal to the control unit. That is to say, the multiplication unit can generate a third signal to the comparison unit according to the first signal and the second signal, wherein the first signal has the first duty cycle, the second signal has the The second duty cycle, and the third signal has the modulation duty cycle. The multiplication operation unit can utilize a multiplier or a plurality of adders to realize the multiplication operation. The triangular wave generation unit is used to generate a fourth signal to the comparison unit, wherein the fourth signal has the comparison value. The comparing unit can be a digital comparator. The comparison unit receives the third signal and the fourth signal, and compares the third signal with the fourth signal to generate the second PWM signal to the control unit. The fourth signal can be a constant frequency signal, so that the second PWM signal is also a constant frequency signal. For example, when the fourth signal is greater than the third signal, the second PWM signal can be the low level. When the fourth signal is less than or equal to the third signal, the second PWM signal can be at the high level. The soft handover processing unit can adjust the second duty cycle so that the second duty cycle gradually decreases or gradually increases with time. That is to say, both the duty cycle of the modulation and the duty cycle of the second PWM signal can change gradually when switching phases, thus causing a phase current to change gradually when switching phases to avoid noise. Therefore, when the motor controller is in the soft switching driving mode, the motor controller can achieve a current wave shaping function and avoid generating an audio signal when switching phases. Furthermore, the motor controller can utilize the first duty cycle to operate in a rotational speed closed-loop mode. The motor controller can make the motor reach a target speed by capturing the first duty cycle. When the power supply voltage or temperature changes, the speed of the motor can remain unchanged. The motor controller can make the motor rotate stably and the rotation speed of the motor will not deviate. Therefore, the motor controller can overcome the problems encountered in earlier approaches.

10:馬達控制器 10: Motor controller

M:馬達 M: motor

100:開關電路 100: switch circuit

101:第一電晶體 101: The first transistor

102:第二電晶體 102: second transistor

103:第三電晶體 103: The third transistor

104:第四電晶體 104: The fourth transistor

O1:第一端點 O1: first endpoint

O2:第二端點 O2: second endpoint

VCC:端點 VCC: endpoint

GND:端點 GND: endpoint

110:控制單元 110: Control unit

C1:第一控制信號 C1: The first control signal

C2:第二控制信號 C2: Second control signal

C3:第三控制信號 C3: The third control signal

C4:第四控制信號 C4: The fourth control signal

120:脈寬調變處理單元 120: Pulse width modulation processing unit

130:工作週期處理單元 130: work cycle processing unit

140:軟式切換處理單元 140: Soft switching processing unit

Vp1:第一脈寬調變信號 Vp1: the first PWM signal

Vp2:第一脈寬調變信號 Vp2: the first PWM signal

V1:第一信號 V1: first signal

V2:第二信號 V2: second signal

131:工作週期計算單元 131: Duty cycle calculation unit

132:導通時間計算單元 132: On-time calculation unit

133:非導通時間計算單元 133: Non-conduction time calculation unit

134:週期計算單元 134: Period calculation unit

135:充電單元 135: charging unit

136:放電單元 136: discharge unit

137:記憶單元 137: memory unit

121:乘法運算單元 121: Multiplication operation unit

122:比較單元 122: Comparison unit

123:三角波產生單元 123: Triangular wave generating unit

V3:第三信號 V3: The third signal

V4:第四信號 V4: The fourth signal

第1圖係本發明一實施例之馬達控制器之示意圖。 Fig. 1 is a schematic diagram of a motor controller according to an embodiment of the present invention.

第2圖係本發明一實施例之時序圖。 Figure 2 is a timing diagram of an embodiment of the present invention.

第3圖係本發明一實施例之工作週期處理單元之示意圖。 Fig. 3 is a schematic diagram of a duty cycle processing unit according to an embodiment of the present invention.

第4圖係本發明一實施例之脈寬調變處理單元之示意圖。 FIG. 4 is a schematic diagram of a pulse width modulation processing unit according to an embodiment of the present invention.

第5圖係本發明一實施例之波形圖。 Fig. 5 is a waveform diagram of an embodiment of the present invention.

下文中之說明將使本發明之目的、特徵、與優點更明顯。茲將參考圖式詳細說明依據本發明之較佳實施例。 The following description will make the objects, features and advantages of the present invention more apparent. Preferred embodiments according to the present invention will be described in detail with reference to the drawings.

第1圖係本發明一實施例之馬達控制器10之示意圖。馬達控制器10具有一開關電路100、一控制單元110、一脈寬調變處理單元120、一工作週期處理單元130、以及一軟式切換處理單元140。開關電路100具有一第一電晶體101、一第二電晶體102、一第三電晶體103、以及一第四電晶體104,用以驅動一馬達M。第一電晶體101耦合至一第一端點O1與一端點VCC而第二電晶體102耦合至第一端點O1與一端點GND。第三電晶體103耦合至一第二端點O2與端點VCC而第四電晶體104耦合至第二端點O2與端點GND。第一電晶體101、第二電晶體102、第三電晶體103、以及第四電晶體104可為一P型金氧半電晶體或一N型金氧半電晶體。如第1圖所示,第一電晶體101與第三電晶體103係以兩P型金氧半電晶體為例。第二電晶體102與第四電晶體104係以兩N型金氧半電晶體為例。控制單元110產生一第一控制信號C1、一第二控制信號C2、一第三控制信號C3、以及一第四控制信號C4,用以分別控制第一電晶體101、第二電晶體102、第三電晶體103、以及第四電晶體104之導通情形。工作週期處理單元130接收一第一脈寬調變信號Vp1,用以產生一第一信號V1至脈寬調變處理單元120,其中第一脈寬調變信號Vp1為一輸入脈寬調變信號且第一信號V1可為一M形波信號。軟式切換處理單元 140產生一第二信號V2至脈寬調變處理單元120,使得馬達控制器10處於一軟式切換驅動模式。脈寬調變處理單元120根據第一信號V1與第二信號V2,用以產生一第二脈寬調變信號Vp2至控制單元110,其中第二脈寬調變信號Vp2為一輸出脈寬調變信號。馬達控制器10藉由第二脈寬調變信號Vp2以調整馬達M之轉速。此外,馬達控制器10可應用於一風扇馬達系統。 FIG. 1 is a schematic diagram of a motor controller 10 according to an embodiment of the present invention. The motor controller 10 has a switch circuit 100 , a control unit 110 , a pulse width modulation processing unit 120 , a duty cycle processing unit 130 , and a soft switching processing unit 140 . The switch circuit 100 has a first transistor 101 , a second transistor 102 , a third transistor 103 , and a fourth transistor 104 for driving a motor M. The first transistor 101 is coupled to a first terminal O1 and a terminal VCC, and the second transistor 102 is coupled to the first terminal O1 and a terminal GND. The third transistor 103 is coupled to a second terminal O2 and the terminal VCC, and the fourth transistor 104 is coupled to the second terminal O2 and the terminal GND. The first transistor 101 , the second transistor 102 , the third transistor 103 , and the fourth transistor 104 can be a P-type MOS transistor or an N-type MOS transistor. As shown in FIG. 1 , the first transistor 101 and the third transistor 103 are two P-type metal oxide semiconductor transistors as an example. The second transistor 102 and the fourth transistor 104 are two N-type metal oxide semiconductor transistors as an example. The control unit 110 generates a first control signal C1, a second control signal C2, a third control signal C3, and a fourth control signal C4 for respectively controlling the first transistor 101, the second transistor 102, the second transistor The conduction status of the three transistors 103 and the fourth transistor 104 . The duty cycle processing unit 130 receives a first PWM signal Vp1 to generate a first signal V1 to the PWM processing unit 120, wherein the first PWM signal Vp1 is an input PWM signal And the first signal V1 can be an M-shaped wave signal. Soft Handover Processing Unit 140 generates a second signal V2 to the PWM processing unit 120 so that the motor controller 10 is in a soft switching driving mode. The PWM processing unit 120 is used to generate a second PWM signal Vp2 to the control unit 110 according to the first signal V1 and the second signal V2, wherein the second PWM signal Vp2 is an output PWM change signal. The motor controller 10 adjusts the rotation speed of the motor M through the second pulse width modulation signal Vp2. In addition, the motor controller 10 can be applied to a fan motor system.

第2圖係本發明一實施例之時序圖。第一脈寬調變信號Vp1具有一導通時間、一非導通時間、一週期、以及一第一工作週期,其中第一工作週期等於(導通時間/週期)×100%。為了能夠克服早期作法所遇到之問題,馬達控制器10需具備擷取第一工作週期之功能。第3圖係本發明一實施例之工作週期處理單元130之示意圖。工作週期處理單元130具有一工作週期計算單元131,其中工作週期計算單元131具有一導通時間計算單元132、一非導通時間計算單元133、一週期計算單元134、一充電單元135、一放電單元136、以及一記憶單元137。工作週期計算單元131用以擷取第一工作週期。工作週期計算單元131可為一微控制器之一部分,其中微控制器係實現於一積體電路晶片。導通時間計算單元132接收第一脈寬調變信號Vp1,用以計算導通時間。導通時間計算單元132可藉由複數個正反器以計算導通時間。記憶單元137耦合至導通時間計算單元132以儲存導通時間。非導通時間計算單元133接收第一脈寬調變信號Vp1,用以計算非導通時間。非導通時間計算單元133可藉由複數個正反器以計算非導通時間。記憶單元137耦合至非導通時間計算單元133以儲存非導通時間。週期計算單元134接收第一脈寬調變信號Vp1,用以計算週期。週期計算單元134可藉由複數個正反器以計算週期。記憶單元137耦合至週期計算單元134以儲存週期。因此,工作週期計算單元131可根據記憶單元137所儲存之導通時間、非導通時間、以及週期以擷取第一工作週期。為了簡化工作週期計算單元131,設計者可選擇使用導通時間計算單元132、非導通時間計算單元133、以及週期計算單元134其中之二,用以計算第 一工作週期。此外,第一工作週期可用一N位元數值來表示,其中N為一大於1之正整數。根據本發明一較佳實施例,N可等於8。 Figure 2 is a timing diagram of an embodiment of the present invention. The first PWM signal Vp1 has a conduction time, a non-conduction time, a period, and a first duty cycle, wherein the first duty cycle is equal to (conduction time/period)×100%. In order to overcome the problems encountered in earlier methods, the motor controller 10 needs to have the function of capturing the first duty cycle. FIG. 3 is a schematic diagram of a duty cycle processing unit 130 according to an embodiment of the present invention. The duty cycle processing unit 130 has a duty cycle calculation unit 131, wherein the duty cycle calculation unit 131 has a conduction time calculation unit 132, a non-conduction time calculation unit 133, a cycle calculation unit 134, a charging unit 135, a discharge unit 136 , and a memory unit 137 . The duty cycle calculating unit 131 is used for retrieving the first duty cycle. The duty cycle calculation unit 131 can be a part of a microcontroller, wherein the microcontroller is implemented on an integrated circuit chip. The on-time calculation unit 132 receives the first PWM signal Vp1 for calculating the on-time. The on-time calculation unit 132 can calculate the on-time by using a plurality of flip-flops. The memory unit 137 is coupled to the on-time calculation unit 132 to store the on-time. The non-conduction time calculation unit 133 receives the first PWM signal Vp1 to calculate the non-conduction time. The non-conduction time calculation unit 133 can calculate the non-conduction time by using a plurality of flip-flops. The memory unit 137 is coupled to the non-conduction time calculation unit 133 to store the non-conduction time. The period calculating unit 134 receives the first PWM signal Vp1 for calculating the period. The period calculating unit 134 can calculate the period by using a plurality of flip-flops. The memory unit 137 is coupled to the period calculation unit 134 to store the period. Therefore, the duty cycle calculation unit 131 can retrieve the first duty cycle according to the conduction time, the non-conduction time, and the cycle stored in the memory unit 137 . In order to simplify the duty cycle calculation unit 131, the designer can choose to use two of the conduction time calculation unit 132, the non-conduction time calculation unit 133, and the period calculation unit 134 to calculate the second One working cycle. In addition, the first duty cycle can be represented by an N-bit value, where N is a positive integer greater than 1. According to a preferred embodiment of the present invention, N may be equal to 8.

然而,上述用以計算第一工作週期之公式無法精確地計算出兩極端值0%與100%。因此,需要一種特定之方法來擷取0%與100%。根據本發明一實施例,工作週期處理單元130可用以判定是否第一工作週期等於0%或100%。舉例來說,當第一脈寬調變信號Vp1維持一低位準之時間大於一第一預定時間時,工作週期計算單元131可判定第一工作週期等於0%。當第一脈寬調變信號Vp1維持一高位準之時間大於一第二預定時間時,工作週期計算單元131可判定第一工作週期等於100%。當第一脈寬調變信號Vp1維持一位準之時間大於一第三預定時間時,工作週期計算單元131可判定第一工作週期等於0%或100%。若該位準為低位準,則第一工作週期等於0%。若該位準為高位準,則第一工作週期等於100%。因此,非導通時間計算單元133或週期計算單元134可用以判定是否第一工作週期等於0%。導通時間計算單元132或週期計算單元134可用以判定是否第一工作週期等於100%。工作週期計算單元131可更具有一特定應用計算單元(圖未示)來判定是否第一工作週期等於0%或100%。特定應用計算單元用以判定是否該第一工作週期等於0%或100%。此外,充電單元135或放電單元136亦可用以判定是否第一工作週期等於0%或100%。舉例來說,充電單元135可根據第一脈寬調變信號Vp1以充電一元件,接著工作週期計算單元131根據該元件之一參數值來判定是否第一工作週期等於0%或100%。放電單元136可根據第一脈寬調變信號Vp1以放電一元件,接著工作週期計算單元131根據該元件之一參數值來判定是否第一工作週期等於0%或100%。也就是說,工作週期計算單元131可利用一充電程序來判定是否第一工作週期等於0%或100%。工作週期計算單元131可利用一放電程序來判定是否第一工作週期等於0%或100%。 However, the above-mentioned formula for calculating the first duty cycle cannot accurately calculate the two extreme values of 0% and 100%. Therefore, a specific method is required to retrieve 0% and 100%. According to an embodiment of the present invention, the duty cycle processing unit 130 is configured to determine whether the first duty cycle is equal to 0% or 100%. For example, when the first PWM signal Vp1 maintains a low level for longer than a first predetermined time, the duty cycle calculation unit 131 may determine that the first duty cycle is equal to 0%. When the first PWM signal Vp1 maintains a high level for longer than a second predetermined time, the duty cycle calculation unit 131 can determine that the first duty cycle is equal to 100%. When the first PWM signal Vp1 maintains a level for longer than a third predetermined time, the duty cycle calculation unit 131 can determine that the first duty cycle is equal to 0% or 100%. If the level is a low level, the first duty cycle is equal to 0%. If the level is high, the first duty cycle is equal to 100%. Therefore, the non-conduction time calculation unit 133 or the period calculation unit 134 can be used to determine whether the first duty cycle is equal to 0%. The on-time calculation unit 132 or the period calculation unit 134 can be used to determine whether the first duty cycle is equal to 100%. The duty cycle calculation unit 131 may further have an application-specific calculation unit (not shown) to determine whether the first duty cycle is equal to 0% or 100%. The specific application calculation unit is used to determine whether the first duty cycle is equal to 0% or 100%. In addition, the charging unit 135 or the discharging unit 136 can also be used to determine whether the first duty cycle is equal to 0% or 100%. For example, the charging unit 135 can charge an element according to the first PWM signal Vp1, and then the duty cycle calculation unit 131 determines whether the first duty cycle is equal to 0% or 100% according to a parameter value of the element. The discharge unit 136 can discharge a device according to the first PWM signal Vp1, and then the duty cycle calculation unit 131 determines whether the first duty cycle is equal to 0% or 100% according to a parameter value of the device. That is to say, the duty cycle calculation unit 131 can use a charging procedure to determine whether the first duty cycle is equal to 0% or 100%. The duty cycle calculation unit 131 can use a discharge procedure to determine whether the first duty cycle is equal to 0% or 100%.

第4圖係本發明一實施例之脈寬調變處理單元120之示意圖。脈寬調 變處理單元120具有一乘法運算單元121、一比較單元122、以及一三角波產生單元123。請同時參照第1圖與第4圖。為了能夠於切換相位時避免噪音,軟式切換處理單元140會產生一第二工作週期,其中第二工作週期可用N位元數值來表示。接著脈寬調變處理單元120使得第一工作週期與第二工作週期作一乘法運算,用以產生一調變工作週期,其中調變工作週期可用N位元數值來表示。最後脈寬調變處理單元120藉由比較調變工作週期與一比較值以產生第二脈寬調變信號Vp2至控制單元110,其中比較值可用N位元數值來表示。根據本發明一較佳實施例,N可等於8。也就是說,乘法運算單元121可根據第一信號V1與第二信號V2,用以產生一第三信號V3至比較單元122,其中第一信號V1具有第一工作週期、第二信號V2具有第二工作週期、且第三信號V3具有調變工作週期。乘法運算單元121可利用一乘法器或複數個加法器以實現乘法運算。三角波產生單元123用以產生一第四信號V4至比較單元122,其中第四信號V4具有比較值。比較單元122可為一數位比較器。比較單元122接收第三信號V3與第四信號V4,用以比較第三信號V3與第四信號V4以產生第二脈寬調變信號Vp2至控制單元110。第四信號V4可為一定頻信號,使得第二脈寬調變信號Vp2亦為一定頻信號。舉例來說,當第四信號V4大於第三信號V3時,第二脈寬調變信號Vp2可為低位準。當第四信號V4小於或等於第三信號V3時,第二脈寬調變信號Vp2可為高位準。第5圖係本發明一實施例之波形圖。軟式切換處理單元140可藉由調整第二工作週期,使得第二工作週期隨時間逐漸地減少或逐漸地增加。也就是說,調變工作週期與第二脈寬調變信號Vp2之工作週期於切換相位時皆可逐漸地變化,因此造成一相電流於切換相位時逐漸地變化進而避免噪音。如第5圖所示,第一信號V1之波形於一軟式切換過程中逐漸地被調變成第三信號V3之波形。第一信號V1與第三信號V3可分別為一M形波信號。第四信號V4可為一三角波信號或一鋸齒波信號。因此,當馬達控制器10處於軟式切換驅動模式時,馬達控制器10於切換相位時可達到一 電流波整形之功能且避免產生一音頻信號。再者,馬達控制器10可利用第一工作週期以操作於一轉速閉迴路模式。馬達控制器10可藉由擷取第一工作週期使得馬達M達到一目標轉速。當電源電壓或溫度發生變化時,馬達M之轉速可保持不變。馬達控制器10可使得馬達M穩定地轉動且馬達M之轉速不會偏移。 FIG. 4 is a schematic diagram of a pulse width modulation processing unit 120 according to an embodiment of the present invention. PWM The variable processing unit 120 has a multiplication unit 121 , a comparison unit 122 , and a triangular wave generation unit 123 . Please refer to Figure 1 and Figure 4 at the same time. In order to avoid noise when switching phases, the soft switching processing unit 140 generates a second duty cycle, wherein the second duty cycle can be represented by an N-bit value. Next, the PWM processing unit 120 performs a multiplication operation on the first duty cycle and the second duty cycle to generate a modulation duty cycle, wherein the modulation duty cycle can be represented by an N-bit value. Finally, the PWM processing unit 120 generates the second PWM signal Vp2 to the control unit 110 by comparing the modulation duty cycle with a comparison value, wherein the comparison value can be represented by an N-bit value. According to a preferred embodiment of the present invention, N may be equal to 8. That is to say, the multiplication unit 121 can generate a third signal V3 to the comparison unit 122 according to the first signal V1 and the second signal V2, wherein the first signal V1 has a first duty cycle, and the second signal V2 has a first duty cycle. Two duty cycles, and the third signal V3 has a modulation duty cycle. The multiplication unit 121 can utilize a multiplier or a plurality of adders to implement multiplication. The triangular wave generation unit 123 is used to generate a fourth signal V4 to the comparison unit 122, wherein the fourth signal V4 has a comparison value. The comparison unit 122 can be a digital comparator. The comparison unit 122 receives the third signal V3 and the fourth signal V4 for comparing the third signal V3 and the fourth signal V4 to generate the second PWM signal Vp2 to the control unit 110 . The fourth signal V4 can be a constant frequency signal, so that the second PWM signal Vp2 is also a constant frequency signal. For example, when the fourth signal V4 is greater than the third signal V3, the second PWM signal Vp2 can be at a low level. When the fourth signal V4 is less than or equal to the third signal V3, the second PWM signal Vp2 can be at a high level. Fig. 5 is a waveform diagram of an embodiment of the present invention. The soft handover processing unit 140 can adjust the second duty cycle so that the second duty cycle gradually decreases or gradually increases with time. That is to say, the duty cycle of the modulation and the duty cycle of the second PWM signal Vp2 can be changed gradually when switching phases, thus causing a phase current to change gradually when switching phases to avoid noise. As shown in FIG. 5, the waveform of the first signal V1 is gradually modulated into the waveform of the third signal V3 during a soft switching process. The first signal V1 and the third signal V3 can be M-shaped wave signals respectively. The fourth signal V4 can be a triangular wave signal or a sawtooth wave signal. Therefore, when the motor controller 10 is in the soft switching driving mode, the motor controller 10 can achieve a certain level when switching phases. The function of current wave shaping and avoid generating an audio signal. Furthermore, the motor controller 10 can utilize the first duty cycle to operate in a rotational speed closed-loop mode. The motor controller 10 can make the motor M reach a target speed by capturing the first duty cycle. When the power supply voltage or temperature changes, the rotational speed of the motor M can remain unchanged. The motor controller 10 can make the motor M rotate stably and the rotation speed of the motor M will not deviate.

根據本發明一實施例,馬達控制器10可應用於一單相馬達或一多相馬達。馬達控制器10可藉由擷取第一工作週期,使得馬達控制器10進入一軟式切換驅動模式時可順利地運轉並避免噪音。此外,馬達控制器10可藉由擷取第一工作週期以操作於一轉速閉迴路模式。當電源電壓或溫度發生變化時,馬達M之轉速可保持不變。因此,本發明之馬達控制器10能夠克服早期作法所遇到之問題。 According to an embodiment of the present invention, the motor controller 10 can be applied to a single-phase motor or a multi-phase motor. The motor controller 10 can operate smoothly and avoid noise when the motor controller 10 enters a soft switching driving mode by capturing the first duty cycle. In addition, the motor controller 10 can operate in a rotational speed closed-loop mode by capturing the first duty cycle. When the power supply voltage or temperature changes, the rotational speed of the motor M can remain unchanged. Thus, the motor controller 10 of the present invention overcomes the problems encountered with earlier approaches.

雖然本發明業已藉由較佳實施例作為例示加以說明,應瞭解者為:本發明不限於此被揭露的實施例。相反地,本發明意欲涵蓋對於熟習此項技藝之人士而言係明顯的各種修改與相似配置。因此,申請專利範圍應根據最廣的詮釋,以包含所有此類修改與相似配置。 Although the present invention has been described by way of examples of preferred embodiments, it should be understood that the present invention is not limited to the disclosed embodiments. On the contrary, the invention is intended to cover various modifications and similar arrangements apparent to those skilled in the art. Accordingly, the scope of claims should be construed in the broadest way to encompass all such modifications and similar arrangements.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.

10:馬達控制器 10: Motor controller

M:馬達 M: motor

100:開關電路 100: switch circuit

101:第一電晶體 101: The first transistor

102:第二電晶體 102: second transistor

103:第三電晶體 103: The third transistor

104:第四電晶體 104: The fourth transistor

O1:第一端點 O1: first endpoint

O2:第二端點 O2: second endpoint

VCC:端點 VCC: endpoint

GND:端點 GND: endpoint

110:控制單元 110: Control unit

C1:第一控制信號 C1: The first control signal

C2:第二控制信號 C2: Second control signal

C3:第三控制信號 C3: The third control signal

C4:第四控制信號 C4: The fourth control signal

120:脈寬調變處理單元 120: Pulse width modulation processing unit

130:工作週期處理單元 130: work cycle processing unit

140:軟式切換處理單元 140: Soft switching processing unit

Vp1:第一脈寬調變信號 Vp1: the first PWM signal

Vp2:第一脈寬調變信號 Vp2: the first PWM signal

V1:第一信號 V1: first signal

V2:第二信號 V2: second signal

Claims (48)

一種馬達控制器包含:一開關電路,耦合至一馬達,用以驅動該馬達;一控制單元,用以產生複數個控制信號以控制該開關電路;一工作週期處理單元,其中該工作週期處理單元接收一第一脈寬調變信號,該第一脈寬調變信號具有一第一工作週期,該工作週期處理單元用以判定是否該第一工作週期等於0%或100%;以及一脈寬調變處理單元,其中該工作週期處理單元產生一第一信號至該脈寬調變處理單元,該脈寬調變處理單元接收該第一信號用以產生一第二脈寬調變信號至該控制單元。 A motor controller includes: a switch circuit coupled to a motor for driving the motor; a control unit for generating a plurality of control signals to control the switch circuit; a duty cycle processing unit, wherein the duty cycle processing unit receiving a first pulse width modulation signal, the first pulse width modulation signal has a first duty cycle, and the duty cycle processing unit is used to determine whether the first duty cycle is equal to 0% or 100%; and a pulse width A modulation processing unit, wherein the duty cycle processing unit generates a first signal to the pulse width modulation processing unit, and the pulse width modulation processing unit receives the first signal to generate a second pulse width modulation signal to the control unit. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,當該第一脈寬調變信號維持一低位準之一時間大於一第一預定時間時,該工作週期計算單元判定該第一工作週期等於0%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, when the first pulse width modulation signal maintains a low level for a time greater than a first predetermined time , the duty cycle calculation unit determines that the first duty cycle is equal to 0%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,當該第一脈寬調變信號維持一高位準之一時間大於一第二預定時間時,該工作週期計算單元判定該第一工作週期等於100%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, when the first pulse width modulation signal maintains a high level for a time greater than a second predetermined time , the duty cycle calculation unit determines that the first duty cycle is equal to 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,當該第一脈寬調變信號維持一位準之一時間大於一第三預定時間時,該工作週期計算單元判定該第一工作週期等於0%或100%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, when the first pulse width modulation signal maintains a level for a time greater than a third predetermined time , the duty cycle calculation unit determines that the first duty cycle is equal to 0% or 100%. 如申請專利範圍第4項所述之馬達控制器,其中若該位準為一低位 準,則該第一工作週期等於0%。 The motor controller as described in item 4 of the scope of the patent application, wherein if the level is a low level standard, the first duty cycle is equal to 0%. 如申請專利範圍第4項所述之馬達控制器,其中若該位準為一高位準,則該第一工作週期等於100%。 The motor controller as described in item 4 of the scope of application, wherein if the level is a high level, the first duty cycle is equal to 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元利用一充電程序來判定是否該第一工作週期等於0%或100%。 The motor controller described in claim 1, wherein the duty cycle processing unit includes a duty cycle calculation unit, and the duty cycle calculation unit uses a charging program to determine whether the first duty cycle is equal to 0% or 100%. . 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元利用一放電程序來判定是否該第一工作週期等於0%或100%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, and the duty cycle calculation unit uses a discharge program to determine whether the first duty cycle is equal to 0% or 100%. . 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元用以擷取該第一工作週期,該馬達控制器利用該第一工作週期以操作於一轉速閉迴路模式。 The motor controller described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the duty cycle calculation unit is used to obtain the first duty cycle, and the motor controller utilizes the first The duty cycle is to operate in a one-speed closed-loop mode. 如申請專利範圍第1項所述之馬達控制器,其中該脈寬調變處理單元使得該第一工作週期與一第二工作週期作一乘法運算,用以產生一調變工作週期。 The motor controller described in item 1 of the scope of the patent application, wherein the pulse width modulation processing unit performs a multiplication operation on the first duty cycle and a second duty cycle to generate a modulation duty cycle. 如申請專利範圍第10項所述之馬達控制器,其中該脈寬調變處理單元藉由比較該調變工作週期與一比較值以產生該第二脈寬調變信號至該控制單元。 The motor controller as described in claim 10, wherein the pulse width modulation processing unit generates the second pulse width modulation signal to the control unit by comparing the modulation duty cycle with a comparison value. 如申請專利範圍第11項所述之馬達控制器,其中該比較值係用一N位元數值來表示,N為一大於1之正整數。 The motor controller described in claim 11 of the patent application, wherein the comparison value is represented by an N-bit value, where N is a positive integer greater than 1. 如申請專利範圍第12項所述之馬達控制器,其中N等於8。 The motor controller as described in item 12 of the scope of application, wherein N is equal to 8. 如申請專利範圍第10項所述之馬達控制器,其中該第二工作週期隨時間逐漸地減少。 The motor controller as described in claim 10, wherein the second duty cycle gradually decreases with time. 如申請專利範圍第10項所述之馬達控制器,其中該第二工作週期隨時間逐漸地增加。 The motor controller as described in claim 10, wherein the second duty cycle gradually increases with time. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元用以擷取該第一工作週期,該工作週期計算單元為一微控制器之一部分。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the duty cycle calculation unit is used to capture the first duty cycle, and the duty cycle calculation unit is a micro part of the controller. 如申請專利範圍第16項所述之馬達控制器,其中該微控制器係實現於一積體電路晶片。 The motor controller as described in claim 16, wherein the microcontroller is implemented on an integrated circuit chip. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該第一脈寬調變信號更具有一導通時間與一非導通時間,該工作週期計算單元包含:一導通時間計算單元,用以接收該第一脈寬調變信號以計算該導通時間;一非導通時間計算單元,用以接收該第一脈寬調變信號以計算該非導通時 間;以及一記憶單元,其中該記憶單元耦合至該導通時間計算單元以儲存該導通時間,該記憶單元耦合至該非導通時間計算單元以儲存該非導通時間。 The motor controller described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the first pulse width modulation signal further has a conduction time and a non-conduction time, and the duty cycle calculation unit The unit includes: a conduction time calculation unit for receiving the first pulse width modulation signal to calculate the conduction time; a non-conduction time calculation unit for receiving the first pulse width modulation signal to calculate the non-conduction time and a memory unit, wherein the memory unit is coupled to the conduction time calculation unit to store the conduction time, and the memory unit is coupled to the non-conduction time calculation unit to store the non-conduction time. 如申請專利範圍第18項所述之馬達控制器,其中該非導通時間計算單元用以判定是否該第一工作週期等於0%,該導通時間計算單元用以判定是否該第一工作週期等於100%。 The motor controller as described in item 18 of the scope of the patent application, wherein the non-conduction time calculation unit is used to determine whether the first duty cycle is equal to 0%, and the conduction time calculation unit is used to determine whether the first duty cycle is equal to 100%. . 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該第一脈寬調變信號更具有一導通時間與一週期,該工作週期計算單元包含:一導通時間計算單元,用以接收該第一脈寬調變信號以計算該導通時間;一週期計算單元,用以接收該第一脈寬調變信號以計算該週期;以及一記憶單元,其中該記憶單元耦合至該導通時間計算單元以儲存該導通時間,該記憶單元耦合至該週期計算單元以儲存該週期。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the first pulse width modulation signal further has a conduction time and a period, and the duty cycle calculation unit includes : a conduction time calculation unit, used to receive the first pulse width modulation signal to calculate the conduction time; a period calculation unit, used to receive the first pulse width modulation signal to calculate the period; and a memory unit, Wherein the memory unit is coupled to the conduction time calculation unit to store the conduction time, and the memory unit is coupled to the period calculation unit to store the period. 如申請專利範圍第20項所述之馬達控制器,其中該週期計算單元用以判定是否該第一工作週期等於0%,該導通時間計算單元或該週期計算單元用以判定是否該第一工作週期等於100%。 The motor controller as described in item 20 of the scope of the patent application, wherein the cycle calculation unit is used to determine whether the first duty cycle is equal to 0%, and the conduction time calculation unit or the cycle calculation unit is used to determine whether the first duty cycle is equal to 0%. Period is equal to 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該第一脈寬調變信號更具有一非導通時間與一週期,該工作週期計算單元包含:一非導通時間計算單元,用以接收該第一脈寬調變信號以計算該非導通時間; 一週期計算單元,用以接收該第一脈寬調變信號以計算該週期;以及一記憶單元,其中該記憶單元耦合至該非導通時間計算單元以儲存該非導通時間,該記憶單元耦合至該週期計算單元以儲存該週期。 The motor controller described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the first pulse width modulation signal further has a non-conduction time and a period, and the duty cycle calculation unit Including: a non-conduction time calculation unit, used to receive the first pulse width modulation signal to calculate the non-conduction time; a period calculation unit, used to receive the first pulse width modulation signal to calculate the period; and a memory unit, wherein the memory unit is coupled to the non-conduction time calculation unit to store the non-conduction time, and the memory unit is coupled to the period computing unit to store the period. 如申請專利範圍第22項所述之馬達控制器,其中該非導通時間計算單元或該週期計算單元用以判定是否該第一工作週期等於0%,該週期計算單元用以判定是否該第一工作週期等於100%。 The motor controller as described in item 22 of the scope of the patent application, wherein the non-conduction time calculation unit or the period calculation unit is used to determine whether the first duty cycle is equal to 0%, and the cycle calculation unit is used to determine whether the first duty cycle Period is equal to 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元包含一充電單元,該充電單元用以判定是否該第一工作週期等於0%或100%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, and the duty cycle calculation unit includes a charging unit, and the charging unit is used to determine whether the first duty cycle is equal to 0% or 100%. 如申請專利範圍第24項所述之馬達控制器,其中該充電單元根據該第一脈寬調變信號以充電一元件,該工作週期計算單元根據該元件之一參數值來判定是否該第一工作週期等於0%或100%。 The motor controller as described in item 24 of the scope of patent application, wherein the charging unit charges a component according to the first pulse width modulation signal, and the duty cycle calculation unit determines whether the first component is based on a parameter value of the component Duty cycle is equal to 0% or 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元包含一放電單元,該放電單元用以判定是否該第一工作週期等於0%或100%。 The motor controller as described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, and the duty cycle calculation unit includes a discharge unit, and the discharge unit is used to determine whether the first duty cycle is equal to 0% or 100%. 如申請專利範圍第26項所述之馬達控制器,其中該放電單元根據該第一脈寬調變信號以放電一元件,該工作週期計算單元根據該元件之一參數值來判定是否該第一工作週期等於0%或100%。 The motor controller as described in item 26 of the scope of patent application, wherein the discharge unit discharges a component according to the first pulse width modulation signal, and the duty cycle calculation unit determines whether the first component is based on a parameter value of the component Duty cycle is equal to 0% or 100%. 如申請專利範圍第1項所述之馬達控制器,其中該工作週期處理單元包含一工作週期計算單元,該工作週期計算單元包含一特定應用計算單元,該特定應用計算單元用以判定是否該第一工作週期等於0%或100%。 The motor controller described in item 1 of the scope of the patent application, wherein the duty cycle processing unit includes a duty cycle calculation unit, the duty cycle calculation unit includes a specific application calculation unit, and the specific application calculation unit is used to determine whether the first A duty cycle is equal to 0% or 100%. 如申請專利範圍第1項所述之馬達控制器,其中該第一信號具有該第一工作週期。 The motor controller as described in claim 1 of the patent application, wherein the first signal has the first duty cycle. 如申請專利範圍第29項所述之馬達控制器,其中該第一工作週期係用一N位元數值來表示,N為一大於1之正整數。 The motor controller as described in claim 29 of the patent application, wherein the first duty cycle is represented by an N-bit value, where N is a positive integer greater than 1. 如申請專利範圍第30項所述之馬達控制器,其中N等於8。 The motor controller as described in claim 30, wherein N is 8. 如申請專利範圍第29項所述之馬達控制器,其中該第一信號為一M形波信號。 The motor controller as described in claim 29, wherein the first signal is an M-shaped wave signal. 如申請專利範圍第29項所述之馬達控制器,其中該馬達控制器更包含一軟式切換處理單元,該軟式切換處理單元產生一第二信號至該脈寬調變處理單元,該第二信號具有一第二工作週期。 The motor controller as described in item 29 of the scope of the patent application, wherein the motor controller further includes a soft switching processing unit, the soft switching processing unit generates a second signal to the pulse width modulation processing unit, and the second signal has a second duty cycle. 如申請專利範圍第33項所述之馬達控制器,其中該第二工作週期隨時間逐漸地減少。 The motor controller as described in claim 33, wherein the second duty cycle gradually decreases with time. 如申請專利範圍第33項所述之馬達控制器,其中該第二工作週期隨時間逐漸地增加。 The motor controller as described in claim 33, wherein the second duty cycle increases gradually with time. 如申請專利範圍第33項所述之馬達控制器,其中該脈寬調變處理單元包含一乘法運算單元,該乘法運算單元根據該第一信號與該第二信號,用以產生一第三信號,該第三信號具有一調變工作週期。 The motor controller as described in claim 33 of the patent application, wherein the pulse width modulation processing unit includes a multiplication unit, and the multiplication unit is used to generate a third signal according to the first signal and the second signal , the third signal has a modulation duty cycle. 如申請專利範圍第36項所述之馬達控制器,其中該第三信號為一M形波信號。 The motor controller as described in claim 36, wherein the third signal is an M-shaped wave signal. 如申請專利範圍第36項所述之馬達控制器,其中該脈寬調變處理單元更包含:一比較單元;以及一三角波產生單元,用以產生一第四信號至該比較單元,其中該比較單元接收該第三信號與該第四信號,用以比較該第三信號與該第四信號以產生該第二脈寬調變信號至該控制單元。 The motor controller as described in item 36 of the scope of patent application, wherein the pulse width modulation processing unit further includes: a comparison unit; and a triangular wave generation unit for generating a fourth signal to the comparison unit, wherein the comparison The unit receives the third signal and the fourth signal, and compares the third signal with the fourth signal to generate the second PWM signal to the control unit. 如申請專利範圍第38項所述之馬達控制器,其中該第四信號為一三角波信號或一鋸齒波信號。 The motor controller as described in claim 38, wherein the fourth signal is a triangular wave signal or a sawtooth wave signal. 如申請專利範圍第38項所述之馬達控制器,其中該第四信號為一定頻信號。 The motor controller as described in claim 38, wherein the fourth signal is a constant frequency signal. 如申請專利範圍第38項所述之馬達控制器,其中該比較單元為一數位比較器。 The motor controller as described in claim 38, wherein the comparison unit is a digital comparator. 如申請專利範圍第1項所述之馬達控制器,其中當該馬達控制器處於一軟式切換驅動模式時,該馬達控制器於切換相位時達到一電流波整形之功能。 The motor controller described in item 1 of the scope of the patent application, wherein when the motor controller is in a soft switching driving mode, the motor controller achieves a current wave shaping function when switching phases. 如申請專利範圍第1項所述之馬達控制器,其中該馬達控制器係應用於一風扇馬達系統。 The motor controller as described in item 1 of the scope of the patent application, wherein the motor controller is applied to a fan motor system. 如申請專利範圍第1項所述之馬達控制器,其中該馬達控制器係應用於一單相馬達或一多相馬達。 The motor controller as described in claim 1 of the patent application, wherein the motor controller is applied to a single-phase motor or a multi-phase motor. 如申請專利範圍第1項所述之馬達控制器,其中該馬達控制器藉由擷取該第一工作週期使得該馬達達到一目標轉速。 The motor controller as described in item 1 of the scope of the patent application, wherein the motor controller makes the motor reach a target speed by capturing the first duty cycle. 如申請專利範圍第1項所述之馬達控制器,其中當一電源電壓發生變化時,該馬達之一轉速保持不變。 The motor controller as described in item 1 of the scope of the patent application, wherein when a power supply voltage changes, the rotational speed of the motor remains constant. 如申請專利範圍第1項所述之馬達控制器,其中當一溫度發生變化時,該馬達之一轉速保持不變。 The motor controller as described in claim 1 of the patent application, wherein when a temperature changes, the rotational speed of the motor remains constant. 如申請專利範圍第1項所述之馬達控制器,其中該馬達控制器使得該馬達穩定地轉動且該馬達之一轉速不會偏移。 The motor controller as described in claim 1 of the patent application, wherein the motor controller makes the motor rotate stably and the rotation speed of the motor does not deviate.
TW110128502A 2021-08-03 2021-08-03 Motor controller TWI792469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110128502A TWI792469B (en) 2021-08-03 2021-08-03 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110128502A TWI792469B (en) 2021-08-03 2021-08-03 Motor controller

Publications (2)

Publication Number Publication Date
TWI792469B true TWI792469B (en) 2023-02-11
TW202308284A TW202308284A (en) 2023-02-16

Family

ID=86661236

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110128502A TWI792469B (en) 2021-08-03 2021-08-03 Motor controller

Country Status (1)

Country Link
TW (1) TWI792469B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200402185A (en) * 2002-07-24 2004-02-01 Mitsubishi Electric Corp Pulse width modulation motor driving device for controlling driving operation of a three-phase motor at the start and ordinary rotational frequency
US20130069576A1 (en) * 2011-09-21 2013-03-21 Teng-Hui LEE Soft-Start and Soft-Lock Start on Motor Driving Apparatus
TW201902107A (en) * 2017-05-26 2019-01-01 茂達電子股份有限公司 Motor control system and motor control method
TW201935841A (en) * 2018-02-16 2019-09-01 日商羅姆股份有限公司 Fan motor driving circuit, driving method, and cooling device and electronic machine using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200402185A (en) * 2002-07-24 2004-02-01 Mitsubishi Electric Corp Pulse width modulation motor driving device for controlling driving operation of a three-phase motor at the start and ordinary rotational frequency
US20130069576A1 (en) * 2011-09-21 2013-03-21 Teng-Hui LEE Soft-Start and Soft-Lock Start on Motor Driving Apparatus
TW201902107A (en) * 2017-05-26 2019-01-01 茂達電子股份有限公司 Motor control system and motor control method
TW201935841A (en) * 2018-02-16 2019-09-01 日商羅姆股份有限公司 Fan motor driving circuit, driving method, and cooling device and electronic machine using the same

Also Published As

Publication number Publication date
TW202308284A (en) 2023-02-16

Similar Documents

Publication Publication Date Title
US10644629B2 (en) Fan motor driving circuit, driving method, and cooling device and electronic machine using the same
JP6498414B2 (en) Fan motor drive device and cooling device and electronic equipment using the same
TWI718059B (en) Voltage booster circuit and method controlling same
CN101313460B (en) Motor drive circuit and cooling system using same
US7449854B2 (en) PWM signal generation apparatus and method thereof and motor control apparatus and method thereof
JP2007043890A (en) Fan motor drive device
JPH1080194A (en) Method of synchronously driving inductive load and synchronous control equipment of h bridge circuit
JP2016501509A5 (en)
KR101715673B1 (en) Hysteretic buck converter using a triangular wave generator and the delay time control circuit of the pll structure
CN100421067C (en) Switched charge multiplier-divider
WO2014167938A1 (en) Power device drive circuit
JP2005117839A (en) Method and apparatus for generating pulse width modulated wave
TWI792469B (en) Motor controller
CN204633649U (en) Sofe Switch control module and driven by Brush-Less DC motor system
CN202026270U (en) Fan motor control device
JP2009240089A (en) Motor drive circuit
CN113067571A (en) Silicon carbide MOSFET (Metal-oxide-semiconductor field Effect transistor) driving circuit with improved turn-off characteristic and control method
US11705909B1 (en) Frequency-locked circuit for variable frequency topology and frequency-locked method thereof
TW201412011A (en) Motor driving device with speed control and driving method thereof
JP2001298981A (en) Motor drive circuit and its driving method
US11923799B2 (en) Systems and methods for regulating slew time of output voltage of DC motor drivers
US11558042B2 (en) Multi-phase signal control circuit and method
US11936326B2 (en) Motor controller
CN115913007A (en) Motor controller
JP2008141831A (en) Motor drive circuit