TWI285740B - System and method for testing rotation speed of fans - Google Patents

System and method for testing rotation speed of fans Download PDF

Info

Publication number
TWI285740B
TWI285740B TW95126703A TW95126703A TWI285740B TW I285740 B TWI285740 B TW I285740B TW 95126703 A TW95126703 A TW 95126703A TW 95126703 A TW95126703 A TW 95126703A TW I285740 B TWI285740 B TW I285740B
Authority
TW
Taiwan
Prior art keywords
fan
test
speed
wave
host
Prior art date
Application number
TW95126703A
Other languages
Chinese (zh)
Other versions
TW200806990A (en
Inventor
Teng-Tsung Huang
Guo-Jun Yu
Jun Lan
Feng Long
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW95126703A priority Critical patent/TWI285740B/en
Application granted granted Critical
Publication of TWI285740B publication Critical patent/TWI285740B/en
Publication of TW200806990A publication Critical patent/TW200806990A/en

Links

Abstract

The present invention provides a system and method for testing rotation speed of fans. The method includes the following steps: a computer calling out material number parameters of fans to be tested, and initializing a test point variable to zero; the computer transmitting a frequency of pulse width modulation (PWM) wave and a duty cycle to a field programmable gate array (FPGA), then the FPGA generating a high frequency PWM wave; the computer judging whether arriving a test time according to a test time parameter; the FPGA collecting a rotation speed feedback signal of the fan on test by a fan interface board when the test time comes to an end, and transmitting the feedback signal to a data collection board; the data collection board converting the feedback signal into a digital signal and transmitting the digital signal to the computer; the computer calculating an actual rotation speed of the fan on test according to the digital signal, and judging whether the actual rotation speed within an error range according to a reference rotation speed corresponding to the duty cycle. The invention improves the accuracy of the test and reduces test costs.

Description

1285740 -九、發明說明: 【發明所屬之技術領域】 本發明涉及一種風扇轉速測試系統及方法,尤其涉及 一種基於現場可編程閘陣列的風扇轉速測試系統及方法。 【先前技術】 PWM的全稱是Pulse width M〇dulati〇n (脈波寬度調 變),其把變流器的輸出電壓斬波成爲脉衝,透過改變脉 衝的寬度、數量或者分布規則,以改變輸出電壓的數值和 頻率的控制方法。因PWM風扇有節能等諸多優點,而成 爲Pc系統散熱領域的新寵。 任,循環(Duty Cycle)是指高電平在一個週期之内 所占的時間比率’任務循環越大,電賴料間就越長。 PWM風相轉速隨著任務循環的大小成比例的增大,達 到風扇轉速控制的目的。 仁由於其爲新産品,利用原來的檢測方式,用信號發 的3生所需要的頻率、任務循環(需用示波器债測) 檢鯓波,再用轉速計測試風扇的轉速的檢測方式。該 =方式所需設備衆多,占用空間比較大,並且測試相當 ’所需人員專業素f也必須較高,@此 線大量產品的流水線作業。 生$外,原來的檢測方式都是透過微控制器控制信號發 用^生,合要求的PWM波提供給風扇做轉速控制之 ^樣相的PWM波頻率不够高,會影響到測試結果 1285740 【發明内容】 鑒於以上内容,有必要提供一種風扇轉速測試系統, 其可利用現場可編程閘陣列産生高頻率的PWM波,提高 測試準確性,降低測試成本。 鑒於以上内容,還有必要提供一種風扇轉速測試方 法,其可利用現場可編程閘陣列産生高頻率的PWM波, 提高測試準確性,降低測試成本。 一種風扇轉速測試系統,包括風扇接口板,所述風扇 接口板連接有待檢測的脈波寬度調變風扇。該風扇轉速測 試系統還包括主機、資料獲取卡及現場可編程閘陣列,所 述主機於測試開始時調出儲存於其中的風扇料號參數,所 述風扇料號參數包括測試點數、脈波寬度調變波的頻率、 任務循環、各任務循環對應的風扇參考轉速及測試時間, 初始化所述測試點數的變數並傳送所述的脈波寬度調變波 的頻率和任務循環給所述現場可編程閘陣列; 所述現場可編程閘陣列根據所述脈波寬度調變波的 頻率和任務循環産生高頻率的脈波寬度調變波,對待檢測 的脈波寬度調變風扇進行轉速控制; 所述資料獲取卡根據所述測試時間向所述現場可編 程閘陣列傳送採集資訊,由現場可編程閘陣列透過風扇接 口板採集待檢測的脈波寬度調變風扇的轉速回饋信號,傳 送給資料獲取卡,資料獲取卡將該轉速回饋信號轉換成數 位信號傳送給主機; 所述主機根據所述數位信號計算出該脈波寬度調變 1285740 風扇的實際轉速並根據所述任務循環對應的風扇參考轉速 判斷風扇實際轉速是否在誤差範圍之内。 一種風扇轉速測試方法’包括如下步驟:主機調出儲 存於其中的風扇料號參數,所述風扇料號參數包括測試點 數、脈波寬度調變波的頻率、任務循環、各任務循環對應 的風扇參考轉速及測試時間,並初始化測試點數的變數爲 零;主機傳送一脈波寬度調變波的頻率和任務循環給現場 可編程閘陣列,使現場可編程閘陣列產生高頻率的脈波寬 度調變波控制與風扇接口板連接的待檢測的脈波寬度調變 風扇的轉速,主機根據所述測3式時間參數判斷是否到達測 試時間;當到達測試時間時,主機透過資料獲取卡傳送一 採集資訊給現場可編程閘陣列,由現場可編程閘陣列透過 風扇接口板採集待檢測的脈波寬度調變風扇的轉速回饋信 唬,並傳送給資料獲取卡;資料獲取卡收到所述轉速回饋 信號後,將該轉速回饋信號轉換成數位信號並傳給主機; 主機根據該數位信號計算出該脈波寬度調變風扇的實際轉 速並根據所述任務循環對應的風扇參考轉速判斷風扇實際 轉速是否在誤差範圍之内。 相杈於習知技術,所述的風扇轉速測試系統及方法, 利用現場可編程閘陣列産生高頻率的PWM波,提高了測 試的準確性,降低了測試成本,更適合生產線大量産品的 流水線作業。 [實施方式】 參閱圖1所不,係本發明風扇轉速測試系統較佳實施 1285740 ^ 例的硬體架構圖。該系統主要包括顯示設備10、主機2〇 貧料獲取卡30、現場可編程閘陣列40及風扇接〇板5〇 所述風扇接口板50提供4個通道的風扇接口,用於將待柃 測的PWM風扇60跟現場可編程閘陣列40連接起來,取 過轉速回饋線70將採集到的待檢測PWm風扇6〇的轉^ 回饋信號傳給現場可編程閘陣列4〇。其中,主機2〇負主 運行系統的應用程式,對各個設備進行控制調配,該主貝 _ 20中存儲有多個常用PWM風扇的料號參數,所述風屬料 號參數包括:測試點數、PWM波的頻率、任務循環、各 任務循環對應的風扇參考轉速及測試時間等。該主機如 於測試開始時調出儲存於其中的風扇料號參數,初始化所 述測試點數的變數並透過RS232串列傳輸埠(也可以是其 他串列或平行傳輸埠)傳送所述的PWM波的頻率和任務 循環給所述現場可編程閘陣列40。 所述現場可編程閘陣列40用於根據主機20傳送過來 φ 的PWM波的頻率和任務循環產生高頻率的pwm波對待 檢測的PWM風扇60進行轉速控制。 所述資料獲取卡30用於根據所述測試時間向所述現 場可編程閘陣列40傳送採集資訊,由現場可編程閘陣列 40透過風扇接口板50採集待檢測的PWM風扇60的轉速 回饋信號’傳送給資料獲取卡30,資料獲取卡30將該轉 速回饋信號轉換成數位信號傳送給主機20。 所述主機20對該數位信號進行數位濾波處理,然後 根據該數位信號計算出該待檢測的PWM風扇60的實際轉 1285740 .速2=風扇料號參教、該待檢測的pwm 斷該待檢鄉的圈風扇-的 完畢等。 之内判斷所有測試點是否測試 所述顯示設備10用於 測試結果,如轉速值、頻率值不=過程中的參數資訊及 報警資訊等。 任務循環、測試時間以及 參閱圖2所示,係圖]一 主機20包括系統初始化模組二:圖。所述 速計算模組2〇3及判斷模衾且綱。交歧2〇2,轉 測二 的料號參數並初始化測試點數的變數^ =PWM風扇60 轉速計算模組203用於 的待檢測的應風扇60的轉速回饋數位㈣节= 信號進行數位渡波處理,計算該數位信號的頻率再^一 個轉速因數就得到該待檢測的p W Μ風扇6 G的實際轉 判斷模組204用於根據風扇料號參數 τ、 顺風扇60的實際轉速和測試點數的變數,判二= 測试時間,判斷該待檢測的p丽風扇6〇的實 在誤差範圍之内及判斷所有測試點是否測試完:等。、疋 參數變更模組搬用於從-個測試點切ς到下^ 試點時變更PWM波的頻率、任務循環和該任務循鹿 的風扇參考轉速。 Μ 11 1285740 如下所述,县诗、Η 乂 轉速測試的步驟 述風扇轉速測試純,實施風扇 當測試人。 士 、,+ 貝要對一個新的PWM風扇進行轉速測試 時,百先,測爷Α ^ + &料跋炎叙”貝在主機20中設置多個常用PWM風扇 ' 7 '1 ^ 所述風扇料號參數包括:測試點數、PWM波 的頻率、任務循俨 、自衣、各任務循環對應的風扇參考轉速及測BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fan speed test system and method, and more particularly to a fan speed test system and method based on a field programmable gate array. [Prior Art] The full name of PWM is Pulse width M〇dulati〇n (pulse width modulation), which chops the output voltage of the converter into a pulse, by changing the width, number or distribution rule of the pulse, A method of controlling the value and frequency of the output voltage. Due to the energy saving advantages of PWM fans, it has become the new favorite in the field of Pc system heat dissipation. Duty Cycle refers to the ratio of the time that the high level takes up in one cycle. The larger the task cycle, the longer the battery is. The PWM wind phase speed increases proportionally with the size of the task cycle, achieving the purpose of fan speed control. Because it is a new product, Ren uses the original detection method, uses the frequency required by the signal, and the task cycle (using the oscilloscope debt test) to check the ripple, and then uses the tachometer to test the detection mode of the fan speed. The = method requires a large number of devices, takes up a lot of space, and the test is quite ‘the required personnel must also have a high level of expertise, @this line of a large number of products in the assembly line. Outside of the original $, the original detection method is through the microcontroller control signal transmission, the required PWM wave is provided to the fan for speed control. The PWM frequency of the phase is not high enough, which will affect the test result 1285740. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a fan speed test system that can generate a high frequency PWM wave by using a field programmable gate array, thereby improving test accuracy and reducing test cost. In view of the above, it is also necessary to provide a fan speed test method which can generate a high frequency PWM wave by using a field programmable gate array, thereby improving test accuracy and reducing test cost. A fan speed test system includes a fan interface board, and the fan interface board is connected with a pulse width modulation fan to be detected. The fan speed test system further includes a host, a data acquisition card, and a field programmable gate array. The host calls up a fan item number parameter stored therein at the beginning of the test, and the fan item number parameter includes a test point number and a pulse wave. a frequency of the width modulated wave, a task cycle, a fan reference speed corresponding to each task cycle, and a test time, initializing the variable of the test point and transmitting the frequency of the pulse width modulated wave and the task cycle to the scene a programmable gate array; the field programmable gate array generates a high frequency pulse width modulation wave according to the frequency of the pulse width modulation wave and the task cycle, and the rotation speed of the pulse width modulation fan to be detected is controlled; The data acquisition card transmits the collected information to the field programmable gate array according to the test time, and the field programmable gate array collects the speed feedback signal of the pulse width modulation fan to be detected through the fan interface board, and transmits the data to the data. Acquiring a card, the data acquisition card converting the rotation feedback signal into a digital signal and transmitting the signal to the host; Calculates the signal pulse width modulation of the actual rotation speed of the fan and 1,285,740 according to the task cycle corresponding to the rotation speed of the fan is determined with reference to the actual speed of the fan is within the error range. A fan speed test method includes the following steps: the host calls up a fan item number parameter stored therein, and the fan item number parameter includes a test point number, a pulse width modulation wave frequency, a task cycle, and a corresponding task cycle. Fan reference speed and test time, and initialize the test point variable to zero; the host transmits a pulse width modulated wave frequency and task cycle to the field programmable gate array, so that the field programmable gate array generates high frequency pulse wave The width modulation wave control is connected to the fan interface board to detect the pulse width of the fan, and the host determines whether the test time is reached according to the measured time parameter; when the test time is reached, the host transmits the data through the data acquisition card. Collecting information to the field programmable gate array, and the field programmable gate array collects the speed feedback signal of the pulse width modulation fan to be detected through the fan interface board, and transmits the data to the data acquisition card; the data acquisition card receives the After the speed feedback signal, the speed feedback signal is converted into a digital signal and transmitted to the host; Signal to calculate the actual speed of the pulse width modulation according to the fan and fan task cycle corresponding to the reference speed is determined whether the actual speed of the fan within the error range. Compared with the prior art, the fan speed test system and method use the field programmable gate array to generate high frequency PWM waves, which improves the accuracy of the test, reduces the test cost, and is more suitable for the pipeline operation of a large number of products in the production line. . [Embodiment] Referring to Figure 1, the fan speed test system of the present invention preferably implements a hardware architecture diagram of the example 1285740. The system mainly includes a display device 10, a host 2, a poor material acquisition card 30, a field programmable gate array 40, and a fan interface plate 5, wherein the fan interface board 50 provides four channels of fan interfaces for use in testing The PWM fan 60 is connected to the field programmable gate array 40, and the speed feedback line 70 is taken to transmit the collected feedback signal of the PWm fan 6〇 to the field programmable gate array 4〇. The host 2 is responsible for the application of the main running system, and the device is controlled and configured. The main shell _ 20 stores the item number parameters of a plurality of common PWM fans, and the wind material number parameters include: test points , PWM wave frequency, task cycle, fan reference speed and test time corresponding to each task cycle. The host calls the fan item number parameter stored therein at the beginning of the test, initializes the variable of the test point number, and transmits the PWM through the RS232 serial transmission port (which may also be other serial or parallel transmission port). The frequency and task of the wave is cycled to the field programmable gate array 40. The field programmable gate array 40 is configured to perform a rotational speed control of the PWM fan 60 to be detected according to the frequency of the PWM wave transmitted by the host 20 and the task cycle to generate a high frequency pwm wave. The data acquisition card 30 is configured to transmit the collected information to the field programmable gate array 40 according to the test time, and the field programmable gate array 40 collects the speed feedback signal of the PWM fan 60 to be detected through the fan interface board 50. The data acquisition card 30 is transmitted, and the data acquisition card 30 converts the rotation feedback signal into a digital signal and transmits it to the host 20. The host 20 performs digital filtering processing on the digital signal, and then calculates the actual rotation of the PWM fan 60 to be detected according to the digital signal. 1285740. The speed 2=the fan number is taught, and the pwm to be detected is off. Township's circle fan - the completion and so on. It is judged whether all test points are tested for the test device 10 for test results, such as the speed value, the frequency value is not = the parameter information in the process, and the alarm information. The task cycle, the test time, and the reference to Figure 2 are shown in Figure 1. A host 20 includes a system initialization module 2: diagram. The speed calculation module 2〇3 and the judgment module are combined. The difference is 2〇2, the number parameter of the second test is measured and the variable of the test point is initialized ^=PWM fan 60 The speed calculation module 203 is used to detect the rotation speed of the fan 60 to be detected (four) section = signal for digital wave Processing, calculating the frequency of the digital signal and then obtaining a rotational speed factor to obtain the actual detection module 204 of the p W Μfan 6 G to be detected according to the fan material number parameter τ, the actual rotation speed of the fan 60, and the test point The number of variables, the second = test time, determine the real error range of the 6 〇 fan to be detected and determine whether all test points are tested: etc.疋 The parameter change module is used to switch from one test point to the next. The frequency of the PWM wave, the task cycle, and the fan reference speed of the task are changed during the pilot. Μ 11 1285740 As described below, the steps of the county poetry, Η 转速 speed test, the fan speed test is pure, and the fan is implemented as a tester. Shi,, + Bei to test the speed of a new PWM fan, a hundred first, test Α ^ + & 跋 叙 ” ” 贝 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在 在Fan item number parameters include: test points, PWM wave frequency, task cycle, self-clothing, fan reference speed corresponding to each task cycle and measurement

^ :測減點數的設定一般是由客戶决定,因PWM^ : The setting of the measurement and reduction points is generally determined by the customer, due to PWM

几羽相同電壓不同任務循環下會有不同的轉速,爲檢測 不同任_環下的轉速,需要狀測試點數。如—款pwm 風扇^測任務循環爲G%、25%、75%、100%這四個點下 對應的轉速,A + k 、/ U此該放PWM風扇的測試點數設定爲4。 ^後把對應的任務循環與各任務循環所對應的參考轉速輸 =^所述參考轉速是由風扇的性能所决定。所述測試時間 才曰從個測滅點到下一個測試點的測試時間,如從測任 務循%爲0%到測任務循環爲25%之間需4秒,該時間長 紐的設定主要由風扇轉速穩定的時間决定,因爲不同任務 循裱下的轉速是不同的,風扇從一種轉速變到另一種轉速 需要一段延遲時間。 然後’主機20下達測試指令,系統初始化模組2〇1 根據該測試指令初始化測試點數的變數I等於零,調出儲 存在主機20中的風扇料號參數。現場可編程閘陣列4〇接 收到主機20發送的風扇轉速測試指令後,根據主機2〇傳 送的PWM波的頻率和任務循環產生高頻率的j>wm波對 待檢測的PWM風扇60進行轉速控制。然後,判斷模組 12 1285740 204根據風扇料號參靠 試點的測試時間。如減時間參數判斷是否到達測 ^ , w 果測忒時間到了,主機20透過資料獲 取卡30傳达一採集資 , 貝Λ、,,口現%可編程閘陣列40,現場可 、、爲私閘陣列40的内部卢 集該應風扇6〇 透過風扇接口板5〇採 、、,队# μ的轉速回饋信號,將該轉速回饋信號傳 达、七_貝料獲取卡3〇。|料猶 ..Η , 貝枓獲取卡30獲得的該轉速回饋信 ^次枓满、:& ,由於主機2〇只能接收和處理數位信Several feathers of the same voltage will have different speeds under different task cycles. In order to detect the speed under different _ rings, the number of test points is required. For example, the pwm fan test task cycle is the corresponding speed under the four points of G%, 25%, 75%, and 100%, and A + k and / U are set to 4 for the PWM fan. ^ After the corresponding task cycle and the reference speed corresponding to each task cycle input = ^ The reference speed is determined by the performance of the fan. The test time is from the test point to the test time of the next test point. For example, it takes 4 seconds from the test task to 0% to the test task cycle to 25%. The time when the fan speed is stable is determined because the speed of the different tasks is different, and it takes a delay for the fan to change from one speed to another. Then, the host 20 issues a test command, and the system initialization module 2〇1 initializes the test point number variable I according to the test command to be equal to zero, and recalls the fan item number parameter stored in the host 20. The field programmable gate array 4 is connected to receive the fan speed test command sent by the host 20, and generates a high frequency j>wm wave to control the speed of the PWM fan 60 to be detected according to the frequency of the PWM wave transmitted by the host 2 and the task cycle. Then, the judgment module 12 1285740 204 refers to the test time of the pilot according to the fan number. If the time parameter is used to determine whether the test arrives, and the test time is up, the host 20 transmits a collected resource through the data acquisition card 30, and the programmable gate array 40 is available on the site. The internal set of the brake array 40 is fed through the fan interface board 5, and the speed feedback signal of the team #μ is transmitted, and the speed feedback signal is transmitted, and the seven-beet acquisition card is acquired. | 犹 . Η 枓 枓 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

料轉相傭賴換絲㈣號後傳 迗給主機20。主機u 進行數㈣波化計算模組2G3對該數位信號 > #心处,消除該數位信號裏的雜訊和靜電干 反口十介該触k號的頻率再乘以一個 PWM風扇60的實際轉速。After the material is transferred to the commissioner, the wire is transferred to the host 20. The host u performs the number (four) wave calculation module 2G3 on the digital signal >#心处, eliminates the noise in the digital signal and the electrostatic dry back. The frequency of the touch k is multiplied by a PWM fan 60. Actual speed.

θ然後,判斷模組204判斷該PWM風扇60的實際轉速 疋否正节’即將上逃計算得到的該PWM風扇60的實際轉 速與所述任務循環對應的風扇參考轉速對比,满該PWM 風扇6〇的實際轉速是否在誤差範圍内,其判斷公式爲:參 考轉速χ( 1-公差實際轉速<=參考轉速八1+公差%)。 如果該PWM風扇60的實際轉速不在誤差範圍内,則表明 該PWM風扇60沒有通過測試,則透過顯示設備1〇顯示 出報警資訊。如果該PWM風扇60的實際轉速在誤差範圍 内,則將測試點數的變數I累加1,對比測試點數的變數j 與測試點數參數,如果測試點數的變數I小於測試點數參 數’則判斷所有測試點未測試完畢。如果還有測試點没有 測試,則切換到下一個測試點,透過參數變更模組2〇2變 13 1285740 更測成參數,包括職關PWM波的解、任 該任務循環所對應的參考轉速,把下—個測試點的盾^口 波的頻率和任務循環傳送給現場可編程閘陣列你進"Μ -個測試點職。如果測試點數的變數丨等於 = 數,則判斷模組2〇4判斷該PWM風扇6〇通過了測絮,多 顯示設備10上顯示該PWM風扇⑹通過測試的握^ 訊,測試停止。 捉不貪 參閱圖3所示,係本發明風扇轉速測試方法 例的整體流程圖。首先,測試人員在主機2〇中設置二:: 用PWM風扇的料號參數,所述風扇料號參數包括二 點數、PWM波的頻率、任務循環、各任務循環對應的: 扇參考轉速及測試時間等。然後,主機2〇下達測人 系統初始化模組201根據該測試指令初始化測試點數曰“ 數I等於零’調出儲存在主機2Q中的風扇料號參數 S300)。現場可編程閘陣列40接收到主機2〇發送的風肩 轉速測試指令後,根據主機20傳送的pwM波的頻率和: 務循環産生高頻率的PWM波對待檢測的pwM風屬6〇 行轉速控制。然後,判斷模組綱根據風扇料號表 測試時間參數判斷是否到達測試點的測試時間 隱)。如果測試時間到了,主機2〇透過資料獲取卡 傳送-採㈣訊給現場可編㈣相4(),現場可編程 列40的内部信號採隼雷故#π 6 tθ Then, the judging module 204 determines that the actual rotational speed of the PWM fan 60 is not positive, and the actual rotational speed of the PWM fan 60 obtained by the flight calculation is compared with the fan reference rotational speed corresponding to the task cycle, and the PWM fan 6 is full. Whether the actual speed of 〇 is within the error range, the judgment formula is: reference speed χ (1-tolerance actual speed <= reference speed 八1 + tolerance%). If the actual rotational speed of the PWM fan 60 is not within the error range, it indicates that the PWM fan 60 has not passed the test, and the alarm information is displayed through the display device 1 。. If the actual speed of the PWM fan 60 is within the error range, the variable I of the test point is incremented by 1, and the variable j of the test point is compared with the test point parameter. If the variable I of the test point is smaller than the test point parameter' Then judge that all test points have not been tested. If there is still no test point, then switch to the next test point, and change the parameters through the parameter change module 2〇2 to 13 1285740, including the solution of the duty PWM wave, and the reference speed corresponding to the task cycle. Transfer the frequency and task cycle of the shield wave of the next test point to the field programmable gate array. You enter the test point. If the variable 丨 of the test point is equal to the = number, the judging module 2〇4 judges that the PWM fan 6〇 has passed the test, and the multi-display device 10 displays that the PWM fan (6) passes the test grip, and the test stops. Seeking Figure 3 is an overall flow chart of an example of a method for testing the fan speed of the present invention. First, the tester sets two in the host 2:: using the material number parameter of the PWM fan, the fan number parameter includes two points, the frequency of the PWM wave, the task cycle, and the corresponding task cycle: the fan reference speed and Test time, etc. Then, the host 2A test system initialization module 201 initializes the test points according to the test command 曰 "Number I is equal to zero" to call up the fan item number parameter S300 stored in the host 2Q. The field programmable gate array 40 receives After the wind shoulder test command sent by the host 2〇, according to the frequency of the pwM wave transmitted by the host 20 and the cycle of generating a high frequency PWM wave, the pwM wind to be detected is controlled by the speed of 6 。. Then, the judgment module is based on The test date parameter of the fan material number table determines whether the test time of the test point is reached. If the test time is up, the host computer 2 transmits the data through the data acquisition card (4) to the field (4) phase 4 (), the field programmable column 40 Internal signal picking mine #π 6 t

^⑽艟、/ 風扇接口㈣採集該PWM 風扇60 _相饋信號,將該轉相饋錢 取卡3〇(步驟咖2)。資料獲取卡3G_‘r 1285740 •信號是-種類比信號,由於主機2G只能接收和處理數位信 號’資料獲取卡30將該轉速回齡㈣換成數位信號後傳 送給主機20 (步驟S3〇3)。主機2〇的轉速計算模組2〇3 對該數位信號進行數位濾'波處理,消除該數位信號裏的雜 訊和靜電干擾’ 5十算該數位信號的頻率再乘以一個轉速因 數就得到該PWM風扇60的實際轉速(步驟S3〇4)。 然後,判斷模組204判斷該PWM風扇6〇的實際轉速 是否正常(步驟s3〇5),即將上述計算得到的該pwM風 扇6〇的實際轉速與所述任務循環對應的風扇參考轉速對 比,判斷該PWM風扇60的實際轉速是否在誤差範圍内, 其判斷公式爲:參考轉速x(1_公差%)=<實際轉速 <=參考 轉速X (1 +公差%)。如果該PWM風扇6〇的實際轉速不在 誤差範圍内,則表明該PWM風扇6〇沒有通過測試,則透 過顧示設備10顯示出報警資訊(步驟S3〇8),測試停止。 如果該P W Μ風扇6 0的實際轉速在誤差範圍内,則測試 點數的變數I累加1’對比測試點數的變數j與測試點數參 數,判斷測試點數的變數I是否小於測試點數參數,即判 斷所有測試點是否測試完畢(步驟S3〇6)。如果測試點數 的變數I小於測試點數參數,則判斷所有測試點未測試完 畢,切換到下一個測試點,透過參數變更模組202變更Z 試參數’包括測試點的PWM ;;皮的頻率、任務循環和該任 務循環所對應的參考轉速,把下一個測試點的pwM波的 頻率和任務循環傳送給現場可編程閘陣列40,進行下一個 測试點測試(步驟S307 )。如果測試點數的變數^等於測 15 0 1285740 •試點數參數,則判斷模組204判斷該PWM風扇6〇通過了 測試,在顯示設備10上顯示該PWM風扇6〇測試通過的 提示資訊,測試停止。 - 在上述較佳實施例中,若被測試PWM風扇6〇的料號 , 不在現場可編程閘陣列40所接收的多個常用風扇料聲的 範圍内,測試人員可在主機20中增加對料號參數的設置。 在設置該料號參數前,首先要進入中斷服務程式設置夫 數,如圖4所示。 參閱圖4所示,係本發明風扇轉速測試方法較佳實施 例的進入中斷服務程式設置參數的流程圖。進入int〇中 斷(步驟S400);關閉into(步驟S401);設定某料號pwM 風扇60的測試點數(步驟S4〇2);設定從每個測試點到下 一個測試點的測試時間(步驟S4〇3);設定 式 PWM波的頻率(㈣S4〇4);s定每個測試點的任務循環 (步驟S4〇5)·’設定每個賴點任務循環對應的參考轉速 •(步驟 S406);打開 INTO (步驟 S407)。 •本發明風扇轉速測試系統及方法,雖以較佳實施例揭 =上’ «並非用以岐本發明。任何熟悉此項技藝之 二在㈣離本發明之精神及範#可做更動與潤 定者為^本發明之保護犯圍當視後附之申請專利範圍所界 【圖式簡單說明】 圖1係本發明風扇轉速測試系統較佳實施例的硬體架 16 1285740 構圖。 圖2係圖1所示主機的功能模組圖。 圖3係本發明風扇轉速測試方法較佳實施例的整體流 程圖。 圖4係本發明風扇轉速測試方法較佳實施例的進入中 斷服務程序設置參數的流程圖。 【主要元件符號說明】^(10)艟, / Fan interface (4) Collect the PWM fan 60 _ phase feed signal, and take the phase-in-the-counter to take the card 3〇 (step coffee 2). Data acquisition card 3G_'r 1285740 • The signal is a type-type signal. Since the host 2G can only receive and process the digital signal, the data acquisition card 30 replaces the rotation speed (4) with a digital signal and transmits it to the host 20 (step S3〇3). ). The speed calculation module 2〇3 of the host computer performs digital filtering 'wave processing on the digital signal to eliminate noise and static interference in the digital signal'. The frequency of the digital signal is multiplied by a speed factor. The actual rotational speed of the PWM fan 60 (step S3〇4). Then, the determining module 204 determines whether the actual rotational speed of the PWM fan 6〇 is normal (step s3〇5), that is, comparing the calculated actual rotational speed of the pwM fan 6〇 with the fan reference rotational speed corresponding to the task cycle, and determining Whether the actual rotational speed of the PWM fan 60 is within the error range is determined by the reference rotational speed x (1_tolerance%) = < actual rotational speed <= reference rotational speed X (1 + tolerance %). If the actual rotational speed of the PWM fan 6 is not within the error range, it indicates that the PWM fan 6 〇 has not passed the test, and the alarm information is displayed by the pointing device 10 (step S3 〇 8), and the test is stopped. If the actual rotational speed of the PW Μfan 60 is within the error range, the variable I of the test point is accumulated by 1' to compare the variable j of the test point number with the test point parameter, and it is determined whether the variable I of the test point is less than the test point number. The parameter determines whether all test points are tested (step S3〇6). If the variable I of the test point is smaller than the test point parameter, it is judged that all the test points are not tested, and the test is switched to the next test point, and the Z test parameter is changed by the parameter change module 202 to include the PWM of the test point; The task cycle and the reference rotational speed corresponding to the task cycle transmit the frequency and task cycle of the pwM wave of the next test point to the field programmable gate array 40 for the next test point test (step S307). If the variable of the test point is equal to the test 15 0 1285740 • the pilot number parameter, the determination module 204 determines that the PWM fan 6〇 has passed the test, and displays the prompt information of the PWM fan 6〇 test on the display device 10, and tests stop. - In the above preferred embodiment, if the item number of the tested PWM fan 6 is not within the range of the plurality of common fan materials received by the field programmable gate array 40, the tester can add the material to the host 20. The setting of the number parameter. Before setting the item number parameter, first enter the interrupt service program setting number, as shown in Figure 4. Referring to Figure 4, there is shown a flow chart of the entry interrupt service routine setting parameters of the preferred embodiment of the fan speed test method of the present invention. Entering the int〇 interrupt (step S400); turning off into (step S401); setting the number of test points of the certain number pwM fan 60 (step S4〇2); setting the test time from each test point to the next test point (step S4〇3); set the frequency of the PWM wave ((4)S4〇4); s the task cycle of each test point (step S4〇5)·'set the reference rotation speed corresponding to each of the target task cycles (step S406) ; INTO is turned on (step S407). • The fan speed test system and method of the present invention, although described in the preferred embodiment, is not intended to be used in the present invention. Anyone who is familiar with the skill of the art in (4) from the spirit and scope of the present invention can be changed and operated by the person who is bound by the scope of the patent application of the present invention [simplified description of the drawing] Figure 1 The hardware frame 16 1285740 of the preferred embodiment of the fan speed test system of the present invention is patterned. FIG. 2 is a functional module diagram of the host shown in FIG. 1. Figure 3 is a general flow diagram of a preferred embodiment of the method for testing the speed of a fan of the present invention. Figure 4 is a flow chart showing the parameters for entering the interrupt service routine of the preferred embodiment of the fan speed test method of the present invention. [Main component symbol description]

顯示設備 10 主機 20 資料獲取卡 30 現場可編程閘陣列 40 風扇接口板 50 PWM風扇 60 轉速回饋線 70 系統初始化模組 201 參數變更模組 202 轉速計算模組 203 判斷模組 204 17Display device 10 Host 20 Data acquisition card 30 Field programmable gate array 40 Fan interface board 50 PWM fan 60 Speed feedback line 70 System initialization module 201 Parameter change module 202 Speed calculation module 203 Judgment module 204 17

Claims (1)

1285740 十、申請專利範圍 1 · 一種風扇轉速測試系統,包括風扇接口板、主機、 貝料獲取卡及現場可編程閘陣列,其中··所述風扇接口板 連接有至少一待檢測的脈波寬度調變風扇; 所述主機於測試開始時調出風扇料號參數,所述風扇 料號參數包括測試點數、脈波寬度調變波的頻率、任務循 ¥、各任務循環對應的風扇參考轉速及測試時間,並初始 化所述测試點數的變數並傳送所述的脈波寬度調變波的頻 率和任務循環給所述現場可編程閘陣列; 所述現場可編程閘陣列根據所述脈波寬度調變波的 頻率和任務循環産生高頻率的脈波寬度調變波,對待檢測 的脈波I度調雙風扇進行轉速控制; 所述資料獲取卡根據所述測試時間向所述現場可編 程閘陣=傳送採集資訊,由現場可編程閘陣列透過風扇接 、,〔:待檢測的脈波見度調變風扇的轉速回饋信號,傳 Γί=錄卡’ f料獲取卡將該轉速_信號轉換成數 位"fa 5虎傳送給主機; =主機根制錢位錢計算出該脈波寬度調 =風戶Ϊ轉速並根據所述任務循環對應的風扇參考轉速 满風屬•轉速是㈣誤差範圍之内。 轉速 宜中請專利範圍第1項所述的風扇轉速測試系统, 是:二 測試點數ϋ 4完畢’㈣試點數的變數小於 、”參數’表示未測試完畢則傳送另一脈波寬度調變 18 1285740 個 .==任務揭環给所述現場可編程閘陣列進行下 3 ·如 後,會對,信號進二:==過來的數位信號 4 *申清專利範圍第工項所述的 其中所述風扇轉相試系統還包括 、=系統, 測試過程中的參數資訊及測試結果。 用於顧示 时缓!二:見度調變風扇的轉速回饋信號是透過-轉、, 回饋線反饋給現場可編程閉陣歹,j。 轉速 6如申π專利範圍第}項所述的、^ 其中所述脈波寬度調魏—轉速是透=數 的頻率再乘以—個轉速因數得到的。 數位㈣ 7主機轉勒境方法,該方法包括如下步驟: 出風扇料號參數,所述風扇料號參數包括測气 點數、脈波寬度觀波的辭、任務循環、各任務循^ 應的風扇參考轉速及測試時間’並初始化測試點數的^數 爲零, 主機傳送-脈波寬度賴波㈣率和任務循環 場可編程閘陣列,使現場可編程間陣列產生高頻率的脈 寬度調變波控制與風扇接口板連接的待: 變風扇的轉速,· 【政見度週 主機根據所述測試時間參數判斷是否到相試時間; 19 1285740 λ 主機透過資料獲取卡傳送一採集 ’由現場可編程閘陣列透過風扇 I度調變風扇的轉速回饋信號’ 當到達測試時間時, 資訊給現場可編程閘陣列 接口板採集待檢測的脈波 並傳送給資料獲取卡; ^ 斗獲取卡收到所述轉速回饋信號後,將該轉速回饋 信號轉換成數位信號並傳給主機;1285740 X. Patent application scope 1 · A fan speed test system, comprising a fan interface board, a host computer, a billet acquisition card and a field programmable gate array, wherein the fan interface board is connected with at least one pulse width to be detected Modulating the fan; the host calls up the fan item number parameter at the beginning of the test, and the fan item number parameter includes the number of test points, the frequency of the pulse width modulation wave, the task cycle, and the fan reference speed corresponding to each task cycle. And testing time, and initializing the variables of the test points and transmitting the frequency of the pulse width modulated wave and the task cycle to the field programmable gate array; the field programmable gate array is according to the pulse wave The frequency of the width modulation wave and the task cycle generate a high frequency pulse width modulation wave, and the pulse wave of the pulse wave to be detected is adjusted by the dual fan; the data acquisition card is programmable to the field according to the test time. The brake array=transmits the acquisition information, and the field programmable gate array is connected through the fan, [: the pulse wave of the pulse to be detected adjusts the speed feedback signal of the fan. Γ Γ 录 录 录 录 录 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f The fan reference speed corresponding to the task cycle is full. The speed is within the (four) error range. The fan speed test system described in item 1 of the patent range is: 2 test points ϋ 4 is completed '(4) The number of pilots is less than, and the parameter ' indicates 'transmission is another pulse width modulation. 18 1285740.==The task uncovers the loop to the field programmable gate array. 3. If, after that, the signal goes into two: == the digit signal 4 * is stated in the patent scope. The fan-to-phase test system further includes, = system, parameter information and test results during the test process. It is used to indicate the time delay! Second: the speed feedback signal of the brightness modulation fan is through-turn, feedback feedback To the field programmable closed array, j. Rotating speed 6 as described in the π patent range, the ^, wherein the pulse width is adjusted to Wei - the speed is the frequency of the pass number and multiplied by the speed factor The digital (four) 7 host transfer method, the method comprises the following steps: the fan item number parameter, the fan item number parameter includes the number of gas measuring points, the pulse width observation wave, the task cycle, and each task cycle Fan reference speed and measurement Test time 'and initialize the number of test points is zero, the host transmits - pulse width ray wave (four) rate and the task cycle field programmable gate array, so that the field programmable inter-array generates high frequency pulse width modulation wave control Waiting for the connection with the fan interface board: The speed of the variable fan, · [Government Week The host judges whether to go to the test time according to the test time parameter; 19 1285740 λ Host transmits the data through the data acquisition card. Adjusting the fan's speed feedback signal through the fan I degree. When the test time is reached, the information is sent to the field programmable gate array interface board to collect the pulse wave to be detected and transmitted to the data acquisition card; ^ The bucket acquisition card receives the speed feedback After the signal, the speed feedback signal is converted into a digital signal and transmitted to the host; 主機根據該數位信號計算出該脈波寬度調變風扇的 實示轉速並根據所述任務循環對應的風扇參考轉速判斷風 扇實際轉速是否在誤差範圍之内。 8如申叫專利範圍第7項所述的風扇轉速測試方法, 進一步包括: 如果風扇實際轉速超出了誤差範圍,則透過顯示設備 顯示出報警資訊,並停止測試; 如果風扇實際轉速在誤差範圍内,則測試點數的變數 累加1 ; 主機根據測試點數參數和測試點數的變數判 斷是否 所有的測試點數已測試完畢; 右測試點數的變數小於測試點數參數,則主機傳送另 脈波見度調變波的頻率和任務循環給所述現場可編程閘 陣列進行下-_試點測試; 若測試點數的變數等於測試點數參數,則在顯示設備 上顯示該脈波寬度調變風扇測試通過的提示資訊。 9·如申清專利範圍第7項所述的風扇轉速測試方法, 其尹所述主機在接收到資料獲取卡傳送過來的數位信號 20 1285740 後,會對該數位信號進行數位濾波處理。 10 ·如申請專利範圍第7項所述的風扇轉速測試方 法,其中所述脈波寬度調變風扇的實際轉速是透過該數位 信號的頻率再乘以一個轉速因數得到的。The host calculates the actual rotational speed of the pulse width modulation fan based on the digital signal and determines whether the actual rotational speed of the fan is within the error range according to the fan reference rotational speed corresponding to the task cycle. 8 The method for testing the fan speed as described in claim 7 of the patent scope further includes: if the actual fan speed exceeds the error range, the alarm information is displayed through the display device, and the test is stopped; if the actual fan speed is within the error range , the test point variable is accumulated by 1; the host judges whether all test points have been tested according to the test point parameter and the test point variable; if the right test point variable is less than the test point parameter, the host transmits another pulse The frequency of the harmonic modulation wave and the task cycle perform a down-_pilot test on the field programmable gate array; if the variable of the test point is equal to the test point parameter, the pulse width modulation is displayed on the display device The prompt information passed by the fan test. 9. The method for testing the fan speed according to item 7 of the patent scope of Shen Qing, the Yin said host receives the digital signal 20 1285740 transmitted by the data acquisition card, and performs digital filtering processing on the digital signal. The fan speed test method of claim 7, wherein the actual speed of the pulse width modulation fan is obtained by multiplying the frequency of the digital signal by a speed factor. 21twenty one
TW95126703A 2006-07-21 2006-07-21 System and method for testing rotation speed of fans TWI285740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95126703A TWI285740B (en) 2006-07-21 2006-07-21 System and method for testing rotation speed of fans

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95126703A TWI285740B (en) 2006-07-21 2006-07-21 System and method for testing rotation speed of fans

Publications (2)

Publication Number Publication Date
TWI285740B true TWI285740B (en) 2007-08-21
TW200806990A TW200806990A (en) 2008-02-01

Family

ID=39457356

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95126703A TWI285740B (en) 2006-07-21 2006-07-21 System and method for testing rotation speed of fans

Country Status (1)

Country Link
TW (1) TWI285740B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI453343B (en) * 2009-04-30 2014-09-21 Hon Hai Prec Ind Co Ltd Testing method for fan module
CN104714866A (en) * 2013-12-13 2015-06-17 鸿富锦精密工业(武汉)有限公司 Fan testing system and method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI494748B (en) * 2013-02-04 2015-08-01 Quanta Comp Inc Fan controlling method and notebook thereof
TWI586897B (en) * 2016-07-11 2017-06-11 奇鋐科技股份有限公司 Fan detecting system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI453343B (en) * 2009-04-30 2014-09-21 Hon Hai Prec Ind Co Ltd Testing method for fan module
CN104714866A (en) * 2013-12-13 2015-06-17 鸿富锦精密工业(武汉)有限公司 Fan testing system and method

Also Published As

Publication number Publication date
TW200806990A (en) 2008-02-01

Similar Documents

Publication Publication Date Title
TWI285740B (en) System and method for testing rotation speed of fans
US9270477B2 (en) Method and apparatus of measuring and reporting data gap from within an analysis tool
CN106100908A (en) A kind of stable universal data actuality collection is held concurrently and is remotely monitored multifunction system
CN101105501A (en) Fan rotary speed test system and method
CN104699068A (en) Universal simulator for aircraft engines
CN108344579A (en) The semi physical verification method and system of aerial engine air passage component fault diagnosis
EP2085843A3 (en) Method and system for analyzing performance of a wind farm
CN101533052A (en) Testing system and method for PWM fan electrical performance
US20080082284A1 (en) System performance monitoring system
US20120158960A1 (en) Mixed-mode analysis
CN111175048B (en) Engine performance benchmarking test system for automatic transmission vehicle and use method
CN108319516B (en) Test system and test method
WO2016015637A1 (en) Photovoltaic air conditioning system, and performance detection method and performance detection device therefor
CN104317287B (en) The analogy method and system of a kind of motor signal
CN108760285A (en) A kind of solenoid valve on-line detecting system and method
CN104076812B (en) Proportional reversing valve group real-time simulation test device
CN110826292B (en) Digital control visual graphical auxiliary analysis method
CN208026706U (en) Support the gas sensor device structure of realization self-checking function
Zhao et al. Design of a data acquisition system for building electrical fault diagnosis
TWI407103B (en) System and method for testing electric properties of pwm fans
CN106970863A (en) Interface diagnosis device is used in portable computer maintenance
JP3994012B2 (en) Specimen measuring apparatus and method using network
CN214998067U (en) Electric pump control system with edge calculation and on-site intelligent control functions
US20090296592A1 (en) Method and apparatus of measuring and reporting data gap from within an analysis tool
CN203098285U (en) Controller system structure of air compressor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees