TWI749857B - Motor controller - Google Patents
Motor controller Download PDFInfo
- Publication number
- TWI749857B TWI749857B TW109139120A TW109139120A TWI749857B TW I749857 B TWI749857 B TW I749857B TW 109139120 A TW109139120 A TW 109139120A TW 109139120 A TW109139120 A TW 109139120A TW I749857 B TWI749857 B TW I749857B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- motor controller
- pin
- frequency
- hall
- Prior art date
Links
Images
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
Description
本發明係關於一種馬達控制器,特別是關於一種於測試模式下可獲得複數個物理參數之馬達控制器。 The present invention relates to a motor controller, in particular to a motor controller that can obtain a plurality of physical parameters in a test mode.
目前有些馬達控制器內建多個感測元件(如霍爾感測器、溫度感測器等)以供內部控制信號使用。然而,使用者無法藉由外部量測去獲得這些感測元件所輸出之物理參數。習知技術中可利用一脈寬調變(Pulse Width Modulation)腳位接收一測試啟動信號以進入測試模式,且利用脈寬調變腳位以輸出一霍爾信號。由於腳位數量會影響封裝成本,在節省成本前提下會盡量減少腳位數量以提升產品之競爭力。因此,如何善用現有腳位以進入測試模式獲得所需之物理參數,實為目前所需解決之重要課題。 At present, some motor controllers have built-in multiple sensing elements (such as Hall sensors, temperature sensors, etc.) for internal control signals. However, users cannot obtain the physical parameters output by these sensing elements through external measurements. In the conventional technology, a pulse width modulation (Pulse Width Modulation) pin can be used to receive a test start signal to enter the test mode, and a pulse width modulation pin can be used to output a Hall signal. Since the number of pins will affect the packaging cost, the number of pins will be minimized on the premise of cost saving to enhance the competitiveness of the product. Therefore, how to make good use of the existing pins to enter the test mode to obtain the required physical parameters is actually an important issue that needs to be solved at present.
有鑑於前述問題,本發明之目的在於提供一種可於測試模式下輸出複數個物理參數之馬達控制器。 In view of the foregoing problems, the purpose of the present invention is to provide a motor controller that can output multiple physical parameters in a test mode.
依據本發明提供該馬達控制器。該馬達控制器係用以驅動一馬達。該馬達控制器具有一命令腳位、一轉速信號腳位、一選擇電路、一霍爾信號處理單元、一溫度感測器、一電晶體、一控制單元、以及一驅動電路。該選擇電 路耦合至該轉速信號腳位。該驅動電路係用以提供一馬達電流至該馬達。該霍爾信號處理單元係用以產生一霍爾信號。該溫度感測器係用以產生一溫度信號。該控制單元具有一判斷單元且該判斷單元係用以決定該馬達控制器操作於一正常操作模式或一測試模式。該判斷單元耦合至該命令腳位。該判斷單元根據一第一啟動測試信號,用以通知該選擇電路經由該轉速信號腳位輸出一溫度信號。該判斷單元根據一第二啟動測試信號,用以通知該選擇電路經由該轉速信號腳位輸出一霍爾信號。 According to the present invention, the motor controller is provided. The motor controller is used to drive a motor. The motor controller has a command pin, a rotation speed signal pin, a selection circuit, a Hall signal processing unit, a temperature sensor, a transistor, a control unit, and a drive circuit. The choice of electricity The circuit is coupled to the speed signal pin. The driving circuit is used to provide a motor current to the motor. The Hall signal processing unit is used to generate a Hall signal. The temperature sensor is used to generate a temperature signal. The control unit has a judging unit and the judging unit is used to determine the motor controller to operate in a normal operation mode or a test mode. The judgment unit is coupled to the command pin. The judging unit is used for notifying the selection circuit to output a temperature signal via the rotation speed signal pin according to a first start test signal. The judging unit is used to notify the selection circuit to output a Hall signal via the rotation speed signal pin according to a second start test signal.
10:馬達控制器 10: Motor controller
VCC:電壓供應腳位 VCC: Voltage supply pin
GND:接地腳位 GND: ground pin
OUT1:第一輸出腳位 OUT1: The first output pin
OUT2:第二輸出腳位 OUT2: The second output pin
SO:轉速信號腳位 SO: Speed signal pin
CMD:命令腳位 CMD: Command pin
L:馬達線圈 L: Motor coil
110:選擇電路 110: select circuit
120:霍爾信號處理單元 120: Hall signal processing unit
130:溫度感測器 130: temperature sensor
140:電晶體 140: Transistor
150:控制單元 150: control unit
160:驅動電路 160: drive circuit
Vhb,Vm:電壓源 Vhb, Vm: voltage source
121:霍爾感測器 121: Hall sensor
122:放大器 122: Amplifier
IN1:第一輸入端 IN1: the first input
IN2:第二輸入端 IN2: second input
131:雙載子電晶體 131: Double carrier transistor
CS:電流源 CS: current source
151:判斷單元 151: Judgment Unit
Vh:霍爾信號 Vh: Hall signal
Vb:參考電壓 Vb: Reference voltage
Vt:溫度信號 Vt: temperature signal
Vs:轉速信號 Vs: Speed signal
SEL:數位信號 SEL: Digital signal
Vp:脈寬調變信號 Vp: Pulse width modulation signal
第1圖係本發明一實施例之馬達控制器之腳位圖。 Figure 1 is a pinout diagram of a motor controller according to an embodiment of the present invention.
第2圖係本發明一實施例之馬達控制器之示意圖。 Figure 2 is a schematic diagram of a motor controller according to an embodiment of the present invention.
下文中之說明將使本發明之目的、特徵、與優點更明顯。茲將參考圖式詳細說明依據本發明之較佳實施例。 The following description will make the purpose, features, and advantages of the present invention more obvious. The preferred embodiments according to the present invention will be described in detail with reference to the drawings.
第1圖係本發明一實施例之馬達控制器10之腳位圖。馬達控制器10係用以驅動一馬達,其中馬達具有一馬達線圈L。馬達控制器10具有一電壓供應腳位VCC、一接地腳位GND、一命令腳位CMD、一第一輸出腳位OUT1、一第二輸出腳位OUT2、以及一轉速信號腳位SO。電壓供應腳位VCC與接地腳位GND耦合至一電壓源Vm以供應馬達控制器10所需之電壓。命令腳位CMD接收一脈寬調變信號以調整馬達之轉速。轉速信號腳位SO係用以輸出一轉速信號。第一輸出腳位OUT1與第二輸出腳位OUT2耦合至馬達線圈L以驅動馬達。
Figure 1 is a pinout diagram of a
第2圖係本發明一實施例之馬達控制器10之示意圖。馬達控制器10更具有一選擇電路110、一霍爾信號處理單元120、一溫度感測器130、一電晶體140、一控制單元150、以及一驅動電路160。霍爾信號處理單元120具有一霍爾感測器121與一放大器122,其中霍爾感測器121係設置於馬達附近以感測馬達的磁場變化。霍爾感測器121耦合至一電壓源Vhb以產生一第一輸出信號與一第二輸出信號。放大器122具有一第一輸入端IN1與一第二輸入端IN2,其中第一輸入端IN1耦合至第一輸出信號且第二輸入端IN2耦合至第二輸出信號,用以產生一霍爾信號Vh至選擇電路110。此外,霍爾信號Vh係相關於一物理參數,例如磁場。
Figure 2 is a schematic diagram of a
溫度感測器130具有一雙載子電晶體131與一電流源CS。雙載子電晶體131具有一射極、一基極、以及一集極。雙載子電晶體131之集極耦合至電壓源Vm。雙載子電晶體131之基極耦合至一參考電壓Vb,其中參考電壓Vb具有一零溫度係數。雙載子電晶體131之射極耦合至電流源CS,用以產生一溫度信號Vt至選擇電路110,其中溫度信號Vt會以約25mV/℃之因數而隨溫度變化。如第2圖所示,雙載子電晶體131可為一NPN型雙載子電晶體。此外,溫度信號Vt係相關於一物理參數,例如溫度。
The
控制單元150耦合至電晶體140,用以產生一轉速信號Vs至選擇電路110。控制單元150具有一判斷單元151且判斷單元151係用以決定馬達控制器10操作於一正常操作模式或一測試模式。判斷單元151耦合至命令腳位CMD,用以產生一N位元數位信號SEL至選擇電路110且產生一脈寬調變信號Vp至驅動電路160,其中N=2。驅動電路160係用以提供一馬達電流至馬達,其中驅動電路160可具有一H橋式(H-bridge)電路。
The
當命令腳位CMD接收到一正常脈寬調變信號時,判斷單元151可將數位信號SEL設成00,用以通知選擇電路110將轉速信號Vs耦合至轉速信號腳位SO。此時馬達控制器10處於正常操作模式,判斷單元151將脈寬調變信號Vp耦
合至命令腳位CMD以控制馬達運轉。當命令腳位CMD接收到一第一啟動測試信號時,判斷單元151可將數位信號SEL設成01,用以通知選擇電路110將溫度信號Vt耦合至轉速信號腳位SO。此時,馬達控制器10處於測試模式。當命令腳位CMD接收到一第二啟動測試信號時,判斷單元151可將數位信號SEL設成10,用以通知選擇電路110將霍爾信號Vh耦合至轉速信號腳位SO。此時,馬達控制器10亦處於測試模式。
When the command pin CMD receives a normal pulse width modulation signal, the
具體而言,有各種不同的方式可產生第一啟動測試信號與第二啟動測試信號以進入測試模式。本發明一實施例之第一啟動測試信號可為一高頻信號且具有一第一頻率。第二啟動測試信號亦可為一高頻信號且具有一第二頻率。第一頻率大於一第一預定頻率且第一頻率小於一第二預定頻率。第二頻率大於一第三預定頻率且第二頻率小於一第四預定頻率。第一預定頻率小於第二預定頻率。第三預定頻率小於第四預定頻率。第二預定頻率小於第三預定頻率。 Specifically, there are various ways to generate the first start test signal and the second start test signal to enter the test mode. The first start-up test signal of an embodiment of the present invention may be a high-frequency signal and has a first frequency. The second start test signal can also be a high-frequency signal and has a second frequency. The first frequency is greater than a first predetermined frequency and the first frequency is less than a second predetermined frequency. The second frequency is greater than a third predetermined frequency and the second frequency is less than a fourth predetermined frequency. The first predetermined frequency is less than the second predetermined frequency. The third predetermined frequency is less than the fourth predetermined frequency. The second predetermined frequency is less than the third predetermined frequency.
本發明一實施例之馬達控制器10可應用於一單相馬達或一多相馬達。馬達控制器10係用以驅動一馬達。馬達控制器10具有命令腳位CMD、轉速信號腳位SO、選擇電路110、控制單元150、以及驅動電路160。驅動電路160係用以提供一馬達電流至馬達。控制單元150具有判斷單元151。判斷單元151係用以決定馬達控制器10操作於正常操作模式或測試模式。判斷單元151耦合至命令腳位CMD。判斷單元151根據第一啟動測試信號與第二啟動測試信號以獲得複數個物理參數。選擇電路110耦合至轉速信號腳位SO,其中選擇電路110係用以輸出霍爾信號與溫度信號。霍爾信號與溫度信號係相關於複數個物理參數。本發明的優點在於不需增加額外腳位的情形下而能實現於測試模式時獲得複數個物理參數。
The
雖然本發明業已藉由較佳實施例作為例示加以說明,應瞭解者為:本發明不限於此被揭露的實施例。相反地,本發明意欲涵蓋對於熟習此項技藝 之人士而言係明顯的各種修改與相似配置。因此,申請專利範圍應根據最廣的詮釋,以包含所有此類修改與相似配置。 Although the present invention has been described with the preferred embodiment as an example, it should be understood that the present invention is not limited to the disclosed embodiment. On the contrary, the present invention is intended to cover those who are familiar with the art For those of you, there are obvious modifications and similar configurations. Therefore, the scope of the patent application should be based on the broadest interpretation to include all such modifications and similar configurations.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The foregoing descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.
10:馬達控制器 10: Motor controller
SO:轉速信號腳位 SO: Speed signal pin
CMD:命令腳位 CMD: Command pin
110:選擇電路 110: select circuit
120:霍爾信號處理單元 120: Hall signal processing unit
130:溫度感測器 130: temperature sensor
140:電晶體 140: Transistor
150:控制單元 150: control unit
160:驅動電路 160: drive circuit
Vhb,Vm:電壓源 Vhb, Vm: voltage source
121:霍爾感測器 121: Hall sensor
122:放大器 122: Amplifier
IN1:第一輸入端 IN1: the first input
IN2:第二輸入端 IN2: second input
131:雙載子電晶體 131: Double carrier transistor
CS:電流源 CS: current source
151:判斷單元 151: Judgment Unit
Vh:霍爾信號 Vh: Hall signal
Vb:參考電壓 Vb: Reference voltage
Vt:溫度信號 Vt: temperature signal
Vs:轉速信號 Vs: Speed signal
SEL:數位信號 SEL: Digital signal
Vp:脈寬調變信號 Vp: Pulse width modulation signal
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109139120A TWI749857B (en) | 2020-11-10 | 2020-11-10 | Motor controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109139120A TWI749857B (en) | 2020-11-10 | 2020-11-10 | Motor controller |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI749857B true TWI749857B (en) | 2021-12-11 |
TW202220362A TW202220362A (en) | 2022-05-16 |
Family
ID=80681239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109139120A TWI749857B (en) | 2020-11-10 | 2020-11-10 | Motor controller |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI749857B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030137261A1 (en) * | 2002-01-24 | 2003-07-24 | Marshall Sumner B. | System for sharing power and signal pins on a motor controller |
WO2007066625A1 (en) * | 2005-12-06 | 2007-06-14 | Rohm Co., Ltd. | Motor drive circuit, method, and cooling device using the same |
TWI361971B (en) * | 2004-04-30 | 2012-04-11 | Minebea Co Ltd | Microcontroller-driven method and electronic circuit for self-calibrating electronic cooling fan |
US20140028238A1 (en) * | 2011-04-07 | 2014-01-30 | Takeo Tsukamoto | Inverter Device |
TWM514034U (en) * | 2015-08-17 | 2015-12-11 | Asia Vital Components Co Ltd | Switch driving circuit capable of saving fan processor timer |
JP2016226263A (en) * | 2015-05-27 | 2016-12-28 | ローム株式会社 | Motor drive device, motor drive circuit, motor drive ic, cooling device employing the same, and electronic apparatus |
CN107659219A (en) * | 2016-07-26 | 2018-02-02 | 台达电子工业股份有限公司 | Fan motor brake device and control method thereof |
TW201943314A (en) * | 2018-03-28 | 2019-11-01 | Bigbest Solutions Inc | Parallel LED current-balancing circuit of motor driving system |
WO2019215891A1 (en) * | 2018-05-10 | 2019-11-14 | 日産自動車株式会社 | Control method for motor system, and control device for motor system |
TWI681620B (en) * | 2018-05-18 | 2020-01-01 | 茂達電子股份有限公司 | Motor driving circuit |
-
2020
- 2020-11-10 TW TW109139120A patent/TWI749857B/en active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030137261A1 (en) * | 2002-01-24 | 2003-07-24 | Marshall Sumner B. | System for sharing power and signal pins on a motor controller |
TWI361971B (en) * | 2004-04-30 | 2012-04-11 | Minebea Co Ltd | Microcontroller-driven method and electronic circuit for self-calibrating electronic cooling fan |
WO2007066625A1 (en) * | 2005-12-06 | 2007-06-14 | Rohm Co., Ltd. | Motor drive circuit, method, and cooling device using the same |
US20140028238A1 (en) * | 2011-04-07 | 2014-01-30 | Takeo Tsukamoto | Inverter Device |
JP2016226263A (en) * | 2015-05-27 | 2016-12-28 | ローム株式会社 | Motor drive device, motor drive circuit, motor drive ic, cooling device employing the same, and electronic apparatus |
TWM514034U (en) * | 2015-08-17 | 2015-12-11 | Asia Vital Components Co Ltd | Switch driving circuit capable of saving fan processor timer |
CN107659219A (en) * | 2016-07-26 | 2018-02-02 | 台达电子工业股份有限公司 | Fan motor brake device and control method thereof |
TW201943314A (en) * | 2018-03-28 | 2019-11-01 | Bigbest Solutions Inc | Parallel LED current-balancing circuit of motor driving system |
WO2019215891A1 (en) * | 2018-05-10 | 2019-11-14 | 日産自動車株式会社 | Control method for motor system, and control device for motor system |
TWI681620B (en) * | 2018-05-18 | 2020-01-01 | 茂達電子股份有限公司 | Motor driving circuit |
Also Published As
Publication number | Publication date |
---|---|
TW202220362A (en) | 2022-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8174226B2 (en) | Current limit control method of DC motor and related device and circuit | |
CN106574829A (en) | Rotation-detecting apparatus | |
TWI749857B (en) | Motor controller | |
US10333438B1 (en) | Motor driving circuit | |
US10527454B2 (en) | Magnet sensor, motor assembly and application apparatus | |
CN114499337B (en) | motor controller | |
US20220149762A1 (en) | Motor controller | |
JP5729254B2 (en) | Hysteresis device | |
TW556407B (en) | Electric motor driving circuit and its method with frequency setting and correction functions | |
JP5187093B2 (en) | Semiconductor driving circuit for motor driving and test method | |
US8497674B2 (en) | Magnetic detection apparatus | |
JP2006504961A (en) | Device for measuring current intensity | |
US20060006864A1 (en) | Integrated magnetoresitive speed and direction sensor | |
US8030864B2 (en) | Motor drive circuit | |
US7157904B1 (en) | Magnetic detection apparatus | |
US4789812A (en) | Device for controlling a motor for rotating a magnetic disc | |
KR100417144B1 (en) | Rotation angle detecting device | |
JP2012130089A (en) | Blower control circuit and blower using the same | |
JP2715997B2 (en) | Magnetic sensor | |
JP2012117486A (en) | Control circuit for air-blowing apparatus, and air-blowing apparatus using the same | |
JP4215335B2 (en) | Motor drive device | |
JP2021173736A (en) | Hall element sensor and adjustment method therefor | |
TWI760915B (en) | Motor controller | |
JP2977700B2 (en) | Hall element circuit | |
JP2003254992A (en) | Physical quantity detecting circuit |