TWI690801B - Detection circuit and method thereof - Google Patents

Detection circuit and method thereof Download PDF

Info

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
Application number
TW107147577A
Other languages
Chinese (zh)
Other versions
TW202026875A (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 TW107147577A priority Critical patent/TWI690801B/en
Priority to CN201911351885.9A priority patent/CN111381193B/en
Application granted granted Critical
Publication of TWI690801B publication Critical patent/TWI690801B/en
Publication of TW202026875A publication Critical patent/TW202026875A/en

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

A detection circuit for detecting a fan device is plugged in or not includes a tachometer pin, a negative power source, a judgement unit and a processing unit. The negative power source is used to provide a negative voltage on the tachometer pin. When a speed signal pin of the fan connected to the tachometer pin, the negative voltage is used to enable a clamping circuit of the fan such that the clamping circuit clamps the negative voltage on the tachometer pin to a first level. The judgement unit is used to determine whether the negative voltage on the tachometer pin is clamped to the first level. The processing unit outputs an enable signal when the judgement unit determining that the negative voltage on the tachometer pin is clamped to the first level. Wherein, the enable signal is used to cause a driving circuit to output a driving voltage to drive the fan in rotation.

Description

偵測電路及其方法Detection circuit and method

本發明係關於偵測技術,特別是一種偵測風扇裝置是否插入的偵測電路及其方法。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 detection circuit 100 is coupled to the driving circuit 200. The detection circuit 100 can be used to detect whether the fan device 300 is inserted, and only cause the drive circuit 200 to output a driving voltage Vd to drive the fan device 300 to rotate when it is detected that the fan device 300 is inserted, to prevent the fan device 300 from being generated when it is inserted The instantaneous large current damages the fan device 300 or the system. In an embodiment, the fan device 300 may include a fan 310 and a driver 320, and the driver 320 is coupled to the fan 310. The driver 320 is used to drive the fan 310 to operate, and the driver 320 can drive the fan 310 according to the driving voltage Vd.

在一實施例中,偵測電路100與驅動電路200皆設置於機板上,並耦接至機板上的連接埠。風扇裝置300可更包含連接埠330,且連接埠330耦接於驅動器320。於此,連接埠330之型態相應於機板上之連接埠的型態,且風扇310可因連接埠330連接至機板上的連接埠而耦接於偵測電路100與驅動電路200。因此,偵測電路100可藉由偵測風扇裝置300之連接埠330是否連接至機板上的連接埠來判斷風扇裝置300是否插入。In one embodiment, both the detection circuit 100 and the driving circuit 200 are disposed on the machine board and are coupled to the connection ports on the machine board. The fan device 300 may further include a connection port 330, and the connection port 330 is coupled to the driver 320. Here, the type of the connection port 330 corresponds to the type of the connection port on the board, and the fan 310 can be coupled to the detection circuit 100 and the driving circuit 200 because the connection port 330 is connected to the connection port on the board. Therefore, the detection circuit 100 can determine whether the fan device 300 is inserted by detecting whether the connection port 330 of the fan device 300 is connected to the connection port on the machine board.

在一實施例中,偵測電路100可包含風扇轉速接腳111、負電源120、判斷單元130以及處理單元140。此外,偵測電路100更可包含第一開關模組SW1與第二開關模組SW2。第一開關模組SW1耦接於風扇轉速接腳111與負電源120之間。第二開關模組SW2耦接於風扇轉速接腳111與判斷單元130之間。並且,處理單元140耦接於第一開關模組SW1、第二開關模組SW2以及判斷單元130。In one embodiment, the detection circuit 100 may include a fan speed pin 111, a negative power supply 120, a determination unit 130, and a processing unit 140. In addition, the detection circuit 100 may further include a first switch module SW1 and a second switch module SW2. The first switch module SW1 is coupled between the fan speed pin 111 and the negative power supply 120. The second switch module SW2 is coupled between the fan speed pin 111 and the determination unit 130. Moreover, the processing unit 140 is coupled to the first switch module SW1, the second switch module SW2, and the determination unit 130.

偵測電路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 detection circuit 100 can be coupled to the connection port 330 of the fan device 300. In an embodiment, the connection port 330 of the fan device 300 may include a speed signal terminal 331, a power signal terminal 332, and a ground signal terminal 333. The rotation speed signal terminal 331 is used to output a rotation speed signal S1 about the rotation speed of the fan 310 from the fan device 300. The power signal terminal 332 is used to couple the driving voltage Vd. Moreover, the ground signal terminal 333 is used for coupling to the ground voltage GND. In some embodiments, the ground voltage GND is a reference voltage, such as zero voltage. However, the present invention is not limited to this. In another embodiment, as shown in FIG. 2, the connection port 330 of the fan device 300 may further include a speed control terminal 334, and the speed control terminal 334 is used to receive the speed control signal PWM . Here, the fan speed pin 111 of the detection circuit 100 is used to connect with the speed signal terminal 331 of the port 330.

第一開關模組SW1受控於處理單元140,且可根據處理單元140之控制來導通或斷開負電源120與風扇轉速接腳111之間的電性連結。並且,第二開關模組SW2受控於處理單元140,且可根據處理單元140之控制來導通或斷開判斷單元130與風扇轉速接腳111之間的電性連結。The first switch module SW1 is controlled by the processing unit 140, and can turn on or off the electrical connection between the negative power supply 120 and the fan speed pin 111 according to the control of the processing unit 140. In addition, the second switch module SW2 is controlled by the processing unit 140, and can electrically connect or disconnect the electrical connection between the determining unit 130 and the fan speed pin 111 according to the control of the processing unit 140.

處理單元140可根據本發明任一實施例之偵測方法去偵測風扇裝置300是否插入(即偵測風扇裝置300的轉速訊號端331是否連接到風扇轉速接腳111),並且於偵測到風扇裝置300插入時才輸出致能訊號SE去致使驅動電路200輸出驅動電壓Vd。The processing unit 140 can detect whether the fan device 300 is inserted according to the detection method of any embodiment of the present invention (ie, detect whether the speed signal terminal 331 of the fan device 300 is connected to the fan speed pin 111), and detect The fan device 300 outputs the enable signal SE only when it is inserted to cause the drive circuit 200 to output the drive voltage Vd.

第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 processing unit 140 may first enable the first switch module SW1 to turn on the electrical property between the negative power supply 120 and the fan speed pin 111 link. Moreover, the processing unit 140 can enable the second switch module SW2 to electrically connect the conduction determination unit 130 and the fan speed pin 111. In some embodiments, the processing unit 140 can enable the first switch module SW1 and the second switch module SW2 synchronously, so that the negative power supply 120 and the determination unit 130 can be electrically connected to the fan speed pin 111 simultaneously.

於此,負電源120用以提供負電壓V1。因此,處理單元140可藉由第一開關模組SW1之致能來利用負電源120將負電壓V1提供至風扇轉速接腳111上(步驟S10)。並且,處理單元140可藉由第二開關模組SW2之致能來利用判斷單元130判斷風扇轉速接腳111上的負電壓V1是否箝位至第一準位(步驟S20),進而可根據風扇轉速接腳111上的負電壓V1是否箝位至第一準位來得知風扇裝置300的轉速訊號端331是否連接到風扇轉速接腳111。Here, the negative power supply 120 is used to provide a negative voltage V1. Therefore, the processing unit 140 can use the negative power supply 120 to provide the negative voltage V1 to the fan speed pin 111 by enabling the first switch module SW1 (step S10). Moreover, the processing unit 140 can use the determination unit 130 to determine whether the negative voltage V1 on the fan speed pin 111 is clamped to the first level by enabling the second switch module SW2 (step S20), and then according to the fan Whether the negative voltage V1 on the speed pin 111 is clamped to the first level to know whether the speed signal terminal 331 of the fan device 300 is connected to the fan speed pin 111.

在一實施例中,風扇裝置300更包含箝位電路340,且箝位電路340耦接於轉速訊號端331與接地訊號端333之間。於此,當風扇裝置300的轉速訊號端331連接至偵測電路100的風扇轉速接腳111時,風扇轉速接腳111上的負電壓V1可致能箝位電路340,使得箝位電路340將風扇轉速接腳111上的負電壓V1箝位至第一準位。In one embodiment, the fan device 300 further includes a clamp circuit 340, and the clamp circuit 340 is coupled between the speed signal terminal 331 and the ground signal terminal 333. Here, when the speed signal terminal 331 of the fan device 300 is connected to the fan speed pin 111 of the detection circuit 100, the negative voltage V1 on the fan speed pin 111 can enable the clamp circuit 340, so that the clamp circuit 340 will The negative voltage V1 on the fan speed pin 111 is clamped to the first level.

在一些施態樣中,箝位電路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 clamping circuit 340 may be, but not limited to, a diode, such as a general diode, a Zener diode, and/or other electronic components suitable for clamping. Here, the magnitude of the negative voltage V1 provided by the negative power supply 120 can be any value sufficient to enable the clamping circuit 340 to perform the clamping operation, and the first level is the clamping generated by the clamping circuit 340 after being enabled Voltage. Therefore, the magnitude of the negative voltage V1 and the magnitude of the first level required by the negative power supply 120 may be different according to the implementation of the clamping circuit 340. For example, when the clamp circuit 340 is a diode and its turn-on voltage is approximately between 0.5 volts and 0.7 volts, the negative voltage V1 provided by the negative power supply 120 only needs to be coupled to the ground voltage GND (because the clamp circuit 340 is coupled The difference between the speed signal terminal 331 and the ground signal terminal 333 may exceed the turn-on voltage of the clamping circuit 340, for example, the negative voltage V1 provided by the negative power supply 120 may be between -1 volts (V) To -3 volts. Therefore, when the negative voltage V1 turns on the clamping circuit 340, the clamping circuit 340 can clamp the negative voltage V1 on the fan speed pin 111 to approximately -0.5 volts to -0.7 volts, but the present invention does not Limited.

在步驟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 unit 130 may compare the negative voltage V1 on the fan speed pin 111 with the reference voltage VREF to determine whether the negative voltage V1 on the fan speed pin 111 is clamped to the first level Bit. When the comparison result of the determining unit 130 is that the difference between the negative voltage V1 on the fan speed pin 111 and the reference voltage VREF is greater than a preset threshold, the determining unit 130 may determine the negative voltage V1 clamp on the fan speed pin 111 Position to the first level, and generates an output signal S2 to the processing unit 140. When the comparison result of the determining unit 130 is that the difference between the negative voltage V1 on the fan speed pin 111 and the reference voltage VREF is less than or equal to the preset threshold, the determining unit 130 can determine the negative value on the fan speed pin 111 The voltage V1 is not clamped to the first level, and the output signal S2 is not generated.

在一些實施態樣中,參考電壓VREF之大小和負電源120所提供之負電壓V1之大小大致上相等。此外,預設閥值可為零,但本發明並非以為限。In some embodiments, the magnitude of the reference voltage VREF and the magnitude of the negative voltage V1 provided by the negative power supply 120 are substantially equal. In addition, the preset threshold can be zero, but the invention is not limited to this.

在一些實施態樣中,判斷單元130可利用比較器來實現。舉例而言,比較器的一輸入端可耦接於第二開關模組SW2,以經由第二開關模組SW2電性連接至風扇轉速接腳111。比較器的另一輸入端耦接至參考電壓VREF。並且,比較器的輸出端耦接至處理單元140,以於判斷風扇轉速接腳111上的負電壓V1箝位至第一準位時產生輸出訊號S2給處理單元140。In some embodiments, the judgment unit 130 can be implemented by a comparator. For example, an input terminal of the comparator may be coupled to the second switch module SW2 to be electrically connected to the fan speed pin 111 via the second switch module SW2. The other input of the comparator is coupled to the reference voltage VREF. Moreover, the output terminal of the comparator is coupled to the processing unit 140 to generate an output signal S2 to the processing unit 140 when determining that the negative voltage V1 on the fan speed pin 111 is clamped to the first level.

在偵測方法之一實施例中,處理單元140可根據是否收到輸出訊號S2來得知風扇裝置300是否插入。當處理單元140收到輸出訊號S2,表示風扇裝置300的轉速訊號端331已連接至風扇轉速接腳111(即風扇裝置300已插入),此時處理單元140便可輸出致能訊號SE給驅動電路200(步驟S30),以致使驅動電路200輸出驅動電壓Vd(步驟S40)。In one embodiment of the detection method, the processing unit 140 can know whether the fan device 300 is inserted according to whether the output signal S2 is received. When the processing unit 140 receives the output signal S2, it indicates that the speed signal terminal 331 of the fan device 300 is connected to the fan speed pin 111 (that is, the fan device 300 is plugged in). At this time, the processing unit 140 can output the enable signal SE to the driver The circuit 200 (step S30), so that the drive circuit 200 outputs the drive voltage Vd (step S40).

在一些實施態樣中,驅動電路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 circuit 200 may output the driving voltage Vd to the fan device 300 through the fan power pin 112 for coupling the power signal terminal 332 of the fan device 300. When the processing unit 140 does not receive the output signal S2, it means that the speed signal terminal 331 of the fan device 300 is not connected to the fan speed pin 111 (that is, the fan device 300 is not inserted), then the processing unit 140 does not output the enable signal SE And return to step S10 to restart the detection process. Moreover, the driving circuit 200 may not output the driving voltage Vd through the fan power pin 112 because the enabling signal SE is not received. In this way, the detection circuit 100 can ensure that the driving circuit 200 outputs the driving voltage Vd only when the fan device 300 is inserted, so as to avoid the generation of instantaneous large current.

在一實施例中,偵測電路100可以積體電路製程整合於一晶片之中,且風扇轉速接腳111即為此晶片上的一接腳。而驅動電路200則以積體電路製程製作於另一晶片之中,且風扇電源接腳112即為此另一晶片上的一接腳。並且,此二晶片可透過額外的走線來進行訊號傳輸,如進行致能訊號SE的傳輸。但本發明並非以此為限,在另一實施例中,偵測電路100可更包含風扇電源接腳112與驅動電路200。換言之,偵測電路100以及驅動電路200可以積體電路製程整合於同一晶片之中,且風扇轉速接腳111與風扇電源接腳112皆為此晶片上的一接腳。In one embodiment, the detection circuit 100 can be integrated into a chip with an integrated circuit process, and the fan speed pin 111 is a pin on the chip. The driving circuit 200 is manufactured in another chip by an integrated circuit process, and the fan power pin 112 is a pin on the other chip. Moreover, the two chips can transmit signals through additional wiring, such as the transmission of the enable signal SE. However, the present invention is not limited to this. In another embodiment, the detection circuit 100 may further include a fan power pin 112 and a driving circuit 200. In other words, the detection circuit 100 and the driving circuit 200 can be integrated into the same chip in an integrated circuit process, and the fan speed pin 111 and the fan power pin 112 are both pins on the chip.

在一實施例中,偵測電路100可更包含偵測單元150、抬昇電源160、轉速偵測單元170、第三開關模組SW3以及第四開關模組SW4。偵測單元150耦接驅動電路200。第三開關模組SW3耦接於風扇轉速接腳111與抬昇電源160之間。第四開關模組SW4耦接於風扇轉速接腳111與轉速偵測單元170之間。並且,處理單元140耦接於第三開關模組SW3、第四開關模組SW4以及偵測單元150。In an embodiment, the detection circuit 100 may further include a detection unit 150, a lifting power supply 160, a rotation speed detection unit 170, a third switch module SW3, and a fourth switch module SW4. The detection unit 150 is coupled to the driving circuit 200. The third switch module SW3 is coupled between the fan speed pin 111 and the lifting power supply 160. The fourth switch module SW4 is coupled between the fan speed pin 111 and the speed detection unit 170. Moreover, the processing unit 140 is coupled to the third switch module SW3, the fourth switch module SW4, and the detection unit 150.

第三開關模組SW3受控於處理單元140,且可根據處理單元140之控制來導通或斷開抬昇電源160與風扇轉速接腳111之間的電性連結。第四開關模組SW4受控於處理單元140,且可根據處理單元140之控制來導通或斷開轉速偵測單元170與風扇轉速接腳111之間的電性連結。並且,抬昇電源160用以提供抬昇電壓V2。在一些實施態樣中,抬昇電壓V2可為但不限於3.3伏特。The third switch module SW3 is controlled by the processing unit 140 and can turn on or off the electrical connection between the lifting power supply 160 and the fan speed pin 111 according to the control of the processing unit 140. The fourth switch module SW4 is controlled by the processing unit 140, and can turn on or off the electrical connection between the speed detecting unit 170 and the fan speed pin 111 according to the control of the processing unit 140. Moreover, the lifting power supply 160 is used to provide a lifting voltage V2. In some embodiments, the boost voltage V2 may be, but not limited to, 3.3 volts.

在偵測方法之一實施例中,處理單元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 processing unit 140 can use the detection unit 150 to detect whether the driving voltage Vd output by the driving circuit 200 reaches the turn-on voltage (step S50). When the detection unit 150 detects that the driving voltage Vd reaches the start-up voltage, the detection unit 150 may output the start-up signal S3 to the processing unit 140. When the detecting unit 150 does not detect that the driving voltage Vd reaches the starting voltage, the detecting unit 150 does not output the starting signal S3. In some embodiments, the starting voltage may be 12 volts, but this case is not limited to this. The starting voltage may be any voltage value sufficient to drive the fan 310 of the fan device 300 to rotate normally.

在偵測方法之一實施例中,處理單元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 processing unit 140 receives the start-up signal S3, the processing unit 140 may disable the first switch module SW1 according to the start-up signal S3 to disconnect the negative power supply 120 from the fan speed The electrical connection between the pins 111, and the second switch module SW2 is disabled according to the start signal S3 to disconnect the electrical connection between the determination unit 130 and the fan speed pin 111 (step S60). In addition, the processing unit 140 can enable the third switch module SW3 to provide the boosted voltage V2 to the fan speed pin 111 using the lift power supply 160 (step S70), thereby enabling the fan device 300 to be connected to the fan speed via The speed signal terminal 331 of the pin 111 uses the raised voltage V2 to generate a speed signal S1 on the fan speed pin 111. Moreover, the processing unit 140 can enable the fourth switch module SW4 to use the rotation speed detection unit 170 to detect the rotation speed signal S1 on the fan rotation speed pin 111 (step S80).

在一些實施態樣中,步驟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 fan device 300 may further include a speed signal generating circuit 350. The speed signal generating circuit 350 is coupled to the speed signal terminal 331 and the ground signal terminal 333. The speed signal generating circuit 350 can pull the boosted voltage V2 on the fan speed pin 111 to the ground at a corresponding pull-down frequency according to the driving frequency of the driver 320 to the fan 310 through the speed signal terminal 331, so as to use the fan speed pin 111 The speed signal S1 is generated. Therefore, when the driving frequency of the driver 320 is faster, the pull-down frequency of the rotation speed signal generating circuit 350 is faster, and the frequency of the rotation speed signal S1 is also faster, which means that the rotation speed of the fan 310 is faster.

在一些實施態樣中,轉速訊號產生電路350可包含訊號產生單元351以及控制單元352。訊號產生單元351耦接於轉速訊號端331與接地訊號端333之間,而並聯於箝位電路340。控制單元352耦接於訊號產生單元351的控制端,以使得訊號產生單元351可根據控制單元352之控制經由轉速訊號端331產生轉速訊號S1。在一些實施態樣中,訊號產生單元351可利用電晶體來實現。此外,控制單元352可利用控制邏輯來實現,但本發明並非以此為限。In some embodiments, the speed signal generating circuit 350 may include a signal generating unit 351 and a control unit 352. The signal generating unit 351 is coupled between the speed signal terminal 331 and the ground signal terminal 333, and is connected in parallel to the clamping circuit 340. The control unit 352 is coupled to the control end of the signal generating unit 351 so that the signal generating unit 351 can generate the speed signal S1 through the speed signal terminal 331 according to the control of the control unit 352. In some embodiments, the signal generating unit 351 can be implemented using transistors. In addition, the control unit 352 can be implemented using control logic, but the invention is not limited thereto.

第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 processing unit 140 can further use the detection unit 150 to detect whether the driving voltage Vd output by the driving circuit 200 is lower than Turn-on voltage (step S90). Here, the detection unit 150 can generate a non-reaching signal S4 to the processing unit 140 when detecting that the driving voltage Vd output by the driving circuit 200 is lower than the starting voltage. When the detection unit 150 does not detect that the driving voltage Vd output by the driving circuit 200 is lower than the turn-on voltage, the under-reaching signal S4 is not generated.

在偵測方法之一實施例中,當處理單元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 processing unit 140 receives the under-signal S4, the processing unit 140 may disable the third switch module SW3 according to the under-signal S4 to disconnect the lifting power 160 and the fan speed The electrical connection between the pins 111, and the fourth switch module SW4 is disabled according to the non-reaching signal S4 to disconnect the electrical connection between the speed detection unit 170 and the fan speed pin 111 (step S100). Here, the fan device 300 can stop generating the speed signal S1 on the fan speed pin 111 through the speed signal terminal 331 because the fan speed pin 111 does not provide the boost voltage V2. In addition, the processing unit 140 can re-energize the electrical connection between the negative power supply 120 and the fan speed pin 111 (ie, enable the first switch module SW1) according to the under-signal S4 and the electrical unit between the determination unit 130 and the fan speed pin 111 Is connected (ie, the second switch module SW2 is enabled), so that the negative power supply 120 can be electrically connected to the fan speed pin 111 again, and the determination unit 130 is also electrically connected to the fan speed pin 111 again (step S110).

如此一來,負電源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 negative power supply 120 can re-provide the negative voltage V1 to the fan speed pin 111, and the determination unit 130 can re-determine whether the negative voltage V1 on the fan speed pin 111 is clamped to the first level. At this time, when the judging unit 130 judges that the negative voltage V1 on the fan speed pin 111 is clamped to the first level, it means that the fan device 300 is still in the inserted state, so the processing unit 140 can return to step S90 to continuously observe the driving Voltage Vd. When the determining unit 130 determines that the negative voltage V1 on the fan speed pin 111 is not clamped to the first level, it means that the fan device 300 has been removed (ie, the speed signal terminal 331 is not connected to the fan speed pin 111), so The processing unit 140 can return to step S10 to restart the detection process.

第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 processing unit 140 can further determine whether the fan device 300 rotates normally according to the detection result D1 of the rotation speed detection unit 170 (step S120 ). When the processing unit 140 determines that the fan device 300 is not rotating normally according to the detection result D1, the processing unit 140 may disconnect the electrical connection between the lifting power supply 160 and the fan speed pin 111 (ie, disable the third switch module SW3) And the electrical connection between the speed detection unit 170 and the fan speed pin 111 (ie, the fourth switch module SW4 is disabled), and the electrical connection between the negative power supply 120 and the fan speed pin 111 is re-energized (ie, the first is enabled The switch module SW1) and the determination unit 130 are electrically connected to the fan speed pin 111 (that is, the second switch module SW2 is enabled), so that the negative power supply 120 can be electrically connected to the fan speed pin 111 again, and the determination The unit 130 is also electrically connected to the fan speed pin 111 again (step S130). Here, the abnormal rotation may be that the rotation speed does not reach the normal range (for example, the detection result D1 indicates that the level of the rotation speed signal S1 changes slowly) or not rotating (for example, the detection result D1 indicates the rotation speed signal There is no change in the level of S1), but it is not limited to this.

如此一來,負電源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 negative power supply 120 can re-provide the negative voltage V1 to the fan speed pin 111, and the determination unit 130 can re-determine whether the negative voltage V1 on the fan speed pin 111 is clamped to the first level. At this time, when the determining unit 130 determines that the negative voltage V1 on the fan speed pin 111 is clamped to the first level, it indicates that the fan device 300 has an abnormal condition, so the processing unit 140 may generate an error warning E1 (step S140) to the system Circuit (not shown). After the fan device 300 is removed by the user, the processing unit 140 clears the error warning E1. When the determination unit 130 determines that the negative voltage V1 on the fan speed pin 111 is not clamped to the first level, it means that the fan device 300 has been removed, so the processing unit 140 can return to step S10 to restart the detection process.

在一些實施態樣中,錯誤警示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 detection circuit 100 may further include a ground pin 113. The ground pin 113 is used for coupling to the ground voltage GND. Moreover, when the fan device 300 is inserted, the ground pin 113 can be connected to the ground signal terminal 333 of the fan device 300.

在一實施例中,偵測電路100可更包含轉速輸出單元180,且轉速輸出單元180耦接於處理單元140。於此,處理單元140可根據扇轉速接腳111上的轉速訊號S1去計算並產生用以表示風扇裝置300之轉速的轉速輸出D2,且處理單元140再透過轉速輸出單元180將轉速輸出D2回報至系統電路(圖未示)。In an embodiment, the detection circuit 100 may further include a rotation speed output unit 180, and the rotation speed output unit 180 is coupled to the processing unit 140. Here, the processing unit 140 can calculate and generate a speed output D2 indicating the speed of the fan device 300 according to the speed signal S1 on the fan speed pin 111, and the processing unit 140 returns the speed output D2 through the speed output unit 180 To the system circuit (not shown).

在一實施例中,轉速控制訊號PWM可由驅動電路200經由PWM控制接腳114輸出至風扇裝置300的轉速控制端334,以調整風扇裝置300的轉速。In one embodiment, the speed control signal PWM can be output by the driving circuit 200 to the speed control end 334 of the fan device 300 through the PWM control pin 114 to adjust the speed of the fan device 300.

在一實施例中,風扇裝置300更包含穩壓電路360。穩壓電路360耦接於電源訊號端332與轉速訊號產生電路350之間,並且可將從電源訊號端接收到的驅動電壓Vd轉換成風扇裝置300中各內部元件(如驅動器320、轉速訊號產生電路350等)所需的電壓。In one embodiment, the fan device 300 further includes a voltage regulator circuit 360. The voltage stabilizing circuit 360 is coupled between the power signal terminal 332 and the speed signal generating circuit 350, and can convert the driving voltage Vd received from the power signal terminal into various internal components in the fan device 300 (such as the driver 320 and the speed signal generation) Circuit 350, etc.) required voltage.

綜上所述,本發明之實施例提供一種偵測電路及偵測方法,其透過偵測用以耦接風扇裝置之轉速訊號端的風扇轉速接腳上的負電壓是否被箝位來判斷風扇裝置是否插入,且於判斷風扇裝置插入後才致使驅動電路輸出驅動電壓來驅動風扇裝置,以避免風扇裝置插入時會產生瞬間大電流而損壞風扇裝置或系統。此外,即便使用者將風扇裝置之連接埠插至錯誤接腳,亦不會產生電流迴路而更得以避免風扇損壞。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)

一種偵測電路,用以偵測一風扇裝置是否插入,該偵測電路包含:一風扇轉速接腳,用以耦接該風扇裝置的一轉速訊號端;一負電源,用以提供一負電壓至該風扇轉速接腳上,且當該風扇裝置的該轉速訊號端連接至該風扇轉速接腳時,該負電壓用以致能該風扇裝置的一箝位電路,以致使該箝位電路將該風扇轉速接腳上的該負電壓箝位至一第一位準;一判斷單元,用以判斷該風扇轉速接腳上的該負電壓是否箝位至該第一位準;及一處理單元,於該判斷單元判斷該風扇轉速接腳上的該負電壓箝位至該第一位準時輸出一致能訊號,其中該致能訊號用以致使一驅動電路輸出一驅動電壓去驅動該風扇裝置進行轉動,及其中該處理單元於該判斷單元判斷該風扇轉速接腳上的該負電壓未箝位至該第一位準時不輸出該致能訊號,且其中該驅動電路於未接收到該致能訊號時不輸出該驅動電壓。 A detection circuit for detecting whether a fan device is inserted, the detection circuit includes: a fan speed pin for coupling a speed signal terminal of the fan device; a negative power supply for providing a negative voltage To the fan speed pin, and when the speed signal end of the fan device is connected to the fan speed pin, the negative voltage is used to enable a clamping circuit of the fan device, so that the clamping circuit The negative voltage on the fan speed pin is clamped to a first level; a judgment unit is used to judge whether the negative voltage on the fan speed pin is clamped to the first level; and a processing unit, The judging unit judges that the negative voltage on the fan speed pin is clamped to the first position to output a consistent energy signal on time, wherein the enabling signal is used to cause a driving circuit to output a driving voltage to drive the fan device to rotate And wherein the processing unit does not output the enable signal when the judgment unit determines that the negative voltage on the fan speed pin is not clamped to the first level, and wherein the drive circuit does not receive the enable signal The drive voltage is not output. 如申請專利範圍第1項所述之偵測電路,其中該判斷單元係於該風扇轉速接腳上的該負電壓與一參考電壓之間的差值大於一預設閥值時,判斷該負電壓箝位至該第一位準。 The detection circuit as described in item 1 of the patent application range, wherein the determination unit determines the negative when the difference between the negative voltage on the fan speed pin and a reference voltage is greater than a preset threshold The voltage is clamped to this first level. 如申請專利範圍第1項所述之偵測電路,更包含:一風扇電源接腳,用以耦接該風扇裝置的一電源訊號端;及該驅動電路,耦接於該風扇電源接腳,且用以根據該致能訊號經由該風扇電源接腳輸出該驅動電壓。 The detection circuit described in item 1 of the patent application scope further includes: a fan power pin for coupling a power signal terminal of the fan device; and the driving circuit, coupled to the fan power pin, And used to output the driving voltage through the fan power pin according to the enable signal. 如申請專利範圍第1項所述之偵測電路,更包含:一偵測單元,用以偵測該驅動電壓是否達到一起轉電壓,並於達到該起轉電壓時產生一起轉訊號;一抬昇電源,用以提供一抬昇電壓;及一轉速偵測單元,用以偵測一轉速訊號;其中,該處理單元更根據該起轉訊號時,斷開該負電源與該風扇轉速接腳的電性連結以及該判斷單元與該風扇轉速接腳的電性連結,並且導通該抬昇電源與該風扇轉速接腳的電性連結以及該轉速偵測單元與該風扇轉速接腳的電性連結,其中該風扇裝置於經由該轉速訊號端接收到該抬昇電壓時,該風扇裝置更利用該抬昇電壓於該風扇轉速接腳上產生該轉速訊號。 The detection circuit as described in item 1 of the patent application scope further includes: a detection unit for detecting whether the driving voltage reaches the turn-on voltage and generates a turn-on signal when the turn-on voltage is reached; Boosting power to provide a boosting voltage; and a rotation speed detection unit to detect a rotation speed signal; wherein the processing unit further disconnects the negative power supply and the fan rotation speed pin according to the starting signal And the electrical connection between the judging unit and the fan speed pin, and the electrical connection between the lifting power supply and the fan speed pin and the electrical connection between the speed detection unit and the fan speed pin Connection, wherein when the fan device receives the boost voltage through the speed signal terminal, the fan device further uses the boost voltage to generate the speed signal on the fan speed pin. 如申請專利範圍第4項所述之偵測電路,其中該偵測單元更於偵測到該驅動電壓未達到該起轉電壓時產生一未達訊號,且該處理單元根據該未達訊號斷開該抬昇電源與該風扇轉速接腳的該電性連結以及該轉速計與該風扇轉速接腳的該電性連結,並導通該負電源與該風扇轉速接腳的該電性連結以及該判斷單元與該風扇轉速接腳的該電性連結。 The detection circuit as described in item 4 of the patent application scope, wherein the detection unit further generates a non-reaching signal when detecting that the driving voltage does not reach the turn-on voltage, and the processing unit breaks according to the non-reaching signal Turn on the electrical connection of the lifting power supply and the fan speed pin and the electrical connection of the tachometer and the fan speed pin, and turn on the electrical connection of the negative power supply and the fan speed pin and the The electrical connection between the determination unit and the fan speed pin. 如申請專利範圍第4項所述之偵測電路,其中該處理單元更根據該轉速偵測單元的偵測結果判斷該風扇裝置是否正常轉動,當判斷該風扇裝置未正常轉動時,該處理單元斷開該抬昇電源與該風扇轉速接腳的該電性連結以及該轉速偵測單元與該風扇轉速接腳的該電性連結,並導通該負電源與該風扇轉速接腳的該電性連結以及該判斷單元與該風扇轉速接腳的該電性連結,以致使該判斷 單元重新進行判斷,其中當該判斷單元再次判斷該風扇轉速接腳上的該負電壓箝位至該第一準位時,該處理單元產生一錯誤警示。 The detection circuit as described in item 4 of the patent application range, wherein the processing unit further determines whether the fan device rotates normally according to the detection result of the rotation speed detection unit, and when it is determined that the fan device does not rotate normally, the processing unit Disconnect the electrical connection between the lifting power supply and the fan speed pin and the electrical connection between the speed detection unit and the fan speed pin, and turn on the electrical power of the negative power supply and the fan speed pin The connection and the electrical connection between the determination unit and the fan speed pin, so that the determination The unit performs the judgment again. When the judgment unit judges that the negative voltage on the fan speed pin is clamped to the first level again, the processing unit generates an error warning. 一種偵測方法,用以偵測一風扇裝置是否插入,該偵測方法包含:利用一負電源提供一負電壓至一風扇轉速接腳,其中該風扇轉速接腳用以耦接該風扇裝置的一轉速訊號端,當該風扇裝置的該轉速訊號端連接至該風扇轉速接腳時,該負電壓用以致能該風扇裝置的一箝位電路,以致使該箝位電路將該風扇轉速接腳上的該負電壓箝位至一第一位準;利用一判斷單元判斷該風扇轉速接腳上的該負電壓是否箝位至該第一位準;當該判斷單元判斷該風扇轉速接腳上的該負電壓箝位至該第一位準時,輸出一致能訊號,其中該致能訊號用以致使一驅動電路輸出一驅動電壓去驅動該風扇裝置進行轉動;及當該判斷單元判斷該風扇轉速接腳上的該負電壓未箝位至該第一位準時,不輸出該致能訊號,其中該驅動電路於未接收到該致能訊號時不輸出該驅動電壓。 A detection method for detecting whether a fan device is inserted, the detection method 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 fan device A speed signal terminal, when the speed signal terminal of the fan device is connected to the fan speed pin, the negative voltage is used to enable a clamp circuit of the fan device, so that the clamp circuit connects the fan speed pin Clamp the negative voltage on the first level; use a judgment unit to judge whether the negative voltage on the fan speed pin is clamped to the first level; when the judgment unit judges the fan speed pin When the negative voltage is clamped to the first level, a consistent energy signal is output, wherein the enabling signal is used to cause a driving circuit to output a driving voltage to drive the fan device to rotate; and when the judgment unit judges the fan speed When the negative voltage on the pin is not clamped to the first level, the enable signal is not output, and the drive circuit does not output the drive voltage when the enable signal is not received. 如申請專利範圍第7項所述之偵測方法,其中判斷該風扇轉速接腳上的該負電壓是否箝位至該第一位準之步驟包含:比較該風扇轉速接腳上的該負電壓與一參考電壓;及當該風扇轉速接腳上的該負電壓與該參考電壓之間的差值大於一預設閥值時,判斷該負電壓箝位至該第一位準。 The detection method as described in item 7 of the patent application scope, wherein the step of determining whether the negative voltage on the fan speed pin is clamped to the first level includes: comparing the negative voltage on the fan speed pin And a reference voltage; and when the difference between the negative voltage on the fan speed pin and the reference voltage is greater than a preset threshold, it is determined that the negative voltage is clamped to the first level. 如申請專利範圍第7項所述之偵測方法,更包含: 利用該驅動電路根據該致能訊號經由一風扇電源接腳輸出該驅動電壓,其中該風扇電源接腳用以耦接該風扇裝置的一電源訊號端。 The detection method described in item 7 of the patent application scope further includes: The driving circuit is used to output the driving voltage through a fan power pin according to the enabling signal, wherein the fan power pin is used to couple to a power signal terminal of the fan device. 如申請專利範圍第7項所述之偵測方法,更包含:利用一偵測單元偵測該驅動電壓是否達到一起轉電壓,且該偵測單元於偵測到該驅動電壓達到該起轉電壓時產生一起轉訊號;根據該起轉訊號斷開該負電源與該風扇轉速接腳的電性連結以及該判斷單元與該風扇轉速接腳的電性連結;利用一抬昇電源提供一抬昇電壓於該風扇轉速接腳上,以致使該風扇裝置經由該轉速訊號端利用該抬昇電壓於該風扇轉速接腳上產生一轉速訊號;及利用一轉速偵測單元偵測該轉速訊號。The detection method as described in item 7 of the patent application scope further includes: detecting whether the driving voltage reaches the turn-on voltage with a detecting unit, and the detecting unit detects that the driving voltage reaches the turn-on voltage Generate a turn signal at the time; disconnect the electrical connection between the negative power supply and the fan speed pin and the electrical connection between the determination unit and the fan speed pin according to the start signal; use a lifting power supply to provide a lift The voltage is on the fan speed pin, so that the fan device generates a speed signal on the fan speed pin via the speed signal terminal using the boost voltage; and a speed detection unit detects the speed signal.
TW107147577A 2018-12-28 2018-12-28 Detection circuit and method thereof TWI690801B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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