TWI687791B - Testing method of fan control signal from main board and testing system thereof - Google Patents
Testing method of fan control signal from main board and testing system thereof Download PDFInfo
- Publication number
- TWI687791B TWI687791B TW107147100A TW107147100A TWI687791B TW I687791 B TWI687791 B TW I687791B TW 107147100 A TW107147100 A TW 107147100A TW 107147100 A TW107147100 A TW 107147100A TW I687791 B TWI687791 B TW I687791B
- Authority
- TW
- Taiwan
- Prior art keywords
- speed
- fan
- motherboard
- voltage
- width modulation
- Prior art date
Links
Images
Landscapes
- Control Of Electric Motors In General (AREA)
Abstract
Description
本發明是有關於一種測試方法及系統,且特別是有關於一種主機板的風扇控制訊號的測試方法及系統。The present invention relates to a test method and system, and particularly to a test method and system for a fan control signal of a motherboard.
目前,在主機板的測試中,需要將多組實體風扇連接至主機板,以檢測主機板的風扇控制訊號是否異常。然而,在每次測試中,作業員需要重複地插拔風扇,作業上相當繁雜。此外,這些風扇長期測試之後的損毀率高,需要經常性地更換,而增加了測試的成本。At present, in the test of the motherboard, multiple sets of physical fans need to be connected to the motherboard to detect whether the fan control signal of the motherboard is abnormal. However, in each test, the operator needs to repeatedly insert and remove the fan, which is quite complicated. In addition, the damage rate of these fans after long-term testing is high, requiring frequent replacement, which increases the cost of testing.
本發明提供一種主機板的風扇控制訊號的測試方法,其可不需使用實體風扇,便能夠測試主機板的風扇控制訊號。The invention provides a method for testing a fan control signal of a motherboard, which can test the fan control signal of a motherboard without using a physical fan.
本發明提供一種主機板的風扇控制訊號的測試系統,其可用來替代實體風扇來測試主機板的風扇控制訊號。The invention provides a test system for a fan control signal of a motherboard, which can be used to replace the physical fan to test the fan control signal of the motherboard.
本發明的一種主機板的風扇控制訊號的測試方法,包括讀取從一主機板所發出的一風扇電壓與一脈衝寬度調變訊號。依據脈衝寬度調變訊號計算出一脈衝寬度調變佔空比。執行一第一模擬轉速取得程序,包括:判斷脈衝寬度調變佔空比是否為100%,其中當脈衝寬度調變佔空比為100%時,依據一第一轉速公式計算出一第一風扇轉速;當脈衝寬度調變佔空比不為100%時,判斷風扇電壓是否大於一電壓預設值,當風扇電壓大於電壓預設值時,依據一第二轉速公式計算出一第二風扇轉速;以及當風扇電壓不大於電壓預設值時,得到一第三風扇轉速。在執行第一模擬轉速取得程序之後,根據所得到的第一風扇轉速、第二風扇轉速或第三風扇轉速,輸出對應的一第一時脈訊號至主機板。主機板判斷第一時脈訊號是否落入一預設範圍內。A test method for a fan control signal of a motherboard includes reading a fan voltage and a pulse width modulation signal sent from a motherboard. A pulse width modulation duty cycle is calculated based on the pulse width modulation signal. Performing a first simulated speed acquisition procedure, including: determining whether the pulse width modulation duty cycle is 100%, wherein when the pulse width modulation duty cycle is 100%, a first fan is calculated according to a first speed formula Speed; when the pulse width modulation duty cycle is not 100%, determine whether the fan voltage is greater than a voltage preset value, when the fan voltage is greater than the voltage preset value, calculate a second fan speed according to a second speed formula ; And when the fan voltage is not greater than the voltage preset value, a third fan speed is obtained. After executing the first simulated speed acquisition procedure, a corresponding first clock signal is output to the motherboard according to the obtained first fan speed, second fan speed or third fan speed. The motherboard determines whether the first clock signal falls within a preset range.
在本發明的一實施例中,當執行第一模擬轉速取得程序時,依據脈衝寬度調變佔空比判斷主機板傳遞一三針腳訊號或一四針腳訊號。In an embodiment of the present invention, when the first simulated rotation speed acquisition process is executed, it is determined that the motherboard transmits a three-pin signal or a four-pin signal according to the pulse width modulation duty ratio.
在本發明的一實施例中,上述的第一轉速公式為第一風扇轉速=(風扇電壓/12V)x(一最大轉速-一基礎轉速)+基礎轉速。In an embodiment of the present invention, the above-mentioned first speed formula is: first fan speed = (fan voltage/12V) x (a maximum speed-a base speed) + base speed.
在本發明的一實施例中,上述的第二轉速公式為第二風扇轉速=(脈衝寬度調變佔空比/100)x(一最大轉速-一基礎轉速)+基礎轉速。In an embodiment of the invention, the above-mentioned second speed formula is the second fan speed = (pulse width modulation duty cycle/100) x (a maximum speed-a base speed) + base speed.
在本發明的一實施例中,上述的第三風扇轉速為0。In an embodiment of the invention, the rotation speed of the third fan is 0.
在本發明的一實施例中,上述在讀取風扇電壓之後,可選擇地執行第一模擬轉速取得程序或是一第二模擬轉速取得程序,第二模擬轉速取得程序包括:判斷風扇電壓是否大於電壓預設值,當風扇電壓大於電壓預設值時,依據第二轉速公式計算出一第四風扇轉速;以及當風扇電壓不大於電壓預設值時,得到第三風扇轉速。在執行第二模擬轉速取得程序之後,根據所得到的第三風扇轉速或第四風扇轉速,輸出對應的一第二時脈訊號至主機板。主機板判斷第二時脈訊號是否落入預設範圍內。In an embodiment of the present invention, after the fan voltage is read, the first simulated speed acquisition procedure or a second simulated speed acquisition procedure can be optionally performed. The second simulated speed acquisition procedure includes: determining whether the fan voltage is greater than In the preset voltage value, when the fan voltage is greater than the preset voltage value, a fourth fan speed is calculated according to the second speed formula; and when the fan voltage is not greater than the preset voltage value, the third fan speed is obtained. After executing the second simulated speed acquisition procedure, according to the obtained third fan speed or fourth fan speed, a corresponding second clock signal is output to the motherboard. The motherboard determines whether the second clock signal falls within the preset range.
本發明的一種主機板的風扇控制訊號的測試系統,適於測試一主機板,主機板的風扇控制訊號的測試系統包括一測試治具。測試治具包括一治具連接器及一處理器。治具連接器適於電性連接於主機板,以取得從主機板所發出的一風扇電壓與一脈衝寬度調變訊號。處理器電性連接於治具連接器,處理器適於依據脈衝寬度調變訊號計算出一脈衝寬度調變佔空比,其中處理器適於執行一第一模擬轉速取得程序。第一模擬轉速取得程序包括:判斷脈衝寬度調變佔空比是否為100%,其中當脈衝寬度調變佔空比為100%時,依據一第一轉速公式計算出一第一風扇轉速;當脈衝寬度調變佔空比不為100%時,判斷風扇電壓是否大於一電壓預設值,當風扇電壓大於電壓預設值時,依據一第二轉速公式計算出一第二風扇轉速;當風扇電壓不大於電壓預設值時,得到一第三風扇轉速。在執行第一模擬轉速取得程序之後,處理器根據所得到的第一風扇轉速、第二風扇轉速或第三風扇轉速,輸出對應的一第一時脈訊號至主機板。The test system for the fan control signal of the motherboard is suitable for testing a motherboard. The test system for the fan control signal of the motherboard includes a test fixture. The test fixture includes a fixture connector and a processor. The jig connector is suitable for being electrically connected to the motherboard to obtain a fan voltage and a pulse width modulation signal sent from the motherboard. The processor is electrically connected to the jig connector. The processor is adapted to calculate a pulse width modulation duty cycle according to the pulse width modulation signal. The processor is adapted to execute a first simulated speed acquisition procedure. The first simulation speed acquisition procedure includes: judging whether the pulse width modulation duty cycle is 100%, wherein when the pulse width modulation duty cycle is 100%, a first fan speed is calculated according to a first speed formula; when When the duty cycle of the pulse width modulation is not 100%, it is determined whether the fan voltage is greater than a voltage preset value. When the fan voltage is greater than the voltage preset value, a second fan speed is calculated according to a second speed formula; when the fan When the voltage is not greater than the voltage preset value, a third fan speed is obtained. After executing the first simulated speed acquisition procedure, the processor outputs a corresponding first clock signal to the motherboard according to the obtained first fan speed, second fan speed or third fan speed.
在本發明的一實施例中,上述的測試治具更包括一最大轉速設定開關,電性連接於處理器,而提供所預設的一最大轉速至處理器,第一轉速公式為第一風扇轉速=(風扇電壓/12V)x(最大轉速-一基礎轉速)+基礎轉速,且第二轉速公式為第二風扇轉速=(脈衝寬度調變佔空比/100)x(最大轉速-基礎轉速)+基礎轉速。In an embodiment of the present invention, the above test fixture further includes a maximum speed setting switch, which is electrically connected to the processor and provides a preset maximum speed to the processor, and the first speed formula is the first fan Speed = (fan voltage / 12V) x (maximum speed-a base speed) + base speed, and the second speed formula is the second fan speed = (pulse width modulation duty cycle / 100) x (maximum speed-base speed ) + Basic speed.
在本發明的一實施例中,上述的測試治具更包括一模式設定開關,電性連接於處理器,處理器根據模式設定開關來選擇要執行第一模擬轉速取得程序或一第二模擬轉速取得程序,第二模擬轉速取得程序包括判斷風扇電壓是否大於電壓預設值,當風扇電壓大於電壓預設值時,依據第二轉速公式計算出一第四風扇轉速,當風扇電壓不大於電壓預設值時,得到第三風扇轉速。在執行第二模擬轉速取得程序之後,處理器根據所得到的第三風扇轉速或第四風扇轉速,輸出對應的一第二時脈訊號至主機板。In an embodiment of the present invention, the above-mentioned test fixture further includes a mode setting switch electrically connected to the processor, and the processor selects a first simulated speed acquisition procedure or a second simulated speed according to the mode setting switch Obtaining process, the second simulation speed obtaining process includes determining whether the fan voltage is greater than the voltage preset value, when the fan voltage is greater than the voltage preset value, a fourth fan speed is calculated according to the second speed formula, when the fan voltage is not greater than the voltage pre When setting the value, the third fan speed is obtained. After executing the second simulated speed acquisition procedure, the processor outputs a corresponding second clock signal to the motherboard according to the obtained third fan speed or fourth fan speed.
在本發明的一實施例中,上述的測試治具更包括一電壓指示器,電性連接於處理器,適於依據主機板所發出的風扇電壓指示出一信號。In an embodiment of the invention, the above test fixture further includes a voltage indicator, electrically connected to the processor, and adapted to indicate a signal according to the fan voltage sent by the motherboard.
在本發明的一實施例中,上述的測試治具更包括一轉速指示器,電性連接於處理器,適於依據第一時脈訊號指示出一信號。In an embodiment of the invention, the above-mentioned test fixture further includes a speed indicator, electrically connected to the processor, and adapted to indicate a signal according to the first clock signal.
基於上述,本發明的主機板的風扇控制訊號的測試方法與測試系統利用判斷脈衝寬度調變佔空比是否為100%及風扇電壓是否大於電壓預設值,來決定要依據第一、第二或第三轉速公式來計算風扇轉速,並根據所得到的風扇轉速輸出對應的時脈訊號至主機板,而模擬實體風扇的運作。主機板會判斷所接受到的時脈訊號是否落入一預設範圍內,若是,代表主機板的風扇控制訊號正常。若否,代表主機板的風扇控制訊號異常。本發明的主機板的風扇控制訊號的測試方法與系統由於不需將實體風扇連接至主機板來測試,在測試不同轉速設定的過程中作業員不需重複的插拔多個實體風扇的接頭,也不會有風扇損耗的問題,而可降低測試人力與成本。Based on the above, the test method and test system of the fan control signal of the motherboard of the present invention utilizes to determine whether the pulse width modulation duty ratio is 100% and whether the fan voltage is greater than the voltage preset value to determine Or use the third speed formula to calculate the fan speed, and output the corresponding clock signal to the motherboard according to the obtained fan speed to simulate the operation of the physical fan. The motherboard will determine whether the received clock signal falls within a preset range. If so, it means that the fan control signal of the motherboard is normal. If not, it means that the fan control signal of the motherboard is abnormal. The method and system for testing the fan control signal of the motherboard of the present invention do not need to connect the physical fan to the motherboard for testing, and the operator does not need to repeatedly plug and unplug multiple physical fan connectors during the process of testing different speed settings. There will also be no problem of fan loss, and test labor and cost can be reduced.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the embodiments are specifically described below in conjunction with the accompanying drawings for detailed description as follows.
在進行習知主機板的風扇控制訊號測試時,主機板會與實體風扇連接,主機板會傳遞風扇電壓與脈衝寬度調變訊號至風扇,風扇會以對應的轉速轉動。由於風扇的轉速會對應到特定的時脈訊號,這個時脈訊號會被回饋至主機板。因此,主機板可以由所接受到的時脈訊號去判斷風扇的轉速是否正常,進而推斷出主機板經由此連接器傳出的風扇控制訊號是否正常。When testing the fan control signal of a conventional motherboard, the motherboard will be connected to the physical fan, the motherboard will transmit the fan voltage and pulse width modulation signal to the fan, and the fan will rotate at the corresponding speed. Since the speed of the fan will correspond to a specific clock signal, this clock signal will be fed back to the motherboard. Therefore, the motherboard can determine whether the fan speed is normal based on the received clock signal, and then infer whether the fan control signal transmitted by the motherboard through this connector is normal.
在本實施例中,主機板的風扇控制訊號的測試系統不用將實體風扇連接至主機板便可測試主機板的風扇控制訊號是否正常,測試時作業員不需重複的插拔實體風扇的接頭,也不會有風扇損耗的問題,而可降低測試人力與成本,且可避免風扇運轉時產生的噪音,下面將對主機板的風扇控制訊號的測試系統進行說明。In this embodiment, the system for testing the fan control signal of the motherboard can test whether the fan control signal of the motherboard is normal without connecting the physical fan to the motherboard. The operator does not need to repeatedly plug and unplug the connector of the physical fan during the test. There is no problem of fan loss, which can reduce the test manpower and cost, and can avoid the noise generated when the fan is running. The test system of the fan control signal of the motherboard will be described below.
圖1是依照本發明的一實施例的一種主機板的風扇控制訊號的測試治具的示意圖。圖2是將圖1的測試治具連接至主機板與電源供應器的示意圖。請參閱圖1與圖2,本實施例的主機板的風扇控制訊號的測試系統適於測試一主機板10(圖2)的風扇控制訊號。FIG. 1 is a schematic diagram of a test fixture for a fan control signal of a motherboard according to an embodiment of the invention. FIG. 2 is a schematic diagram of connecting the test fixture of FIG. 1 to a motherboard and a power supply. Please refer to FIGS. 1 and 2. The system for testing the fan control signal of the motherboard in this embodiment is suitable for testing the fan control signal of a motherboard 10 (FIG. 2 ).
如圖1所示,主機板的風扇控制訊號的測試系統包括一測試治具100。測試治具100包括至少一治具連接器110及電性連接於治具連接器110的一處理器150。治具連接器110適於電性連接於主機板10(圖2),以取得從主機板10所發出的一風扇電壓與一脈衝寬度調變訊號。在本實施例中,測試治具100包括八個治具連接器110,電性連接制處理器150,而可模擬八個風扇。當然,治具連接器110的數量不以此為限制。As shown in FIG. 1, the test system for the fan control signal of the motherboard includes a
在圖2可見,在本實施例中,主機板10可具有八個可以供風扇連接的連接器,當欲對主機板10上的這八個連接器所傳輸的風扇控制訊號進行測試時,操作者可將各傳輸線17的接頭16插設至主機板10上的連接器,且將傳輸線17的接頭18插設至測試治具100的治具連接器110(圖1),以使主機板10電性連接至測試治具100。如此,測試治具100便可取得主機板10所發出的風扇電壓與脈衝寬度調變訊號。As can be seen in FIG. 2, in this embodiment, the
主機板10具有一中央處理器12、電性連接於中央處理器12的一擴充卡插槽14及一電接頭15。在本實施例中,電源供應器20連接於主機板10的電接頭15與測試治具100的電源模組130,以對主機板10與測試治具100供電。The
在本實施例中,主機板的風扇控制訊號的測試系統透過測試治具100來模擬風扇的運作,處理器150會依據主機板10傳來的風扇電壓與脈衝寬度調變訊號來計算出對應的時脈訊號,並將時脈訊號傳回給主機板10,以供主機板10判斷其連接器所送出的風扇控制訊號是否正常。In this embodiment, the test system for the fan control signal of the motherboard uses the
值得一提的是,在本實施例中,具有八個治具連接器110的測試治具100可模擬八個虛擬風扇,這些治具連接器110可以連接到同一個主機板10上的多個連接器,以判斷此主機板10上的多個風扇控制訊號是否正常。這些治具連接器110也可以連接到不同的主機板10,以判斷不同主機板10上的風扇控制訊號是否正常。It is worth mentioning that, in this embodiment, the
要說明的是,由於主機板10上可連接八個風扇,若測試治具100模擬八個風扇同時啟動,對主機板10的負荷較大,而可能造成主機板10停止運作(shut down)。在本實施例中,測試治具100可具有模擬風扇分批啟動的電路或開關(未繪示),例如是可控制其中四個風扇先啟動,另外四個風扇後啟動,來降低主機板10的負荷。當然,分批啟動的形式不以此為限制。在其他實施例中,測試治具100也可以不具有模擬風扇分批啟動的電路或開關。It should be noted that since eight fans can be connected to the
另外,由於主機板10可能會連接到不同最大轉速的風扇,在習知的測試中,操作者需要將主機板10分別連接至不同最大轉速的風扇,並進行測試。在本實施例中,測試治具100更包括最大轉速設定開關,電性連接於處理器150。操作者可調整最大轉速設定開關來改變測試治具100所模擬的風扇的最大轉速。如此一來,操作者便不需要逐一地測試主機板10與不同的風扇之間的訊號。In addition, since the
詳細地說,在本實施例中,最大轉速設定開關包括開關142、144、146,操作者可例如是利用下表一來調整開關142、144、146以設定出所預設的最大轉速。舉例來說,當操作者欲測試最大轉速為2000rpm的風扇時,只要將開關142、144、146(例如是撥桿143、145、147)均撥到開(on),則代表測試治具100會模擬為最大轉速為2000rpm的風扇。處理器150則會依據所預設的最大轉速來計算出對應的時脈訊號。In detail, in this embodiment, the maximum speed setting switch includes
表一:
當然,最大轉速設定開關的形式、數量、最大轉速的設定方式並不以此為限制。此外,在其他實施例中,測試治具100也可以具有不只一組最大轉速設定開關,而可模擬出多種最大轉速的風扇同時運作。Of course, the form, number, and setting method of the maximum speed setting switch are not limited to this. In addition, in other embodiments, the
此外,目前市面上的風扇分為兩種形式,一種是舊款的風扇,其具有3個傳輸針腳(3 pin)。另一種是新款的風扇,其具有4個傳輸針腳(4 pin),此為目前主要的風扇形式。部分的主機板10只支援具有4個傳輸針腳的風扇,部分的主機板10會支援具有4個傳輸針腳的風扇及具有3個傳輸針腳的風扇。In addition, there are currently two types of fans on the market, one is the old fan, which has 3 transmission pins (3 pins). The other is a new type of fan, which has 4 transmission pins (4 pins), which is currently the main form of fan. Some
為了讓測試治具100可以應用於上述形式的主機板10,在本實施例中,測試治具100更包括一模式設定開關140,電性連接於處理器150。在本實施例中,模式設定開關140的撥桿141調整到開(on)的位置代表自動模式,處理器150會判斷主機板10傳遞三針腳訊號或是四針腳訊號給測試治具100,並依此計算出對應的時脈訊號。當模式設定開關140的撥桿141調整到關(off)的位置則代表四針腳模式,處理器150會直接判斷主機板10傳遞四針腳訊號給測試治具100,而依此計算出對應的時脈訊號。當然,在其他實施例中,測試治具100可直接預設為自動模式,而不需模式設定開關140。In order to allow the
下面將介紹主機板的風扇控制訊號的測試系統是如何運作。圖3是依照本發明的一實施例的一種主機板的風扇控制訊號的測試方法的流程示意圖。請參閱圖3,首先,如步驟202,當主機板10在傳遞要給這八個虛擬風扇的風扇控制訊號給測試治具100時,主機板10會依據測試治具100上的設定,分時啟動這八個虛擬風扇,也就是說,主機板10會分批傳遞這八個虛擬風扇的風扇控制訊號給測試治具100。例如是先傳風扇控制訊號至其中四個治具連接器110,之後再傳風扇控制訊號至剩下四個治具連接器110。The following describes how the test system for the fan control signal of the motherboard works. FIG. 3 is a schematic flowchart of a method for testing a fan control signal of a motherboard according to an embodiment of the invention. Please refer to FIG. 3. First, in
接著,如步驟203,處理器150會讀取最大轉速設定開關的資訊來得知目前所模擬的風扇的最大轉速。以及,如步驟205,處理器150會讀取主機板10所傳出的風扇電壓與脈衝寬度調變訊號。接著,如步驟206,處理器150依據脈衝寬度調變訊號計算出一脈衝寬度調變佔空比。再來,如步驟206,處理器150會確認模式設定開關140上的設定以判斷要用哪一種模式來計算風扇轉速。Then, in
更明確地說,處理器150依據模式設定開關140來判斷要執行自動模式(自動判斷主機板10傳遞三針腳訊號或是四針腳訊號給測試治具100)或是四針腳模式(直接判定主機板10是傳遞四針腳訊號給測試治具100)。在本實施例中,處理器150若要依據自動模式規則來計算風扇轉速,處理器150會執行第一模擬轉速取得程序。處理器150若要依據四針腳模式規則來計算風扇轉速,處理器150會執行第二模擬轉速取得程序。More specifically, the
圖4是圖3的主機板的風扇控制訊號的測試方法的第一模擬轉速取得程序的流程示意圖。請參閱圖4,在本實施例中,第一模擬轉速取得程序210包括下列步驟。首先,判斷脈衝寬度調變佔空比是否為100%(步驟211),其中當脈衝寬度調變佔空比為100%時,依據一第一轉速公式計算出一第一風扇轉速。FIG. 4 is a schematic flowchart of a first simulated speed acquisition procedure of the method for testing the fan control signal of the motherboard of FIG. 3. Please refer to FIG. 4. In this embodiment, the first simulated rotation
由於三針腳訊號與四針腳訊號的差異是在於,四針腳訊號比三針腳訊號多了一個針腳用來傳遞脈衝寬度調變訊號。也就是說,三針腳訊號並不傳遞脈衝寬度調變訊號。在傳輸三針腳訊號時,脈衝寬度調變訊號會被判斷成保持高邏輯準位(always high),因此,脈衝寬度調變佔空比會被計算成100%。The difference between the three-pin signal and the four-pin signal is that the four-pin signal has one more pin than the three-pin signal to transmit the pulse width modulation signal. In other words, the three-pin signal does not transmit the pulse width modulation signal. When transmitting a three-pin signal, the pulse width modulation signal will be judged to maintain a high logic level (always high). Therefore, the pulse width modulation duty cycle will be calculated as 100%.
換句話說,當脈衝寬度調變佔空比為100%時,其中一個可能是主機板10傳遞給測試治具100 三針腳訊號。另一者可能是,主機板10傳遞給測試治具100 四針腳訊號,且所傳遞的脈衝寬度調變訊號被轉換成脈衝寬度調變佔空比為100%(滿載)。In other words, when the duty cycle of the pulse width modulation is 100%, one of them may be the three-pin signal transmitted from the
也就是說,在本實施例中,當執行第一模擬轉速取得程序時,依據脈衝寬度調變佔空比來判斷主機板傳遞一三針腳訊號或一四針腳訊號。That is to say, in the present embodiment, when the first analog speed acquisition procedure is executed, the duty cycle of the pulse width modulation is used to determine whether the motherboard transmits a three-pin signal or a four-pin signal.
在本實施例中,在上述兩種狀況下,處理器150便如步驟212所示,依據第一轉速公式來計算出虛擬的風扇轉速。第一轉速公式為第一風扇轉速=(風扇電壓/12V)x(最大轉速-基礎轉速)+基礎轉速,其中風扇電壓為主機板10傳遞給測試治具100的電壓,最大轉速為測試治具100上最大轉速設定開關的設定值,基礎轉速可為預設值,例如是1000rpm,但不以此為限制。In this embodiment, under the above two conditions, as shown in
接著,當脈衝寬度調變佔空比不為100%時,判斷風扇電壓是否大於一電壓預設值。在本實施例中,電壓預設值例如是10V(步驟213),但不以此為限制。一般來說,風扇電壓若以12V為例,由於電壓值可能會依據線路等因素而略微增減。在本實施例中,當風扇電壓大於10V時,則可被判定成正常風扇電壓。當風扇電壓小於10V時,則被判定成異常風扇電壓。Next, when the duty cycle of the pulse width modulation is not 100%, it is determined whether the fan voltage is greater than a voltage preset value. In this embodiment, the preset voltage value is, for example, 10V (step 213), but this is not a limitation. Generally speaking, if the fan voltage is 12V as an example, the voltage value may slightly increase or decrease depending on the circuit and other factors. In this embodiment, when the fan voltage is greater than 10V, it can be determined as a normal fan voltage. When the fan voltage is less than 10V, it is determined to be abnormal fan voltage.
在本實施例中,當風扇電壓大於電壓預設值時,代表主機板10傳入的風扇電壓尚屬正常範圍,此時,處理器150可依據一第二轉速公式計算出一第二風扇轉速。在本實施例中,第二轉速公式為第二風扇轉速=(脈衝寬度調變佔空比/100)x(最大轉速-基礎轉速)+基礎轉速(步驟214)。In this embodiment, when the fan voltage is greater than the preset voltage value, it means that the fan voltage from the
當風扇電壓不大於電壓預設值時,代表主機板10傳入的風扇電壓不在正常範圍內,代表異常,此時,處理器150得到一第三風扇轉速。在本實施例中,第三風扇轉速為0(步驟215)。When the fan voltage is not greater than the voltage preset value, it means that the fan voltage input from the
接著,請回到圖3,如步驟230所示,依風扇轉速輸出對應的時脈訊號。在本實施例中,在執行第一模擬轉速取得程序之後,處理器150根據所得到的第一風扇轉速、第二風扇轉速或第三風扇轉速,輸出對應的一第一時脈訊號至主機板10。主機板10則由所接受到的第一時脈訊號去判斷測試治具100所回傳的第一時脈訊號是否略入一預設範圍,若是,代表第一時脈訊號為正常,而可推斷出主機板10所送出的風扇控制訊號為正常。若否,代表第一時脈訊號為異常,而可推斷出主機板10所送出的風扇控制訊號為異常。Next, please return to FIG. 3, as shown in
另一方面,處理器150若要依據四針腳模式規則來計算風扇轉速,處理器150會執行第二模擬轉速取得程序。圖5是圖3的主機板的風扇控制訊號的測試方法的第二模擬轉速取得程序的流程示意圖。請參閱圖5,第二模擬轉速取得程序220包括下列步驟。判斷風扇電壓是否大於電壓預設值,在本實施例中,電壓預設值例如是10V(步驟221),但不以此為限制。On the other hand, if the
當風扇電壓大於電壓預設值時,代表主機板10傳入的風扇電壓尚屬正常範圍,此時,處理器150可依據第二轉速公式計算出一第四風扇轉速。在本實施例中,第二轉速公式為第二風扇轉速=(脈衝寬度調變佔空比/100)x(最大轉速-基礎轉速)+基礎轉速(步驟222),其中最大轉速為測試治具100上最大轉速設定開關的設定值,基礎轉速可為預設值,例如是1000rpm,但不以此為限制。When the fan voltage is greater than the voltage preset value, it means that the fan voltage from the
當風扇電壓不大於電壓預設值時,代表主機板10傳入的風扇電壓屬異常範圍,處理器150可得到第三風扇轉速。在本實施例中,第三風扇轉速為0(步驟223)。When the fan voltage is not greater than the voltage preset value, it means that the fan voltage input from the
在本實施例中,由於模式設定開關140的撥桿141調整到關(off)的位置時,處理器150會依四針腳模式規則來計算風扇轉速,此時,處理器150已知道主機板10將測試治具100判斷成具有4個傳輸針腳的風扇。因此,處理器150不需去分辨主機板10是傳遞三針腳的訊號還是傳遞四針腳的訊號。因此,處理器150在執行第二模擬轉速取得程序時會省略了步驟211。在本實施例中,圖5的步驟222與圖4的步驟214相同,圖5的步驟223與圖4的步驟215相同,但不以此為限。In this embodiment, since the
接著,在執行第二模擬轉速取得程序之後,處理器150根據所得到的第三風扇轉速或第四風扇轉速,輸出對應的一第二時脈訊號至主機板10。同樣地,主機板10則由所接受到的第二時脈訊號去判斷測試治具100所回傳的第二時脈訊號是否略入一預設範圍,若是,代表第二時脈訊號為正常,而可推斷出主機板10所送出的風扇控制訊號正常。若否,則為主機板10所送出的風扇控制訊號異常。Then, after executing the second simulated rotation speed acquisition program, the
請回到圖2,在本實施例中,測試治具100更包括一電壓指示器120,電性連接於處理器150。電壓指示器120適於依據主機板10所發出的風扇電壓指示出一信號。也就是說,操作者可從測試治具100上的電壓指示器120得到主機板10所傳出的風扇電壓的資訊。舉例來說,在本實施例中,電壓指示器120可以是發光二極體,可以隨著主機板10所送入的風扇電壓越高而越亮,以供操作者判斷主機板10所送入的風扇電壓是否正常。當然,在其他實施例中,電壓指示器120也可以是一螢幕或是一數字錶,藉由顯示風扇電壓的數值來指示出信號。或者,電壓指示器120也可以透過聲音的方式呈現,藉由發出不同的聲音或頻率來供操作者判斷主機板10所送入的風扇電壓是否正常。Please return to FIG. 2. In this embodiment, the
此外,在本實施例中,測試治具100更包括一轉速指示器122,轉速指示器122電性連接於處理器150。轉速指示器122適於依據第一時脈訊號指示出一信號。也就是說,操作者可從測試治具100上的轉速指示器122得到測試治具100要傳回主機板10的時脈訊號的資訊。舉例來說,在本實施例中,轉速指示器122可以是另一個顏色的發光二極體,可以隨著測試治具100要傳回主機板10的時脈訊號越大而越閃爍越快,以供操作者判斷測試治具100要傳回主機板10的時脈訊號是否位在正常範圍內。當然,在其他實施例中,轉速指示器122也可以是一螢幕或是一數字錶,藉由顯示時脈訊號的數值來指示出信號。或者,轉速指示器122也可以透過聲音的方式呈現,藉由發出不同的聲音或頻率來供操作者判斷測試治具100要傳回主機板10的時脈訊號是否正常。In addition, in this embodiment, the
在本實施例中,每一個治具連接器110旁配置有對應的電壓指示器120及轉速指示器122,這樣可以方便操作者判斷經由此治具連接器110所傳輸的風扇控制訊號是否正常。也就是說,在本實施例中,測試治具100可以包括八個電壓指示器120及八個轉速指示器122,分別配置在八個治具連接器110旁。當然,電壓指示器120及轉速指示器122的數量與位置不以此為限制。In this embodiment, each
要說明的是,一般來說,當主機板10的風扇控制訊號有問題時,若主機板10是連接實體風扇,較難判斷出是風扇電壓有問題還是脈衝寬度調變有問題,而不容易除錯。在本實施例中,操作者可由電壓指示器120判斷出風扇電壓是否正常,且由轉速指示器122判斷出時脈訊號是否正常,以推斷出脈衝寬度調變是否正常,而較易除錯。另外,在本實施例中,測試治具100還包括一重啟按鈕160,以方便操作者重新啟動測試治具100。It should be noted that, in general, when there is a problem with the fan control signal of the
本實施例的測試治具100設計為風扇模擬器,可以模擬實體風扇從接收由主機板10傳來的風扇電壓與脈衝寬度調變(PWM)資訊,到輸出對應轉速的時脈訊號(Clock)的程序,以取代實體風扇使用於電腦主機板10或網通主機板10的風扇測試。實體風扇在運作時會有噪音及易損壞的問題,而測試治具100只有電訊號不會有如實體風扇的在機構運作上的噪音與損壞。因此,使用本實施例的測試治具100來進行主機板的風扇控制訊號的測試可以減少節省測試時間與成本。The
在本實施例中,測試治具100可模擬三針腳(Pin)風扇與四針腳風扇,而可支援不同形式的主機板10。此外,測試治具100可模擬多組風扇訊號,且測試治具100可藉由最大轉速設定開關來設定多種轉速模式,而可簡化測試。此外,相較於實體風扇的耗能程度,本實施例的測試治具100在風扇電壓為12V時,電流抽載約為0.8A,運作功率約為9.6W,而相當節省能源。In this embodiment, the
綜上所述,本發明的主機板的風扇控制訊號的測試方法與測試系統利用判斷脈衝寬度調變佔空比是否為100%及風扇電壓是否大於電壓預設值,來決定要依據第一、第二或第三轉速公式來計算風扇轉速,並根據所得到的風扇轉速輸出對應的時脈訊號至主機板,而模擬實體風扇的運作。主機板會判斷所接受到的時脈訊號是否落入一預設範圍內,若是,代表主機板的風扇控制訊號正常。若否,代表主機板的風扇控制訊號異常。本發明的主機板的風扇控制訊號的測試方法與系統由於不需將實體風扇連接至主機板來測試,在測試不同轉速設定的過程中作業員不需重複的插拔多個實體風扇的接頭,也不會有風扇損耗與噪音的問題,而可降低測試人力與成本且提升測試環境的舒適度。In summary, the test method and test system of the fan control signal of the motherboard of the present invention utilizes the determination of whether the pulse width modulation duty cycle is 100% and the fan voltage is greater than the voltage preset value to determine The second or third speed formula is used to calculate the fan speed, and the corresponding clock signal is output to the motherboard according to the obtained fan speed to simulate the operation of the physical fan. The motherboard will determine whether the received clock signal falls within a preset range. If so, it means that the fan control signal of the motherboard is normal. If not, it means that the fan control signal of the motherboard is abnormal. The method and system for testing the fan control signal of the motherboard of the present invention do not need to connect the physical fan to the motherboard for testing, and the operator does not need to repeatedly plug and unplug multiple physical fan connectors during the process of testing different speed settings. There is no problem of fan loss and noise, and it can reduce the test manpower and cost and improve the comfort of the test environment.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with examples, it is not intended to limit 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 present invention. The scope of protection of the present invention shall be subject to the scope defined in the appended patent application.
10:主機板10: motherboard
12:中央處理器12: CPU
14:擴充卡插槽14: expansion card slot
15:電接頭15: Electric connector
16、18:接頭16, 18: connector
17:傳輸線17: Transmission line
20:電源供應器20: Power supply
100:測試治具100: test fixture
110:治具連接器110: Fixture connector
120:電壓指示器120: voltage indicator
122:轉速指示器122: speed indicator
130:電源模組130: power module
140:模式設定開關140: Mode setting switch
141、143、145、147:撥桿141, 143, 145, 147: lever
142、144、146:開關142, 144, 146: switch
150:處理器150: processor
160:重啟按鈕160: restart button
200:主機板的風扇控制訊號的測試方法200: Test method of the fan control signal of the motherboard
202~230:步驟202~230: steps
圖1是依照本發明的一實施例的一種主機板的風扇控制訊號的測試治具的示意圖。 圖2是將圖1的測試治具連接至主機板與電源供應器的示意圖。 圖3是依照本發明的一實施例的一種主機板的風扇控制訊號的測試方法的流程示意圖。 圖4是圖3的主機板的風扇控制訊號的測試方法的第一模擬轉速取得程序的流程示意圖。 圖5是圖3的主機板的風扇控制訊號的測試方法的第二模擬轉速取得程序的流程示意圖。FIG. 1 is a schematic diagram of a test fixture for a fan control signal of a motherboard according to an embodiment of the invention. FIG. 2 is a schematic diagram of connecting the test fixture of FIG. 1 to a motherboard and a power supply. FIG. 3 is a schematic flowchart of a method for testing a fan control signal of a motherboard according to an embodiment of the invention. FIG. 4 is a schematic flowchart of a first simulated speed acquisition procedure of the method for testing the fan control signal of the motherboard of FIG. 3. FIG. 5 is a schematic flowchart of a second simulated rotation speed acquisition procedure of the test method of the fan control signal of the motherboard of FIG. 3.
10:主機板 10: motherboard
12:中央處理器 12: CPU
14:擴充卡插槽 14: expansion card slot
15:電接頭 15: Electric connector
16、18:接頭 16, 18: connector
17:傳輸線 17: Transmission line
20:電源供應器 20: Power supply
100:測試治具 100: test fixture
120:電壓指示器 120: voltage indicator
122:轉速指示器 122: speed indicator
130:電源模組 130: power module
140:模式設定開關 140: Mode setting switch
142、144、146:最大轉速設定開關 142, 144, 146: Maximum speed setting switch
150:處理器 150: processor
160:重啟按鈕 160: restart button
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147100A TWI687791B (en) | 2018-12-26 | 2018-12-26 | Testing method of fan control signal from main board and testing system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147100A TWI687791B (en) | 2018-12-26 | 2018-12-26 | Testing method of fan control signal from main board and testing system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI687791B true TWI687791B (en) | 2020-03-11 |
TW202024844A TW202024844A (en) | 2020-07-01 |
Family
ID=70767239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107147100A TWI687791B (en) | 2018-12-26 | 2018-12-26 | Testing method of fan control signal from main board and testing system thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI687791B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201039548A (en) * | 2009-04-28 | 2010-11-01 | Amtek Semiconductor Co Ltd | Control chip for driving a motor |
CN103695302A (en) * | 2007-07-13 | 2014-04-02 | 汉迪实验室公司 | Integrated apparatus for performing nucleic acid extraction and diagnostic testing on multiple biological samples |
TW201432438A (en) * | 2012-12-27 | 2014-08-16 | Hon Hai Prec Ind Co Ltd | Fan test fixture |
US20140369006A1 (en) * | 2010-09-17 | 2014-12-18 | Intervention Technology, Pty, Ltd | Power supply device and components thereof |
-
2018
- 2018-12-26 TW TW107147100A patent/TWI687791B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103695302A (en) * | 2007-07-13 | 2014-04-02 | 汉迪实验室公司 | Integrated apparatus for performing nucleic acid extraction and diagnostic testing on multiple biological samples |
TW201039548A (en) * | 2009-04-28 | 2010-11-01 | Amtek Semiconductor Co Ltd | Control chip for driving a motor |
US20140369006A1 (en) * | 2010-09-17 | 2014-12-18 | Intervention Technology, Pty, Ltd | Power supply device and components thereof |
TW201432438A (en) * | 2012-12-27 | 2014-08-16 | Hon Hai Prec Ind Co Ltd | Fan test fixture |
Also Published As
Publication number | Publication date |
---|---|
TW202024844A (en) | 2020-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7991584B2 (en) | System and method for testing a fan interface of a motherboard | |
CN100395720C (en) | Automated computer on-off operation testing device and method | |
TW201314438A (en) | System and method for testing fans | |
TW201222239A (en) | Testing method for a unit under test | |
TW201307688A (en) | Fan module detecting system | |
US20140188424A1 (en) | Fan test device | |
CN208140901U (en) | A kind of server power supply real time monitoring apparatus | |
CN109209962B (en) | Fan detection chip, fan detection method and fan detection system | |
TW201249136A (en) | Wake-up signal test system and test card thereof | |
TWI687791B (en) | Testing method of fan control signal from main board and testing system thereof | |
US8769178B2 (en) | Shock test device | |
CN114003100A (en) | Switching device of server fan connector and application method | |
CN112816850A (en) | Aging test system and method convenient for real-time monitoring and integrated circuit chip | |
CN115904849B (en) | PCIE link signal testing method, system, computer equipment and medium | |
CN108681497B (en) | CPCI bus testing device and method | |
CN109582571B (en) | Online debugging method and device, debugging slave computer, debugging host computer and system | |
CN111367251A (en) | Method and system for testing fan control signal of mainboard | |
CN215263870U (en) | Automatic testing arrangement of chip pin state | |
US20130096859A1 (en) | Resistance determining system | |
TWI718906B (en) | Fan test control system and methof | |
CN111221684B (en) | Detection method of server | |
CN113110962A (en) | Fan heat dissipation performance test method and test equipment | |
CN113760612B (en) | Server debugging method | |
CN108594105B (en) | Detection method for control circuit of main board indicator light | |
TW202018507A (en) | A host boot detection method and its system |