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 PDF

Info

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
Application number
TW107147100A
Other languages
Chinese (zh)
Other versions
TW202024844A (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 TW107147100A priority Critical patent/TWI687791B/en
Application granted granted Critical
Publication of TWI687791B publication Critical patent/TWI687791B/en
Publication of TW202024844A publication Critical patent/TW202024844A/en

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

A testing method of fan control signal from main board includes the following steps. A fan voltage and a PWM signal from a main board are obtained. A PWM duty is calculated according to the PWM signal. When the PWM duty is 100%, a first fan speed is calculated according to a first speed function. When the PWM duty is less than 100% and the fan voltage is greater than a predetermined voltage, a second fan speed is calculated according to a second speed function. When the fan voltage is less than the predetermined voltage, a third fan speed is calculated according to a third speed function. A corresponding first clock signal is transmitted to the main board according to the first, the second or the third fan speed. The first clock signal is determined by the main board if it is in the predetermined range.

Description

主機板的風扇控制訊號的測試方法及系統Method and system for testing fan control signal of motherboard

本發明是有關於一種測試方法及系統,且特別是有關於一種主機板的風扇控制訊號的測試方法及系統。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 test fixture 100. The test fixture 100 includes at least one fixture connector 110 and a processor 150 electrically connected to the fixture connector 110. The jig connector 110 is adapted to be electrically connected to the motherboard 10 (FIG. 2) to obtain a fan voltage and a pulse width modulation signal sent from the motherboard 10. In this embodiment, the test fixture 100 includes eight fixture connectors 110, which are electrically connected to the processor 150, and can simulate eight fans. Of course, the number of jig connectors 110 is not limited thereto.

在圖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 motherboard 10 may have eight connectors that can be connected to the fan. When the fan control signals transmitted by the eight connectors on the motherboard 10 are to be tested, the operation One can insert the connector 16 of each transmission line 17 to the connector on the motherboard 10, and insert the connector 18 of the transmission line 17 to the jig connector 110 of the test jig 100 (FIG. 1), so that the motherboard 10 It is electrically connected to the test fixture 100. In this way, the test fixture 100 can obtain the fan voltage and pulse width modulation signals from the motherboard 10.

主機板10具有一中央處理器12、電性連接於中央處理器12的一擴充卡插槽14及一電接頭15。在本實施例中,電源供應器20連接於主機板10的電接頭15與測試治具100的電源模組130,以對主機板10與測試治具100供電。The motherboard 10 has a central processing unit 12, an expansion card slot 14 electrically connected to the central processing unit 12, and an electrical connector 15. In this embodiment, the power supply 20 is connected to the electrical connector 15 of the motherboard 10 and the power module 130 of the test fixture 100 to supply power to the motherboard 10 and the test fixture 100.

在本實施例中,主機板的風扇控制訊號的測試系統透過測試治具100來模擬風扇的運作,處理器150會依據主機板10傳來的風扇電壓與脈衝寬度調變訊號來計算出對應的時脈訊號,並將時脈訊號傳回給主機板10,以供主機板10判斷其連接器所送出的風扇控制訊號是否正常。In this embodiment, the test system for the fan control signal of the motherboard uses the test fixture 100 to simulate the operation of the fan. The processor 150 will calculate the corresponding signal according to the fan voltage and pulse width modulation signal from the motherboard 10 The clock signal is transmitted back to the motherboard 10 for the motherboard 10 to determine whether the fan control signal sent by its connector is normal.

值得一提的是,在本實施例中,具有八個治具連接器110的測試治具100可模擬八個虛擬風扇,這些治具連接器110可以連接到同一個主機板10上的多個連接器,以判斷此主機板10上的多個風扇控制訊號是否正常。這些治具連接器110也可以連接到不同的主機板10,以判斷不同主機板10上的風扇控制訊號是否正常。It is worth mentioning that, in this embodiment, the test jig 100 with eight jig connectors 110 can simulate eight virtual fans, and these jig connectors 110 can be connected to multiple on the same motherboard 10 Connector to determine whether the fan control signals on the motherboard 10 are normal. These jig connectors 110 can also be connected to different motherboards 10 to determine whether the fan control signals on different motherboards 10 are normal.

要說明的是,由於主機板10上可連接八個風扇,若測試治具100模擬八個風扇同時啟動,對主機板10的負荷較大,而可能造成主機板10停止運作(shut down)。在本實施例中,測試治具100可具有模擬風扇分批啟動的電路或開關(未繪示),例如是可控制其中四個風扇先啟動,另外四個風扇後啟動,來降低主機板10的負荷。當然,分批啟動的形式不以此為限制。在其他實施例中,測試治具100也可以不具有模擬風扇分批啟動的電路或開關。It should be noted that since eight fans can be connected to the motherboard 10, if the test fixture 100 simulates that eight fans start at the same time, the load on the motherboard 10 is large, which may cause the motherboard 10 to shut down. In this embodiment, the test fixture 100 may have a circuit or a switch (not shown) that simulates the batch start of fans, for example, it can control four of the fans to start first, and the other four fans to start later to reduce the motherboard 10 The load. Of course, the form of batch start is not limited to this. In other embodiments, the test fixture 100 may not have a circuit or a switch that simulates batch starting of the fan.

另外,由於主機板10可能會連接到不同最大轉速的風扇,在習知的測試中,操作者需要將主機板10分別連接至不同最大轉速的風扇,並進行測試。在本實施例中,測試治具100更包括最大轉速設定開關,電性連接於處理器150。操作者可調整最大轉速設定開關來改變測試治具100所模擬的風扇的最大轉速。如此一來,操作者便不需要逐一地測試主機板10與不同的風扇之間的訊號。In addition, since the motherboard 10 may be connected to fans with different maximum rotation speeds, in a conventional test, an operator needs to connect the motherboard 10 to fans with different maximum rotation speeds and perform the test. In this embodiment, the test fixture 100 further includes a maximum speed setting switch, which is electrically connected to the processor 150. The operator can adjust the maximum speed setting switch to change the maximum speed of the fan simulated by the test fixture 100. In this way, the operator does not need to test the signals between the motherboard 10 and different fans one by one.

詳細地說,在本實施例中,最大轉速設定開關包括開關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 switches 142, 144, and 146. The operator can adjust the switches 142, 144, and 146 to set the preset maximum speed by using, for example, Table 1 below. For example, when the operator wants to test a fan with a maximum speed of 2000 rpm, as long as the switches 142, 144, and 146 (for example, the levers 143, 145, and 147) are all turned on, the test fixture 100 is represented. It will be simulated as a fan with a maximum speed of 2000rpm. The processor 150 calculates the corresponding clock signal according to the preset maximum speed.

表一:

Figure 107147100-A0305-0001
Table I:
Figure 107147100-A0305-0001

當然,最大轉速設定開關的形式、數量、最大轉速的設定方式並不以此為限制。此外,在其他實施例中,測試治具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 test fixture 100 may also have more than one set of maximum speed setting switches, and the fans with multiple maximum speeds can be simulated to operate simultaneously.

此外,目前市面上的風扇分為兩種形式,一種是舊款的風扇,其具有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 motherboards 10 only support fans with 4 transmission pins, and some motherboards 10 will support fans with 4 transmission pins and fans with 3 transmission pins.

為了讓測試治具100可以應用於上述形式的主機板10,在本實施例中,測試治具100更包括一模式設定開關140,電性連接於處理器150。在本實施例中,模式設定開關140的撥桿141調整到開(on)的位置代表自動模式,處理器150會判斷主機板10傳遞三針腳訊號或是四針腳訊號給測試治具100,並依此計算出對應的時脈訊號。當模式設定開關140的撥桿141調整到關(off)的位置則代表四針腳模式,處理器150會直接判斷主機板10傳遞四針腳訊號給測試治具100,而依此計算出對應的時脈訊號。當然,在其他實施例中,測試治具100可直接預設為自動模式,而不需模式設定開關140。In order to allow the test fixture 100 to be applied to the above-mentioned motherboard 10, in this embodiment, the test fixture 100 further includes a mode setting switch 140, which is electrically connected to the processor 150. In this embodiment, the lever 141 of the mode setting switch 140 is adjusted to the on position to represent the automatic mode. The processor 150 determines whether the motherboard 10 transmits a three-pin signal or a four-pin signal to the test fixture 100, and Calculate the corresponding clock signal accordingly. When the lever 141 of the mode setting switch 140 is adjusted to the off position, it represents the four-pin mode. The processor 150 directly determines that the motherboard 10 transmits the four-pin signal to the test fixture 100, and calculates the corresponding time accordingly. Pulse signal. Of course, in other embodiments, the test fixture 100 can be directly preset to the automatic mode without the mode setting switch 140.

下面將介紹主機板的風扇控制訊號的測試系統是如何運作。圖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 step 202, when the motherboard 10 transmits the fan control signals to the eight virtual fans to the test fixture 100, the motherboard 10 will divide the time according to the settings on the test fixture 100. The eight virtual fans are activated, that is to say, the motherboard 10 will transmit the fan control signals of the eight virtual fans to the test fixture 100 in batches. For example, the fan control signal is first transmitted to four fixture connectors 110, and then the fan control signal is transmitted to the remaining four fixture connectors 110.

接著,如步驟203,處理器150會讀取最大轉速設定開關的資訊來得知目前所模擬的風扇的最大轉速。以及,如步驟205,處理器150會讀取主機板10所傳出的風扇電壓與脈衝寬度調變訊號。接著,如步驟206,處理器150依據脈衝寬度調變訊號計算出一脈衝寬度調變佔空比。再來,如步驟206,處理器150會確認模式設定開關140上的設定以判斷要用哪一種模式來計算風扇轉速。Then, in step 203, the processor 150 reads the information of the maximum speed setting switch to know the maximum speed of the fan currently simulated. And, as in step 205, the processor 150 reads the fan voltage and pulse width modulation signal from the motherboard 10. Then, in step 206, the processor 150 calculates a pulse width modulation duty cycle according to the pulse width modulation signal. Next, in step 206, the processor 150 confirms the setting on the mode setting switch 140 to determine which mode to use to calculate the fan speed.

更明確地說,處理器150依據模式設定開關140來判斷要執行自動模式(自動判斷主機板10傳遞三針腳訊號或是四針腳訊號給測試治具100)或是四針腳模式(直接判定主機板10是傳遞四針腳訊號給測試治具100)。在本實施例中,處理器150若要依據自動模式規則來計算風扇轉速,處理器150會執行第一模擬轉速取得程序。處理器150若要依據四針腳模式規則來計算風扇轉速,處理器150會執行第二模擬轉速取得程序。More specifically, the processor 150 determines whether to execute the automatic mode (automatically determine that the motherboard 10 transmits the three-pin signal or the four-pin signal to the test fixture 100) or the four-pin mode (directly determine the motherboard according to the mode setting switch 140) 10 is to transmit the four-pin signal to the test fixture 100). In this embodiment, if the processor 150 is to calculate the fan speed according to the automatic mode rule, the processor 150 will execute the first simulated speed acquisition procedure. If the processor 150 is to calculate the fan speed according to the four-pin mode rule, the processor 150 will execute a second simulated speed acquisition procedure.

圖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 speed acquisition process 210 includes the following steps. First, it is determined whether the duty cycle of the pulse width modulation is 100% (step 211), wherein when the duty cycle of the pulse width modulation is 100%, a first fan speed is calculated according to a first speed formula.

由於三針腳訊號與四針腳訊號的差異是在於,四針腳訊號比三針腳訊號多了一個針腳用來傳遞脈衝寬度調變訊號。也就是說,三針腳訊號並不傳遞脈衝寬度調變訊號。在傳輸三針腳訊號時,脈衝寬度調變訊號會被判斷成保持高邏輯準位(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 motherboard 10 to the test fixture 100. Another possibility is that the motherboard 10 transmits the four-pin signal to the test fixture 100, and the transmitted pulse width modulation signal is converted into a pulse width modulation duty cycle of 100% (full load).

也就是說,在本實施例中,當執行第一模擬轉速取得程序時,依據脈衝寬度調變佔空比來判斷主機板傳遞一三針腳訊號或一四針腳訊號。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 step 212, the processor 150 calculates the virtual fan speed according to the first speed formula. The first speed formula is the first fan speed = (fan voltage/12V) x (maximum speed-basic speed) + basic speed, where the fan voltage is the voltage that the motherboard 10 passes to the test fixture 100, and the maximum speed is the test fixture The setting value of the maximum speed setting switch on 100, the basic speed may be a preset value, for example, 1000 rpm, but not limited to this.

接著,當脈衝寬度調變佔空比不為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 motherboard 10 is still within the normal range. At this time, the processor 150 can calculate a second fan speed according to a second speed formula . In this embodiment, the second speed formula is the second fan speed = (pulse width modulation duty cycle/100) x (maximum speed-base speed) + base speed (step 214).

當風扇電壓不大於電壓預設值時,代表主機板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 motherboard 10 is not within the normal range, which means abnormality. At this time, the processor 150 obtains a third fan speed. In this embodiment, the third fan speed is 0 (step 215).

接著,請回到圖3,如步驟230所示,依風扇轉速輸出對應的時脈訊號。在本實施例中,在執行第一模擬轉速取得程序之後,處理器150根據所得到的第一風扇轉速、第二風扇轉速或第三風扇轉速,輸出對應的一第一時脈訊號至主機板10。主機板10則由所接受到的第一時脈訊號去判斷測試治具100所回傳的第一時脈訊號是否略入一預設範圍,若是,代表第一時脈訊號為正常,而可推斷出主機板10所送出的風扇控制訊號為正常。若否,代表第一時脈訊號為異常,而可推斷出主機板10所送出的風扇控制訊號為異常。Next, please return to FIG. 3, as shown in step 230, the corresponding clock signal is output according to the fan speed. In this embodiment, after executing the first simulated speed acquisition procedure, the processor 150 outputs a corresponding first clock signal to the motherboard according to the obtained first fan speed, second fan speed or third fan speed 10. The motherboard 10 judges whether the first clock signal returned by the test fixture 100 is slightly within a preset range from the received first clock signal. If it is, it means that the first clock signal is normal, and It is concluded that the fan control signal sent by the motherboard 10 is normal. If not, it means that the first clock signal is abnormal, and it can be concluded that the fan control signal sent by the motherboard 10 is abnormal.

另一方面,處理器150若要依據四針腳模式規則來計算風扇轉速,處理器150會執行第二模擬轉速取得程序。圖5是圖3的主機板的風扇控制訊號的測試方法的第二模擬轉速取得程序的流程示意圖。請參閱圖5,第二模擬轉速取得程序220包括下列步驟。判斷風扇電壓是否大於電壓預設值,在本實施例中,電壓預設值例如是10V(步驟221),但不以此為限制。On the other hand, if the processor 150 is to calculate the fan speed according to the four-pin mode rule, the processor 150 will execute the second simulated speed acquisition procedure. FIG. 5 is a schematic flowchart of a second simulated rotation speed acquisition procedure of the method for testing the fan control signal of the motherboard of FIG. Please refer to FIG. 5, the second simulated speed obtaining procedure 220 includes the following steps. Determine whether the fan voltage is greater than the voltage preset value. In this embodiment, the voltage preset value is, for example, 10V (step 221), but it is not limited thereto.

當風扇電壓大於電壓預設值時,代表主機板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 motherboard 10 is still within the normal range. At this time, the processor 150 can calculate a fourth fan speed according to the second speed formula. In this embodiment, the second speed formula is the speed of the second fan = (pulse width modulation duty cycle/100) x (maximum speed-basic speed) + basic speed (step 222), where the maximum speed is the test fixture The setting value of the maximum speed setting switch on 100, the basic speed may be a preset value, for example, 1000 rpm, but not limited to this.

當風扇電壓不大於電壓預設值時,代表主機板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 motherboard 10 is in an abnormal range, and the processor 150 can obtain the third fan speed. In this embodiment, the third fan speed is 0 (step 223).

在本實施例中,由於模式設定開關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 lever 141 of the mode setting switch 140 is adjusted to the off position, the processor 150 will calculate the fan speed according to the four-pin mode rule. At this time, the processor 150 already knows the motherboard 10 The test fixture 100 is judged as a fan with 4 transmission pins. Therefore, the processor 150 does not need to distinguish whether the motherboard 10 transmits a three-pin signal or a four-pin signal. Therefore, when the processor 150 executes the second simulated rotation speed acquisition program, step 211 is omitted. In this embodiment, step 222 of FIG. 5 is the same as step 214 of FIG. 4, and step 223 of FIG. 5 is the same as step 215 of FIG. 4, but it is not limited thereto.

接著,在執行第二模擬轉速取得程序之後,處理器150根據所得到的第三風扇轉速或第四風扇轉速,輸出對應的一第二時脈訊號至主機板10。同樣地,主機板10則由所接受到的第二時脈訊號去判斷測試治具100所回傳的第二時脈訊號是否略入一預設範圍,若是,代表第二時脈訊號為正常,而可推斷出主機板10所送出的風扇控制訊號正常。若否,則為主機板10所送出的風扇控制訊號異常。Then, after executing the second simulated rotation speed acquisition program, the processor 150 outputs a corresponding second clock signal to the motherboard 10 according to the obtained third fan rotation speed or fourth fan rotation speed. Similarly, the motherboard 10 uses the received second clock signal to determine whether the second clock signal returned by the test fixture 100 is slightly within a preset range. If it is, it means that the second clock signal is normal , And it can be concluded that the fan control signal sent by the motherboard 10 is normal. If not, the fan control signal sent by the motherboard 10 is abnormal.

請回到圖2,在本實施例中,測試治具100更包括一電壓指示器120,電性連接於處理器150。電壓指示器120適於依據主機板10所發出的風扇電壓指示出一信號。也就是說,操作者可從測試治具100上的電壓指示器120得到主機板10所傳出的風扇電壓的資訊。舉例來說,在本實施例中,電壓指示器120可以是發光二極體,可以隨著主機板10所送入的風扇電壓越高而越亮,以供操作者判斷主機板10所送入的風扇電壓是否正常。當然,在其他實施例中,電壓指示器120也可以是一螢幕或是一數字錶,藉由顯示風扇電壓的數值來指示出信號。或者,電壓指示器120也可以透過聲音的方式呈現,藉由發出不同的聲音或頻率來供操作者判斷主機板10所送入的風扇電壓是否正常。Please return to FIG. 2. In this embodiment, the test fixture 100 further includes a voltage indicator 120 electrically connected to the processor 150. The voltage indicator 120 is adapted to indicate a signal according to the fan voltage sent by the motherboard 10. In other words, the operator can obtain the fan voltage information transmitted from the motherboard 10 from the voltage indicator 120 on the test fixture 100. For example, in this embodiment, the voltage indicator 120 may be a light emitting diode, which may be brighter as the fan voltage sent by the motherboard 10 is higher, so that the operator can judge that the motherboard 10 is fed. Is the fan voltage normal? Of course, in other embodiments, the voltage indicator 120 may also be a screen or a digital meter, which indicates the signal by displaying the value of the fan voltage. Alternatively, the voltage indicator 120 can also be presented by sound, and by emitting different sounds or frequencies, the operator can determine whether the fan voltage sent by the motherboard 10 is normal.

此外,在本實施例中,測試治具100更包括一轉速指示器122,轉速指示器122電性連接於處理器150。轉速指示器122適於依據第一時脈訊號指示出一信號。也就是說,操作者可從測試治具100上的轉速指示器122得到測試治具100要傳回主機板10的時脈訊號的資訊。舉例來說,在本實施例中,轉速指示器122可以是另一個顏色的發光二極體,可以隨著測試治具100要傳回主機板10的時脈訊號越大而越閃爍越快,以供操作者判斷測試治具100要傳回主機板10的時脈訊號是否位在正常範圍內。當然,在其他實施例中,轉速指示器122也可以是一螢幕或是一數字錶,藉由顯示時脈訊號的數值來指示出信號。或者,轉速指示器122也可以透過聲音的方式呈現,藉由發出不同的聲音或頻率來供操作者判斷測試治具100要傳回主機板10的時脈訊號是否正常。In addition, in this embodiment, the test fixture 100 further includes a rotation speed indicator 122, and the rotation speed indicator 122 is electrically connected to the processor 150. The speed indicator 122 is adapted to indicate a signal according to the first clock signal. In other words, the operator can obtain the information of the clock signal that the test jig 100 is to return to the motherboard 10 from the speed indicator 122 on the test jig 100. For example, in this embodiment, the speed indicator 122 may be a light-emitting diode of another color, which may flash faster as the clock signal of the test fixture 100 is returned to the motherboard 10. It is for the operator to determine whether the clock signal to be returned by the test fixture 100 to the motherboard 10 is within the normal range. Of course, in other embodiments, the speed indicator 122 may also be a screen or a digital watch, which indicates the signal by displaying the value of the clock signal. Alternatively, the rotation speed indicator 122 can also be presented by sound, and by emitting different sounds or frequencies, the operator can determine whether the clock signal to be returned by the test fixture 100 to the motherboard 10 is normal.

在本實施例中,每一個治具連接器110旁配置有對應的電壓指示器120及轉速指示器122,這樣可以方便操作者判斷經由此治具連接器110所傳輸的風扇控制訊號是否正常。也就是說,在本實施例中,測試治具100可以包括八個電壓指示器120及八個轉速指示器122,分別配置在八個治具連接器110旁。當然,電壓指示器120及轉速指示器122的數量與位置不以此為限制。In this embodiment, each fixture connector 110 is provided with a corresponding voltage indicator 120 and speed indicator 122, which can facilitate the operator to determine whether the fan control signal transmitted through the fixture connector 110 is normal. In other words, in this embodiment, the test fixture 100 may include eight voltage indicators 120 and eight rotation speed indicators 122, which are respectively disposed beside the eight fixture connectors 110. Of course, the number and position of the voltage indicator 120 and the speed indicator 122 are not limited thereto.

要說明的是,一般來說,當主機板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 motherboard 10, if the motherboard 10 is connected to a physical fan, it is difficult to determine whether there is a problem with the fan voltage or pulse width modulation, which is not easy Debug. In this embodiment, the operator can determine whether the fan voltage is normal by the voltage indicator 120, and whether the clock signal is normal by the speed indicator 122, to infer whether the pulse width modulation is normal, and it is easier to debug. In addition, in this embodiment, the test fixture 100 further includes a restart button 160 to facilitate the operator to restart the test fixture 100.

本實施例的測試治具100設計為風扇模擬器,可以模擬實體風扇從接收由主機板10傳來的風扇電壓與脈衝寬度調變(PWM)資訊,到輸出對應轉速的時脈訊號(Clock)的程序,以取代實體風扇使用於電腦主機板10或網通主機板10的風扇測試。實體風扇在運作時會有噪音及易損壞的問題,而測試治具100只有電訊號不會有如實體風扇的在機構運作上的噪音與損壞。因此,使用本實施例的測試治具100來進行主機板的風扇控制訊號的測試可以減少節省測試時間與成本。The test fixture 100 of this embodiment is designed as a fan simulator, which can simulate a physical fan from receiving the fan voltage and pulse width modulation (PWM) information transmitted from the motherboard 10 to outputting a clock signal (Clock) corresponding to the speed To replace the physical fan used in the computer motherboard 10 or Netcom motherboard 10 fan test. The physical fan will have problems of noise and easy damage during operation, and the test fixture 100 only has electrical signals and will not have the noise and damage of the physical fan in the operation of the organization. Therefore, using the test fixture 100 of this embodiment to test the fan control signal of the motherboard can reduce test time and cost.

在本實施例中,測試治具100可模擬三針腳(Pin)風扇與四針腳風扇,而可支援不同形式的主機板10。此外,測試治具100可模擬多組風扇訊號,且測試治具100可藉由最大轉速設定開關來設定多種轉速模式,而可簡化測試。此外,相較於實體風扇的耗能程度,本實施例的測試治具100在風扇電壓為12V時,電流抽載約為0.8A,運作功率約為9.6W,而相當節省能源。In this embodiment, the test fixture 100 can simulate a three-pin (Pin) fan and a four-pin fan, and can support different forms of the motherboard 10. In addition, the test fixture 100 can simulate multiple sets of fan signals, and the test fixture 100 can set various speed modes by the maximum speed setting switch, which can simplify the test. In addition, compared to the energy consumption of the physical fan, the test fixture 100 of this embodiment has a current draw of about 0.8A and an operating power of about 9.6W when the fan voltage is 12V, which is quite energy-saving.

綜上所述,本發明的主機板的風扇控制訊號的測試方法與測試系統利用判斷脈衝寬度調變佔空比是否為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)

一種主機板的風扇控制訊號的測試方法,包括:讀取從一主機板所發出的一風扇電壓與一脈衝寬度調變訊號;依據該脈衝寬度調變訊號計算出一脈衝寬度調變佔空比;執行一第一模擬轉速取得程序,包括:判斷該脈衝寬度調變佔空比是否為100%,其中當該脈衝寬度調變佔空比為100%時,依據一第一轉速公式計算出一第一風扇轉速,該第一轉速公式為該第一風扇轉速=(該風扇電壓/12V)x(一最大轉速-一基礎轉速)+該基礎轉速;當該脈衝寬度調變佔空比不為100%時,判斷該風扇電壓是否大於一電壓預設值,當該風扇電壓大於該電壓預設值時,依據一第二轉速公式計算出一第二風扇轉速,該第二轉速公式為該第二風扇轉速=(該脈衝寬度調變佔空比/100)x(該最大轉速-該基礎轉速)+該基礎轉速;以及當該風扇電壓不大於該電壓預設值時,得到一第三風扇轉速;在執行該第一模擬轉速取得程序之後,根據所得到的該第一風扇轉速、該第二風扇轉速或該第三風扇轉速,輸出對應的一第一時脈訊號至該主機板;以及該主機板判斷該第一時脈訊號是否落入一預設範圍內。 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; calculating a pulse width modulation duty cycle according to the pulse width modulation signal Executing a first simulated speed acquisition procedure, including: judging whether the pulse width modulation duty cycle is 100%, wherein when the pulse width modulation duty cycle is 100%, according to a first speed formula to calculate a The first fan speed, the first speed formula is the first fan speed = (the fan voltage/12V) x (a maximum speed-a base speed) + the base speed; when the pulse width modulation duty cycle is not At 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, the second speed formula is the first Two fan speed = (the pulse width modulation duty cycle/100) x (the maximum speed-the base speed) + the base speed; and when the fan voltage is not greater than the voltage preset value, a third fan is obtained Rotation speed; after executing the first simulated rotation speed acquisition procedure, according to the obtained first fan rotation speed, the second fan rotation speed or the third fan rotation speed, output a corresponding first clock signal to the motherboard; and The motherboard determines whether the first clock signal falls within a preset range. 如申請專利範圍第1項所述的主機板的風扇控制訊號的測試方法,其中當執行該第一模擬轉速取得程序時,依據該脈衝寬度調變佔空比來判斷該主機板傳遞一三針腳訊號或一四針腳訊號。 The method for testing the fan control signal of the motherboard as described in item 1 of the patent scope, wherein when the first analog speed acquisition procedure is executed, the duty cycle of the pulse width modulation is used to determine that the motherboard passes a three-pin Signal or a four-pin signal. 如申請專利範圍第1項所述的主機板的風扇控制訊號的測試方法,其中該第三風扇轉速為0。 The method for testing the fan control signal of the motherboard as described in item 1 of the patent scope, wherein the third fan speed is 0. 如申請專利範圍第1項所述的主機板的風扇控制訊號的測試方法,其中在讀取該風扇電壓之後,一處理器根據一模式設定開關可選擇地執行該第一模擬轉速取得程序或是一第二模擬轉速取得程序,該第二模擬轉速取得程序包括:判斷該風扇電壓是否大於該電壓預設值,當該風扇電壓大於該電壓預設值時,依據該第二轉速公式計算出一第四風扇轉速;以及當該風扇電壓不大於該電壓預設值時,得到該第三風扇轉速;在執行該第二模擬轉速取得程序之後,根據所得到的該第三風扇轉速或該第四風扇轉速,輸出對應的一第二時脈訊號至該主機板;以及該主機板判斷該第二時脈訊號是否落入該預設範圍內。 The method for testing the fan control signal of the motherboard as described in item 1 of the patent application scope, wherein after reading the fan voltage, a processor can selectively execute the first simulated speed acquisition procedure according to a mode setting switch or A second simulated speed acquisition procedure, the second simulated speed acquisition procedure includes: determining whether the fan voltage is greater than the voltage preset value, and when the fan voltage is greater than the voltage preset value, calculating a according to the second speed formula The fourth fan speed; and when the fan voltage is not greater than the voltage preset value, the third fan speed is obtained; after performing the second simulated speed acquisition procedure, according to the obtained third fan speed or the fourth The speed of the fan outputs a corresponding second clock signal to the motherboard; and the motherboard determines whether the second clock signal falls within the preset range. 一種主機板的風扇控制訊號的測試系統,適於測試一主機板,該主機板的風扇控制訊號的測試系統包括:一測試治具,包括: 一治具連接器,適於電性連接於該主機板,以取得從該主機板所發出的一風扇電壓與一脈衝寬度調變訊號;一處理器,電性連接於該治具連接器,該處理器適於依據該脈衝寬度調變訊號計算出一脈衝寬度調變佔空比,其中該處理器適於執行一第一模擬轉速取得程序,該第一模擬轉速取得程序包括:判斷該脈衝寬度調變佔空比是否為100%,其中當該脈衝寬度調變佔空比為100%時,依據一第一轉速公式計算出一第一風扇轉速,當該脈衝寬度調變佔空比不為100%時,判斷該風扇電壓是否大於一電壓預設值,當該風扇電壓大於該電壓預設值時,依據一第二轉速公式計算出一第二風扇轉速,當該風扇電壓不大於該電壓預設值時,得到一第三風扇轉速;以及一最大轉速設定開關,電性連接於該處理器,而提供所預設的一最大轉速至該處理器,該第一轉速公式為該第一風扇轉速=(該風扇電壓/12V)x(該最大轉速-一基礎轉速)+該基礎轉速,且該第二轉速公式為該第二風扇轉速=(該脈衝寬度調變佔空比/100)x(該最大轉速-該基礎轉速)+該基礎轉速,在執行該第一模擬轉速取得程序之後,該處理器根據所得到的該第一風扇轉速、該第二風扇轉速或該第三風扇轉速,輸出對應的一第一時脈訊號至該主機板。 A test system for a fan control signal of a motherboard is suitable for testing a motherboard. The test system for a fan control signal of the motherboard includes: a test fixture, including: A jig connector suitable for being electrically connected to the motherboard to obtain a fan voltage and a pulse width modulation signal sent from the motherboard; a processor 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, wherein the processor is adapted to execute a first simulated speed acquisition procedure, the first simulated speed acquisition procedure includes: determining the pulse Whether the width modulation duty cycle is 100%, where when the pulse width modulation duty cycle is 100%, a first fan speed is calculated according to a first speed formula, when the pulse width modulation duty cycle is not When it is 100%, it is judged 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 voltage is not greater than the When the voltage is preset, a third fan speed is obtained; and a maximum speed setting switch is electrically connected to the processor to provide a preset maximum speed to the processor, the first speed formula is the first A fan speed = (the fan voltage/12V) x (the maximum speed-a base speed) + the base speed, and the second speed formula is the second fan speed = (the pulse width modulation duty cycle/100 ) x (the maximum speed-the base speed) + the base speed, after executing the first simulated speed acquisition program, the processor according to the obtained first fan speed, the second fan speed or the third fan Speed, output a corresponding first clock signal to the motherboard. 如申請專利範圍第5項所述的主機板的風扇控制訊號的測試系統,該測試治具更包括:一模式設定開關,電性連接於該處理器,該處理器根據該模式設定開關來選擇要執行該第一模擬轉速取得程序或一第二模擬轉速取得程序,該第二模擬轉速取得程序包括判斷該風扇電壓是否大於該電壓預設值,當該風扇電壓大於該電壓預設值時,依據該第二轉速公式計算出一第四風扇轉速,當該風扇電壓不大於該電壓預設值時,得到該第三風扇轉速,在執行該第二模擬轉速取得程序之後,該處理器根據所得到的該第三風扇轉速或該第四風扇轉速,輸出對應的一第二時脈訊號至該主機板。 The test system for the fan control signal of the motherboard as described in item 5 of the patent scope, the test fixture further includes: a mode setting switch, electrically connected to the processor, and the processor selects according to the mode setting switch To execute the first simulated speed obtaining procedure or a second simulated speed obtaining procedure, the second simulated speed obtaining procedure includes determining whether the fan voltage is greater than the voltage preset value, and 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 preset value, the third fan speed is obtained. After executing the second simulated speed acquisition procedure, the processor The obtained third fan speed or the fourth fan speed outputs a corresponding second clock signal to the motherboard. 如申請專利範圍第5項所述的主機板的風扇控制訊號的測試系統,該測試治具更包括:一電壓指示器,電性連接於該處理器,適於依據該主機板所發出的該風扇電壓指示出一信號。 The test system for the fan control signal of the motherboard as described in item 5 of the patent application scope, the test fixture further includes: a voltage indicator, electrically connected to the processor, and adapted to be based on the The fan voltage indicates a signal. 如申請專利範圍第5項所述的主機板的風扇控制訊號的測試系統,該測試治具更包括:一轉速指示器,電性連接於該處理器,適於依據該第一時脈訊號指示出一信號。 The test system for the fan control signal of the motherboard as described in item 5 of the patent scope, the test fixture further includes: a speed indicator, electrically connected to the processor, suitable for indicating according to the first clock signal There is a signal.
TW107147100A 2018-12-26 2018-12-26 Testing method of fan control signal from main board and testing system thereof TWI687791B (en)

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)

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

Patent Citations (4)

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