TW202220362A - Motor controller - Google Patents
Motor controller Download PDFInfo
- Publication number
- TW202220362A TW202220362A TW109139120A TW109139120A TW202220362A TW 202220362 A TW202220362 A TW 202220362A TW 109139120 A TW109139120 A TW 109139120A TW 109139120 A TW109139120 A TW 109139120A TW 202220362 A TW202220362 A TW 202220362A
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- motor controller
- pin
- motor
- coupled
- 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, the user cannot obtain the physical parameters output by these sensing elements through external measurement. In the prior art, a Pulse Width Modulation (Pulse Width Modulation) pin can be used to receive a test enable signal to enter the test mode, and the 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 reduced as much as possible to improve the competitiveness of the product under the premise of saving costs. Therefore, how to make good use of the existing pins to enter the test mode to obtain the required physical parameters is an important issue to be solved at present.
有鑑於前述問題,本發明之目的在於提供一種可於測試模式下輸出複數個物理參數之馬達控制器。In view of the aforementioned problems, an object of the present invention is to provide a motor controller capable of outputting a plurality of physical parameters in a test mode.
依據本發明提供該馬達控制器。該馬達控制器係用以驅動一馬達。該馬達控制器具有一命令腳位、一轉速信號腳位、一選擇電路、一霍爾信號處理單元、一溫度感測器、一電晶體、一控制單元、以及一驅動電路。該選擇電路耦合至該轉速信號腳位。該驅動電路係用以提供一馬達電流至該馬達。該霍爾信號處理單元係用以產生一霍爾信號。該溫度感測器係用以產生一溫度信號。該控制單元具有一判斷單元且該判斷單元係用以決定該馬達控制器操作於一正常操作模式或一測試模式。該判斷單元耦合至該命令腳位。該判斷單元根據一第一啟動測試信號,用以通知該選擇電路經由該轉速信號腳位輸出一溫度信號。該判斷單元根據一第二啟動測試信號,用以通知該選擇電路經由該轉速信號腳位輸出一霍爾信號。The motor controller is provided according to the present invention. The motor controller is used to drive a motor. The motor controller has a command pin, a rotational speed signal pin, a selection circuit, a Hall signal processing unit, a temperature sensor, a transistor, a control unit, and a drive circuit. The selection circuit is coupled to the rotational speed signal pin. The driving circuit is used for providing a motor current to the motor. The Hall signal processing unit is used for generating a Hall signal. The temperature sensor is used for generating a temperature signal. The control unit has a judging unit, and the judging unit is used to determine whether the motor controller operates in a normal operation mode or a test mode. The judging unit is coupled to the command pin. The judging unit is used for informing the selection circuit to output a temperature signal via the rotational speed signal pin according to a first start-up test signal. The judging unit is used for informing the selection circuit to output a Hall signal via the rotational speed signal pin according to a second activation test signal.
下文中之說明將使本發明之目的、特徵、與優點更明顯。茲將參考圖式詳細說明依據本發明之較佳實施例。The objects, features, and advantages of the present invention will become more apparent from the following description. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
第1圖係本發明一實施例之馬達控制器10之腳位圖。馬達控制器10係用以驅動一馬達,其中馬達具有一馬達線圈L。馬達控制器10具有一電壓供應腳位VCC、一接地腳位GND、一命令腳位CMD、一第一輸出腳位OUT1、一第二輸出腳位OUT2、以及一轉速信號腳位SO。電壓供應腳位VCC與接地腳位GND耦合至一電壓源Vm以供應馬達控制器10所需之電壓。命令腳位CMD接收一脈寬調變信號以調整馬達之轉速。轉速信號腳位SO係用以輸出一轉速信號。第一輸出腳位OUT1與第二輸出腳位OUT2耦合至馬達線圈L以驅動馬達。FIG. 1 is a pin 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係相關於一物理參數,例如磁場。FIG. 2 is a schematic diagram of a
溫度感測器130具有一雙載子電晶體131與一電流源CS。雙載子電晶體131具有一射極、一基極、以及一集極。雙載子電晶體131之集極耦合至電壓源Vm。雙載子電晶體131之基極耦合至一參考電壓Vb,其中參考電壓Vb具有一零溫度係數。雙載子電晶體131之射極耦合至電流源CS,用以產生一溫度信號Vt至選擇電路110,其中溫度信號Vt會以約25mV/°C之因數而隨溫度變化。如第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 PWM signal, the
具體而言,有各種不同的方式可產生第一啟動測試信號與第二啟動測試信號以進入測試模式。本發明一實施例之第一啟動測試信號可為一高頻信號且具有一第一頻率。第二啟動測試信號亦可為一高頻信號且具有一第二頻率。第一頻率大於一第一預定頻率且第一頻率小於一第二預定頻率。第二頻率大於一第三預定頻率且第二頻率小於一第四預定頻率。第一預定頻率小於第二預定頻率。第三預定頻率小於第四預定頻率。第二預定頻率小於第三預定頻率。Specifically, there are various ways to generate the first start-up test signal and the second start-up test signal to enter the test mode. The first start-up test signal in an embodiment of the present invention may be a high-frequency signal having a first frequency. The second activation 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
雖然本發明業已藉由較佳實施例作為例示加以說明,應瞭解者為:本發明不限於此被揭露的實施例。相反地,本發明意欲涵蓋對於熟習此項技藝之人士而言係明顯的各種修改與相似配置。因此,申請專利範圍應根據最廣的詮釋,以包含所有此類修改與相似配置。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 While the present invention has been described by way of illustration of the preferred embodiments, it should be understood that the present invention is not limited to the disclosed embodiments. On the contrary, the present invention is intended to cover various modifications and similar arrangements apparent to those skilled in the art. Accordingly, the scope of the patent application should be accorded the broadest interpretation so as 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:馬達控制器 VCC:電壓供應腳位 GND:接地腳位 OUT1:第一輸出腳位 OUT2:第二輸出腳位 SO:轉速信號腳位 CMD:命令腳位 L:馬達線圈 110:選擇電路 120:霍爾信號處理單元 130:溫度感測器 140:電晶體 150:控制單元 160:驅動電路 Vhb,Vm:電壓源 121:霍爾感測器 122:放大器 IN1:第一輸入端 IN2:第二輸入端 131:雙載子電晶體 CS:電流源 151:判斷單元 Vh:霍爾信號 Vb:參考電壓 Vt:溫度信號 Vs:轉速信號 SEL:數位信號 Vp:脈寬調變信號 10: Motor Controller VCC: Voltage supply pin GND: ground pin OUT1: The first output pin OUT2: The second output pin SO: Speed signal pin CMD: command pin L: motor coil 110: Selection circuit 120: Hall signal processing unit 130: temperature sensor 140: Transistor 150: Control unit 160: Drive circuit Vhb, Vm: voltage source 121: Hall sensor 122: Amplifier IN1: the first input terminal IN2: The second input terminal 131: Bipolar Transistor CS: Current Source 151: Judgment unit Vh: Hall signal Vb: reference voltage Vt: temperature signal Vs: speed signal SEL: digital signal Vp: PWM signal
第1圖係本發明一實施例之馬達控制器之腳位圖。 第2圖係本發明一實施例之馬達控制器之示意圖。 FIG. 1 is a pin diagram of a motor controller according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a motor controller according to an embodiment of the present invention.
10:馬達控制器 10: Motor Controller
SO:轉速信號腳位 SO: Speed signal pin
CMD:命令腳位 CMD: command pin
110:選擇電路 110: Selection 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 terminal
IN2:第二輸入端 IN2: The second input terminal
131:雙載子電晶體 131: Bipolar 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: PWM signal
Claims (12)
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 TWI749857B (en) | 2021-12-11 |
TW202220362A true 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) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6747425B2 (en) * | 2002-01-24 | 2004-06-08 | Asahi Kasei Microsystems Co. Ltd | System for sharing power and signal pins on a motor controller |
US7202624B2 (en) * | 2004-04-30 | 2007-04-10 | Minebea Co., Ltd. | Self calibrating fan |
US7786688B2 (en) * | 2005-12-06 | 2010-08-31 | Rohm Co., Ltd. | Motor drive circuit |
JP5925425B2 (en) * | 2011-04-07 | 2016-05-25 | サンデンホールディングス株式会社 | Inverter device |
JP6718287B2 (en) * | 2015-05-27 | 2020-07-08 | ローム株式会社 | Motor drive device, motor drive circuit, motor drive IC and cooling device using the same, electronic device |
TWM514034U (en) * | 2015-08-17 | 2015-12-11 | Asia Vital Components Co Ltd | Switch driving circuit capable of saving fan processor timer |
CN107659219B (en) * | 2016-07-26 | 2020-02-14 | 台达电子工业股份有限公司 | Fan motor brake device and control method thereof |
TWI672974B (en) * | 2018-03-28 | 2019-09-21 | 大青節能科技股份有限公司 | Parallel led current-blancing circuit of motor driving system |
US11394333B2 (en) * | 2018-05-10 | 2022-07-19 | Nissan Motor Co., Ltd. | Control method for a motor system and a control device for a motor system |
TWI681620B (en) * | 2018-05-18 | 2020-01-01 | 茂達電子股份有限公司 | Motor driving circuit |
-
2020
- 2020-11-10 TW TW109139120A patent/TWI749857B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI749857B (en) | 2021-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7768219B2 (en) | Microcontroller interface with hall element | |
US9503000B2 (en) | Driving device of multi-phase motor, driving method, cooling device, and electronic apparatus | |
TWI687040B (en) | Motor drive circuit, cooling device and electronic equipment | |
CN106972790B (en) | Motor drive circuit, motor drive method, and electronic device | |
US9329023B2 (en) | Rotation control apparatus and method and disk driving apparatus using the same | |
CN110535401B (en) | Motor driving circuit | |
US20220149762A1 (en) | Motor controller | |
TW202220362A (en) | Motor controller | |
CN114499337B (en) | motor controller | |
US8497674B2 (en) | Magnetic detection apparatus | |
JP5187093B2 (en) | Semiconductor driving circuit for motor driving and test method | |
US8030864B2 (en) | Motor drive circuit | |
KR100417144B1 (en) | Rotation angle detecting device | |
US7157904B1 (en) | Magnetic detection apparatus | |
TWI431942B (en) | Pulse width modulation driving ic and pulse width modulation output signal generating method | |
CN106095019A (en) | Information processor and POS terminal device | |
TWI760915B (en) | Motor controller | |
JP4215335B2 (en) | Motor drive device | |
JP2012130089A (en) | Blower control circuit and blower using the same | |
KR101496818B1 (en) | Apparatus and method for detecting back electro-motive force of sensorless motor | |
JP7628835B2 (en) | Capacitive Sensor | |
JP2012117486A (en) | Control circuit for air-blowing apparatus, and air-blowing apparatus using the same | |
JP2009225545A (en) | Brushless motor controller, brushless motor, and setting method of brushless motor controller | |
JP2009303458A (en) | Motor control apparatus and motor control method | |
JP5510311B2 (en) | Heating resistance type flow sensor and its self-diagnosis method |