TWI690801B - Detection circuit and method thereof - Google Patents
Detection circuit and method thereof Download PDFInfo
- Publication number
- TWI690801B TWI690801B TW107147577A TW107147577A TWI690801B TW I690801 B TWI690801 B TW I690801B TW 107147577 A TW107147577 A TW 107147577A TW 107147577 A TW107147577 A TW 107147577A TW I690801 B TWI690801 B TW I690801B
- Authority
- TW
- Taiwan
- Prior art keywords
- fan
- pin
- voltage
- signal
- fan speed
- Prior art date
Links
Images
Landscapes
- Control Of Positive-Displacement Air Blowers (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
Description
本發明係關於偵測技術,特別是一種偵測風扇裝置是否插入的偵測電路及其方法。The invention relates to detection technology, in particular to a detection circuit and method for detecting whether a fan device is inserted.
隨著電子科技的迅速發展,電子設備的工作頻率越來越高,導致電子設備內部發熱元件所產生的熱量越來越多。為了避免電子設備因溫度過高出現損毀等問題,一般會將風扇裝置安裝於電子設備中之機板上及機箱上以達到散熱效果。With the rapid development of electronic technology, the operating frequency of electronic equipment is getting higher and higher, resulting in more and more heat generated by heating elements inside the electronic equipment. In order to avoid problems such as damage to electronic equipment due to excessive temperature, the fan device is generally installed on the board and the chassis in the electronic equipment to achieve the heat dissipation effect.
一般而言,工作中的電子設備並不允許使用者在整個系統電源未切斷的情況下進行風扇安裝或更換。因此,使用者在安裝或更換風扇前,皆需先將電子設備的整個系統電源切斷後才能進行安裝或更換動作。Generally speaking, the electronic equipment in operation does not allow the user to install or replace the fan without powering off the entire system. Therefore, before installing or replacing the fan, the user needs to cut off the power of the entire system of the electronic device before installing or replacing.
在一實施例中,一種用以偵測風扇裝置是否插入的偵測電路包含風扇轉速接腳、負電源、判斷單元以及處理單元。風扇轉速接腳用以耦接風扇裝置的轉速訊號端。負電源用以提供負電壓至風扇轉速接腳上。並且,當風扇裝置的轉速訊號端連接至風扇轉速接腳時,負電壓用以致能風扇裝置的箝位電路,以致使箝位電路將風扇轉速接腳上的負電壓箝位至第一位準。判斷單元用以判斷風扇轉速接腳上的負電壓是否被箝位至第一位準。處理單元於判斷單元判斷風扇轉速接腳上的負電壓被箝位至第一位準時輸出致能訊號。其中,致能訊號用以致使驅動電路輸出驅動電壓去驅動風扇裝置進行轉動。In one embodiment, a detection circuit for detecting whether a fan device is inserted includes a fan speed pin, a negative power supply, a judgment unit, and a processing unit. The fan speed pin is used to couple the speed signal end of the fan device. The negative power supply is used to provide a negative voltage to the fan speed pin. Moreover, when the speed signal end of the fan device is connected to the fan speed pin, the negative voltage is used to enable the clamping circuit of the fan device, so that the clamp circuit clamps the negative voltage on the fan speed pin to the first level . The judging unit is used to judge whether the negative voltage on the fan speed pin is clamped to the first level. The processing unit outputs an enable signal when the judgment unit judges that the negative voltage on the fan speed pin is clamped to the first level. The enabling signal is used to cause the driving circuit to output a driving voltage to drive the fan device to rotate.
在一實施例中,一種用以偵測風扇裝置是否插入的偵測方法,包含:利用負電源提供負電壓至風扇轉速接腳,其中風扇轉速接腳用以耦接風扇裝置的轉速訊號端,並當風扇裝置的轉速訊號端連接至風扇轉速接腳時,負電壓用以致能風扇裝置的箝位電路,以致使箝位電路將風扇轉速接腳的負電壓箝位至第一位準;利用判斷單元判斷風扇轉速接腳上的負電壓是否被箝位至第一位準;及當判斷單元判斷風扇轉速接腳上的負電壓箝位至第一位準時,輸出致能訊號,其中致能訊號用以致使驅動電路輸出驅動電壓去驅動風扇裝置進行轉動。In one embodiment, a detection method for detecting whether a fan device is inserted includes: using a negative power supply to provide a negative voltage to a fan speed pin, wherein the fan speed pin is used to couple the speed signal terminal of the fan device, And when the speed signal end of the fan device is connected to the fan speed pin, the negative voltage is used to enable the clamping circuit of the fan device, so that the clamp circuit clamps the negative voltage of the fan speed pin to the first level; The judging unit judges whether the negative voltage on the fan speed pin is clamped to the first level; and when the judging unit judges that the negative voltage on the fan speed pin is clamped to the first level, it outputs an enable signal, in which the enable The signal is used to cause the driving circuit to output a driving voltage to drive the fan device to rotate.
為使本發明之實施例之上述目的、特徵和優點能更明顯易懂,下文配合所附圖式,作詳細說明如下。In order to make the above objects, features, and advantages of the embodiments of the present invention more obvious and understandable, the following description will be made in detail in conjunction with the accompanying drawings.
第1圖為偵測電路之一實施例的概要示意圖。請參閱第1圖,偵測電路100耦接於驅動電路200。偵測電路100可用以偵測風扇裝置300是否插入,並且在偵測到風扇裝置300插入時才致使驅動電路200輸出驅動電壓Vd去驅動風扇裝置300進行轉動,以避免風扇裝置300插入時會產生瞬間大電流而損壞風扇裝置300或系統。在一實施例中,風扇裝置300可包含風扇310與驅動器320,且驅動器320耦接於風扇310。驅動器320用以驅使風扇310進行運轉,且驅動器320可根據驅動電壓Vd來驅動風扇310。FIG. 1 is a schematic diagram of an embodiment of a detection circuit. Please refer to FIG. 1, the
在一實施例中,偵測電路100與驅動電路200皆設置於機板上,並耦接至機板上的連接埠。風扇裝置300可更包含連接埠330,且連接埠330耦接於驅動器320。於此,連接埠330之型態相應於機板上之連接埠的型態,且風扇310可因連接埠330連接至機板上的連接埠而耦接於偵測電路100與驅動電路200。因此,偵測電路100可藉由偵測風扇裝置300之連接埠330是否連接至機板上的連接埠來判斷風扇裝置300是否插入。In one embodiment, both the
在一實施例中,偵測電路100可包含風扇轉速接腳111、負電源120、判斷單元130以及處理單元140。此外,偵測電路100更可包含第一開關模組SW1與第二開關模組SW2。第一開關模組SW1耦接於風扇轉速接腳111與負電源120之間。第二開關模組SW2耦接於風扇轉速接腳111與判斷單元130之間。並且,處理單元140耦接於第一開關模組SW1、第二開關模組SW2以及判斷單元130。In one embodiment, the
偵測電路100的風扇轉速接腳111可用以與風扇裝置300之連接埠330耦接。在一實施例中,風扇裝置300之連接埠330可包含轉速訊號端331、電源訊號端332以及接地訊號端333。其中,轉速訊號端331用以從風扇裝置300輸出關於風扇310之轉速的轉速訊號S1。電源訊號端332用以耦接驅動電壓Vd。並且,接地訊號端333用以耦接至接地電壓GND。在一些實施態樣中,接地電壓GND為一種參考電壓,例如零電壓。但本發明並非以此為限,在另一實施例中,如第2圖所示,風扇裝置300之連接埠330可更包含轉速控制端334,且轉速控制端334用以接收轉速控制訊號PWM。於此,偵測電路100的風扇轉速接腳111是用以與連接埠330的轉速訊號端331相接。The fan speed pin 111 of the
第一開關模組SW1受控於處理單元140,且可根據處理單元140之控制來導通或斷開負電源120與風扇轉速接腳111之間的電性連結。並且,第二開關模組SW2受控於處理單元140,且可根據處理單元140之控制來導通或斷開判斷單元130與風扇轉速接腳111之間的電性連結。The first switch module SW1 is controlled by the
處理單元140可根據本發明任一實施例之偵測方法去偵測風扇裝置300是否插入(即偵測風扇裝置300的轉速訊號端331是否連接到風扇轉速接腳111),並且於偵測到風扇裝置300插入時才輸出致能訊號SE去致使驅動電路200輸出驅動電壓Vd。The
第3圖為偵測方法之一實施例的流程示意圖。請參閱第1圖至第3圖,在偵測方法之一實施例中,處理單元140可先致能第一開關模組SW1,以導通負電源120與風扇轉速接腳111之間的電性連結。並且,處理單元140可致能第二開關模組SW2,以導通判斷單元130與風扇轉速接腳111之間的電性連結。在一些實施態樣中,處理單元140可同步致能第一開關模組SW1與第二開關模組SW2,以使負電源120與判斷單元130可同步電性連接至風扇轉速接腳111。FIG. 3 is a schematic flowchart of an embodiment of a detection method. Please refer to FIGS. 1 to 3. In an embodiment of the detection method, the
於此,負電源120用以提供負電壓V1。因此,處理單元140可藉由第一開關模組SW1之致能來利用負電源120將負電壓V1提供至風扇轉速接腳111上(步驟S10)。並且,處理單元140可藉由第二開關模組SW2之致能來利用判斷單元130判斷風扇轉速接腳111上的負電壓V1是否箝位至第一準位(步驟S20),進而可根據風扇轉速接腳111上的負電壓V1是否箝位至第一準位來得知風扇裝置300的轉速訊號端331是否連接到風扇轉速接腳111。Here, the
在一實施例中,風扇裝置300更包含箝位電路340,且箝位電路340耦接於轉速訊號端331與接地訊號端333之間。於此,當風扇裝置300的轉速訊號端331連接至偵測電路100的風扇轉速接腳111時,風扇轉速接腳111上的負電壓V1可致能箝位電路340,使得箝位電路340將風扇轉速接腳111上的負電壓V1箝位至第一準位。In one embodiment, the
在一些施態樣中,箝位電路340可為但不限於二極體,如一般二極體、齊納二極體(Zener diode)等及/或其他合適用於箝位的電子組件。於此,負電源120所提供之負電壓V1之大小可為任何足以致能箝位電路340進行箝位運作的數值,且第一準位為箝位電路340於致能後所產生的箝位電壓。因此,負電源120所需提供的負電壓V1之大小和第一準位之大小可對應於箝位電路340之實施態樣而有所不同。舉例而言,當箝位電路340為二極體,且其導通電壓大致上介於0.5伏特至0.7伏特時,負電源120所提供之負電壓V1只要和接地電壓GND(因箝位電路340耦接於轉速訊號端331和接地訊號端333之間)之間的差值可超過箝位電路340的導通電壓即可,例如負電源120所提供之負電壓V1可介於-1伏特(V)至-3伏特之間。因此,於負電壓V1導通箝位電路340時,箝位電路340可將風扇轉速接腳111上的負電壓V1大致上箝位至-0.5伏特至-0.7伏特之間,但本發明並非以此為限。In some embodiments, the
在步驟S20之一實施例中,判斷單元130可將風扇轉速接腳111上的負電壓V1與參考電壓VREF進行比較,以判斷風扇轉速接腳111上的負電壓V1是否箝位至第一準位。當判斷單元130之比較結果為風扇轉速接腳111上的負電壓V1與參考電壓VREF之間的差值大於預設閥值時,判斷單元130可判斷風扇轉速接腳111上的負電壓V1箝位至第一準位,並產生輸出訊號S2給處理單元140。而當判斷單元130之比較結果為風扇轉速接腳111上的負電壓V1與參考電壓VREF之間的差值小於或等於預設閥值時,判斷單元130可判斷風扇轉速接腳111上的負電壓V1未箝位至第一準位,而不產生輸出訊號S2。In one embodiment of step S20, the determining
在一些實施態樣中,參考電壓VREF之大小和負電源120所提供之負電壓V1之大小大致上相等。此外,預設閥值可為零,但本發明並非以為限。In some embodiments, the magnitude of the reference voltage VREF and the magnitude of the negative voltage V1 provided by the
在一些實施態樣中,判斷單元130可利用比較器來實現。舉例而言,比較器的一輸入端可耦接於第二開關模組SW2,以經由第二開關模組SW2電性連接至風扇轉速接腳111。比較器的另一輸入端耦接至參考電壓VREF。並且,比較器的輸出端耦接至處理單元140,以於判斷風扇轉速接腳111上的負電壓V1箝位至第一準位時產生輸出訊號S2給處理單元140。In some embodiments, the
在偵測方法之一實施例中,處理單元140可根據是否收到輸出訊號S2來得知風扇裝置300是否插入。當處理單元140收到輸出訊號S2,表示風扇裝置300的轉速訊號端331已連接至風扇轉速接腳111(即風扇裝置300已插入),此時處理單元140便可輸出致能訊號SE給驅動電路200(步驟S30),以致使驅動電路200輸出驅動電壓Vd(步驟S40)。In one embodiment of the detection method, the
在一些實施態樣中,驅動電路200可透過用以耦接風扇裝置300之電源訊號端332的風扇電源接腳112來輸出驅動電壓Vd至風扇裝置300。而當處理單元140未收到輸出訊號S2時,表示風扇裝置300的轉速訊號端331並未連接至風扇轉速接腳111(即風扇裝置300未插入),則處理單元140不輸出致能訊號SE並返回步驟S10,以重啟偵測程序。並且,驅動電路200可因未收到致能訊號SE而不經由風扇電源接腳112輸出驅動電壓Vd。如此一來,偵測電路100便能確保驅動電路200是在有風扇裝置300插入時才輸出驅動電壓Vd,以避免會有瞬間大電流之產生。In some embodiments, the driving
在一實施例中,偵測電路100可以積體電路製程整合於一晶片之中,且風扇轉速接腳111即為此晶片上的一接腳。而驅動電路200則以積體電路製程製作於另一晶片之中,且風扇電源接腳112即為此另一晶片上的一接腳。並且,此二晶片可透過額外的走線來進行訊號傳輸,如進行致能訊號SE的傳輸。但本發明並非以此為限,在另一實施例中,偵測電路100可更包含風扇電源接腳112與驅動電路200。換言之,偵測電路100以及驅動電路200可以積體電路製程整合於同一晶片之中,且風扇轉速接腳111與風扇電源接腳112皆為此晶片上的一接腳。In one embodiment, the
在一實施例中,偵測電路100可更包含偵測單元150、抬昇電源160、轉速偵測單元170、第三開關模組SW3以及第四開關模組SW4。偵測單元150耦接驅動電路200。第三開關模組SW3耦接於風扇轉速接腳111與抬昇電源160之間。第四開關模組SW4耦接於風扇轉速接腳111與轉速偵測單元170之間。並且,處理單元140耦接於第三開關模組SW3、第四開關模組SW4以及偵測單元150。In an embodiment, the
第三開關模組SW3受控於處理單元140,且可根據處理單元140之控制來導通或斷開抬昇電源160與風扇轉速接腳111之間的電性連結。第四開關模組SW4受控於處理單元140,且可根據處理單元140之控制來導通或斷開轉速偵測單元170與風扇轉速接腳111之間的電性連結。並且,抬昇電源160用以提供抬昇電壓V2。在一些實施態樣中,抬昇電壓V2可為但不限於3.3伏特。The third switch module SW3 is controlled by the
在偵測方法之一實施例中,處理單元140可利用偵測單元150偵測驅動電路200輸出的驅動電壓Vd是否達到起轉電壓(步驟S50)。當偵測單元150偵測到驅動電壓Vd達到起轉電壓時,偵測單元150可輸出起轉訊號S3給處理單元140。而當偵測單元150未偵測到驅動電壓Vd達到起轉電壓時,偵測單元150則不輸出起轉訊號S3。在一些實施態樣中,起轉電壓可為12伏特,但本案並非以此為限,起轉電壓可為任何足以驅動風扇裝置300之風扇310正常轉動的電壓值。In one embodiment of the detection method, the
在偵測方法之一實施例中,處理單元140於收到起轉訊號S3後,處理單元140可根據起轉訊號S3禁能第一開關模組SW1,以斷開負電源120與風扇轉速接腳111之間的電性連結,並根據起轉訊號S3禁能第二開關模組SW2,以斷開判斷單元130與風扇轉速接腳111之間的電性連結(步驟S60)。此外,處理單元140可致能第三開關模組SW3以利用抬昇電源160將抬昇電壓V2提供至風扇轉速接腳111上(步驟S70),進而致使風扇裝置300可經由連接於風扇轉速接腳111的轉速訊號端331來利用此抬昇電壓V2於風扇轉速接腳111上產生轉速訊號S1。並且,處理單元140可致能第四開關模組SW4,以利用轉速偵測單元170偵測風扇轉速接腳111上的轉速訊號S1(步驟S80)。In an embodiment of the detection method, after the
在一些實施態樣中,步驟S70與步驟S80可同步執行,但本發明並非以此為限。In some embodiments, steps S70 and S80 can be executed synchronously, but the invention is not limited to this.
在一實施例中,風扇裝置300可更包含轉速訊號產生電路350。轉速訊號產生電路350耦接於轉速訊號端331與接地訊號端333。轉速訊號產生電路350可根據驅動器320對風扇310的驅動頻率經由轉速訊號端331將風扇轉速接腳111上的抬昇電壓V2以相應的下拉頻率下拉至地,以藉此於風扇轉速接腳111上產生轉速訊號S1。因此,當驅動器320的驅動頻率越快時,轉速訊號產生電路350的下拉頻率越快,轉速訊號S1的頻率亦越快,且表示風扇310的轉動速度越快。In one embodiment, the
在一些實施態樣中,轉速訊號產生電路350可包含訊號產生單元351以及控制單元352。訊號產生單元351耦接於轉速訊號端331與接地訊號端333之間,而並聯於箝位電路340。控制單元352耦接於訊號產生單元351的控制端,以使得訊號產生單元351可根據控制單元352之控制經由轉速訊號端331產生轉速訊號S1。在一些實施態樣中,訊號產生單元351可利用電晶體來實現。此外,控制單元352可利用控制邏輯來實現,但本發明並非以此為限。In some embodiments, the speed
第4圖為第3圖中步驟S80之後之一實施例的流程示意圖。請參閱第1圖至第4圖,在偵測方法之一實施例中,於步驟S80之執行後,處理單元140更可利用偵測單元150偵測驅動電路200輸出的驅動電壓Vd是否低於起轉電壓(步驟S90)。於此,偵測單元150可於偵測到驅動電路200輸出的驅動電壓Vd低於起轉電壓時,產生未達訊號S4給處理單元140。而當偵測單元150未偵測到驅動電路200輸出的驅動電壓Vd低於起轉電壓時,則不產生未達訊號S4。FIG. 4 is a schematic flowchart of an embodiment after step S80 in FIG. 3. Please refer to FIG. 1 to FIG. 4. In one embodiment of the detection method, after the step S80 is executed, the
在偵測方法之一實施例中,當處理單元140接收到未達訊號S4時,處理單元140可根據未達訊號S4禁能第三開關模組SW3,以斷開抬昇電源160與風扇轉速接腳111之間的電性連結,並且根據未達訊號S4禁能第四開關模組SW4,以斷開轉速偵測單元170與風扇轉速接腳111之間的電性連結(步驟S100)。於此,風扇裝置300可因風扇轉速接腳111上無抬昇電壓V2之提供而停止經由轉速訊號端331於風扇轉速接腳111上產生轉速訊號S1。此外,處理單元140可根據未達訊號S4重新導通負電源120與風扇轉速接腳111的電性連結(即致能第一開關模組SW1)以及判斷單元130與風扇轉速接腳111的電性連結(即致能第二開關模組SW2),以使得負電源120可重新電性連接至風扇轉速接腳111,且判斷單元130亦重新電性連接至風扇轉速接腳111(步驟S110)。In an embodiment of the detection method, when the
如此一來,負電源120可重新提供負電壓V1至風扇轉速接腳111上,且判斷單元130可重新判斷風扇轉速接腳111上的負電壓V1是否被箝位至第一準位。此時,當判斷單元130判斷風扇轉速接腳111上的負電壓V1箝位至第一準位時,表示風扇裝置300仍為插入狀態,故處理單元140可返回至步驟S90,以持續觀察驅動電壓Vd。而當判斷單元130判斷風扇轉速接腳111上的負電壓V1未箝位至第一準位時,表示風扇裝置300已移除(即轉速訊號端331不連接至風扇轉速接腳111),故處理單元140可返回至步驟S10,以重啟偵測程序。In this way, the
第5圖為偵測方法之又一實施例的概要示意圖。請參閱第1圖至第5圖,在偵測方法之一實施例中,處理單元140更可根據轉速偵測單元170之偵測結果D1判斷風扇裝置300是否正常轉動(步驟S120)。當處理單元140根據偵測結果D1判斷風扇裝置300並未正常轉動時,處理單元140可斷開抬昇電源160與風扇轉速接腳111的電性連結(即禁能第三開關模組SW3)以及轉速偵測單元170與風扇轉速接腳111的電性連結(即禁能第四開關模組SW4),並且重新導通負電源120與風扇轉速接腳111的電性連結(即致能第一開關模組SW1)以及判斷單元130與風扇轉速接腳111的電性連結(即致能第二開關模組SW2),以使得負電源120可重新電性連接至風扇轉速接腳111,且判斷單元130亦重新電性連接至風扇轉速接腳111(步驟S130)。於此,所述的未正常轉動可為轉速未達正常範圍(例如,偵測結果D1表示轉速訊號S1之準位高低變化的速度緩慢)或是未轉動(例如,偵測結果D1表示轉速訊號S1之準位無高低變化),但並不限制於此。FIG. 5 is a schematic diagram of another embodiment of the detection method. Please refer to FIG. 1 to FIG. 5. In an embodiment of the detection method, the
如此一來,負電源120可重新提供負電壓V1至風扇轉速接腳111上,且判斷單元130可重新判斷風扇轉速接腳111上的負電壓V1是否被箝位至第一準位。此時,當判斷單元130判斷風扇轉速接腳111上的負電壓V1箝位至第一準位時,表示風扇裝置300有異常狀況,故處理單元140可產生錯誤警示E1(步驟S140)給系統電路(圖未示)。並且待風扇裝置300被使用者移除後,處理單元140才清除此錯誤警示E1。而當判斷單元130判斷風扇轉速接腳111上的負電壓V1未箝位至第一準位時,表示風扇裝置300已移除,故處理單元140可返回至步驟S10,以重啟偵測程序。In this way, the
在一些實施態樣中,錯誤警示E1可透過顯示方式來提示使用者。例如,於顯示器的畫面顯示中跳出錯誤訊息。但本發明並非以此為限。在另一些實施態樣中,錯誤警示E1亦可透過音效方式來提示使用者。例如,透過蜂鳴器、喇叭等發出聲響來提示使用者。In some implementations, the error alert E1 can prompt the user through a display method. For example, an error message appears in the screen display of the display. However, the invention is not limited to this. In other implementations, the error alert E1 can also prompt the user through sound effects. For example, a buzzer, horn, etc. sound to alert the user.
在一實施例中,偵測電路100可更包含接地接腳113。接地接腳113用以耦接至接地電壓GND。並且,當風扇裝置300插入時,接地接腳113可連接至風扇裝置300的接地訊號端333。In one embodiment, the
在一實施例中,偵測電路100可更包含轉速輸出單元180,且轉速輸出單元180耦接於處理單元140。於此,處理單元140可根據扇轉速接腳111上的轉速訊號S1去計算並產生用以表示風扇裝置300之轉速的轉速輸出D2,且處理單元140再透過轉速輸出單元180將轉速輸出D2回報至系統電路(圖未示)。In an embodiment, the
在一實施例中,轉速控制訊號PWM可由驅動電路200經由PWM控制接腳114輸出至風扇裝置300的轉速控制端334,以調整風扇裝置300的轉速。In one embodiment, the speed control signal PWM can be output by the driving
在一實施例中,風扇裝置300更包含穩壓電路360。穩壓電路360耦接於電源訊號端332與轉速訊號產生電路350之間,並且可將從電源訊號端接收到的驅動電壓Vd轉換成風扇裝置300中各內部元件(如驅動器320、轉速訊號產生電路350等)所需的電壓。In one embodiment, the
綜上所述,本發明之實施例提供一種偵測電路及偵測方法,其透過偵測用以耦接風扇裝置之轉速訊號端的風扇轉速接腳上的負電壓是否被箝位來判斷風扇裝置是否插入,且於判斷風扇裝置插入後才致使驅動電路輸出驅動電壓來驅動風扇裝置,以避免風扇裝置插入時會產生瞬間大電流而損壞風扇裝置或系統。此外,即便使用者將風扇裝置之連接埠插至錯誤接腳,亦不會產生電流迴路而更得以避免風扇損壞。In summary, the embodiments of the present invention provide a detection circuit and a detection method for determining a fan device by detecting whether a negative voltage on a fan speed pin used to couple the speed signal end of the fan device is clamped Whether it is plugged in, and only after the fan device is plugged in, the drive circuit is driven to output a driving voltage to drive the fan device, so as to avoid instantaneous large current when the fan device is plugged in and damage the fan device or the system. In addition, even if the user plugs the port of the fan device into the wrong pin, a current loop will not be generated and the fan will be prevented from being damaged.
本發明之實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明實施例之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The embodiments of the present invention are disclosed as above, but they are not intended to limit the scope of the present invention. Any person with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, the protection scope of the present invention shall be deemed as defined by the appended patent application scope.
100:偵測電路100: detection circuit
111:風扇轉速接腳111: Fan speed pin
112:風扇電源接腳112: Fan power pin
113:接地接腳113: Ground pin
114:PWM控制接腳114: PWM control pin
120:負電源120: negative power supply
130:判斷單元130: Judgment unit
140:處理單元140: processing unit
150:偵測單元150: detection unit
160:抬昇電源160: Raise the power
170:轉速偵測單元170: speed detection unit
200:驅動電路200: drive circuit
300:風扇裝置300: fan unit
310:風扇310: fan
320:驅動器320: drive
330:連接埠330: port
331:轉速訊號端331: Speed signal end
332:電源訊號端332: Power signal terminal
333:接地訊號端333: Ground signal terminal
340:箝位電路340: Clamp circuit
350:轉速訊號產生電路350: Speed signal generating circuit
351:訊號產生單元351: Signal generation unit
352:控制單元352: control unit
360:穩壓電路360: Voltage regulator circuit
D1:偵測結果D1: detection result
E1:錯誤警示E1: Error warning
GND:接地電壓GND: ground voltage
PWM:轉速控制訊號PWM: Speed control signal
S1:轉速訊號S1: Speed signal
S2:輸出訊號S2: output signal
S3:起轉訊號S3: Starting signal
S4:未達訊號S4: Not reached signal
SE:致能訊號SE: enable signal
SW1:第一開關模組SW1: the first switch module
SW2:第二開關模組SW2: second switch module
SW3:第三開關模組SW3: third switch module
SW4:第四開關模組SW4: fourth switch module
V1:負電壓V1: negative voltage
V2:抬昇電壓V2: Lifting voltage
Vd:驅動電壓Vd: driving voltage
VREF:參考電壓VREF: reference voltage
180:轉速輸出單元180: speed output unit
D2:轉速輸出D2: Speed output
334:轉速控制端334: Speed control end
S10~S140:步驟S10~S140: Steps
第1圖為偵測電路之一實施例的概要示意圖。 第2圖為偵測電路之另一實施例的概要示意圖。 第3圖為偵測方法之一實施例的流程示意圖。 第4圖為第3圖中步驟S80之後之一實施例的流程示意圖。 第5圖為偵測方法之又一實施例的概要示意圖。FIG. 1 is a schematic diagram of an embodiment of a detection circuit. FIG. 2 is a schematic diagram of another embodiment of the detection circuit. FIG. 3 is a schematic flowchart of an embodiment of a detection method. FIG. 4 is a schematic flowchart of an embodiment after step S80 in FIG. 3. FIG. 5 is a schematic diagram of another embodiment of the detection method.
100:偵測電路 100: detection circuit
111:風扇轉速接腳 111: Fan speed pin
112:風扇電源接腳 112: Fan power pin
113:接地接腳 113: Ground pin
114:PWM控制接腳 114: PWM control pin
120:負電源 120: negative power supply
130:判斷單元 130: Judgment unit
140:處理單元 140: processing unit
150:偵測單元 150: detection unit
160:抬昇電源 160: Raise the power
170:轉速偵測單元 170: speed detection unit
200:驅動電路 200: drive circuit
300:風扇裝置 300: fan unit
310:風扇 310: fan
320:驅動器 320: drive
330:連接埠 330: port
331:轉速訊號端 331: Speed signal end
332:電源訊號端 332: Power signal terminal
333:接地訊號端 333: Ground signal terminal
340:箝位電路 340: Clamp circuit
350:轉速訊號產生電路 350: Speed signal generating circuit
351:訊號產生單元 351: Signal generation unit
352:控制單元 352: control unit
360:穩壓電路 360: Voltage regulator circuit
D1:偵測結果 D1: detection result
E1:錯誤警示 E1: Error warning
GND:接地電壓 GND: ground voltage
PWM:轉速控制訊號 PWM: Speed control signal
S1:轉速訊號 S1: Speed signal
S2:輸出訊號 S2: output signal
S3:起轉訊號 S3: Starting signal
S4:未達訊號 S4: Not reached signal
SE:致能訊號 SE: enable signal
SW1:第一開關模組 SW1: the first switch module
SW2:第二開關模組 SW2: second switch module
SW3:第三開關模組 SW3: third switch module
SW4:第四開關模組 SW4: fourth switch module
V1:負電壓 V1: negative voltage
V2:抬昇電壓 V2: Lifting voltage
Vd:驅動電壓 Vd: driving voltage
VREF:參考電壓 VREF: reference voltage
180:轉速輸出單元 180: speed output unit
D2:轉速輸出 D2: Speed output
334:轉速控制端 334: Speed control end
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147577A TWI690801B (en) | 2018-12-28 | 2018-12-28 | Detection circuit and method thereof |
CN201911351885.9A CN111381193B (en) | 2018-12-28 | 2019-12-25 | Detection circuit and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147577A TWI690801B (en) | 2018-12-28 | 2018-12-28 | Detection circuit and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI690801B true TWI690801B (en) | 2020-04-11 |
TW202026875A TW202026875A (en) | 2020-07-16 |
Family
ID=71134314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107147577A TWI690801B (en) | 2018-12-28 | 2018-12-28 | Detection circuit and method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111381193B (en) |
TW (1) | TWI690801B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090027435A1 (en) * | 2007-07-25 | 2009-01-29 | Masahito Katada | Liquid ejection apparatus, image forming apparatus and liquid storage amount judgment method |
TWM413972U (en) * | 2010-12-14 | 2011-10-11 | Mactech Corp | Ion balance Regulating device |
CN202421313U (en) * | 2011-12-27 | 2012-09-05 | 太原万信蓄电池有限公司 | Portable current and voltage detector for storage battery |
TWI620873B (en) * | 2017-08-02 | 2018-04-11 | 新唐科技股份有限公司 | Fan detecting method, fan detecting chip and fan detecting system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334673A (en) * | 2007-06-29 | 2008-12-31 | 鸿富锦精密工业(深圳)有限公司 | Computer fan control circuit and control method |
US7791301B2 (en) * | 2008-01-02 | 2010-09-07 | Nuvoton Technology Corporation | Apparatus and method for fan auto-detection |
CN103867471B (en) * | 2012-12-11 | 2016-12-21 | 国网山东省电力公司东营供电公司 | Wind energy supply system and there is the electronic installation of this wind energy supply system |
CN203214367U (en) * | 2013-05-08 | 2013-09-25 | 奇鋐科技股份有限公司 | Detecting circuit capable of detecting direct current fan motor coil abnormity |
DE202013007169U1 (en) * | 2013-08-06 | 2013-09-16 | Asia Vital Components Co., Ltd. | Module, apparatus and system for detecting the connection state of a fan |
-
2018
- 2018-12-28 TW TW107147577A patent/TWI690801B/en active
-
2019
- 2019-12-25 CN CN201911351885.9A patent/CN111381193B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090027435A1 (en) * | 2007-07-25 | 2009-01-29 | Masahito Katada | Liquid ejection apparatus, image forming apparatus and liquid storage amount judgment method |
TWM413972U (en) * | 2010-12-14 | 2011-10-11 | Mactech Corp | Ion balance Regulating device |
CN202421313U (en) * | 2011-12-27 | 2012-09-05 | 太原万信蓄电池有限公司 | Portable current and voltage detector for storage battery |
TWI620873B (en) * | 2017-08-02 | 2018-04-11 | 新唐科技股份有限公司 | Fan detecting method, fan detecting chip and fan detecting system |
Also Published As
Publication number | Publication date |
---|---|
CN111381193A (en) | 2020-07-07 |
CN111381193B (en) | 2022-09-23 |
TW202026875A (en) | 2020-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10491102B2 (en) | Semiconductor device, control method of semiconductor device, and feeding system | |
US10018202B1 (en) | Fan control system | |
US20170344098A1 (en) | Vconn Pull-Down Circuits And Related Methods For USB Type-C Connections | |
US8198838B2 (en) | Circuit for controlling rotation speed of computer fan | |
US10412856B2 (en) | Fan detection method, fan detection chip and fan detection system using the same | |
US9712104B2 (en) | Control method of over-temperature protection, driver chip and control system of over-temperature protection | |
US20130015797A1 (en) | Electronic control unit for vehicle and semiconductor integrated circuit device | |
TW201310197A (en) | Server protecting system | |
WO2024164620A1 (en) | Power supply failure detection circuit, method, system, electronic device, and non-volatile readable storage medium | |
CN107466488B (en) | Isolation driver | |
KR102103594B1 (en) | Power supply apparatus with soft―start and protection | |
CN107342677B (en) | Predriver short circuit protection | |
TWI690801B (en) | Detection circuit and method thereof | |
US20180213618A1 (en) | Power supply system and voltage output module | |
JP2000308250A (en) | Controller and method for power supplying | |
TWM544730U (en) | Power source device with protection mechanism | |
WO2011035611A1 (en) | Thermal protection device for motor | |
US11777438B2 (en) | Motor drive device | |
WO2019112746A1 (en) | System and method for managing power consumption during a fault condition | |
TW201429150A (en) | Wind power supply system and electronic apparatus using the same | |
US6707385B2 (en) | DC motor rotation speed alarm circuitry | |
JP4112120B2 (en) | Regulator circuit | |
US7558035B2 (en) | Anomaly control device for a dual fan of computer | |
JP2002287575A (en) | Power unit and its control method | |
US6690269B2 (en) | Control unit for internal combustion engine |