基於微控制器之直流無刷鼓風機自動測試系統的實現
Implementation of an Automatic Testing System for Brushless DC Blower Based on Microcontroller
摘要
The use of brushless DC motors in blower fans is a key component for forced exhaust water heaters. Therefore, the inspection of the blower fan before leaving the factory is extremely important. Due to the complexity of traditional manual testing, larger errors, and the possibility of human oversight, this research has developed an automatic testing system for the blower fan to improve this process.
The system is mainly divided into two parts: the microcontroller system, which automatically generates 32 precise DC voltages in sequence, allowing the blower fan under test to rotate sequentially; and a human-machine interface that can accurately detect the speed of the blower fan, automatically record it, and generate an Excel file. The 32 precise voltages are generated by the microcontroller controlling two sets of pulse width modulation signals, which then go through subsequent filtering, addition, and amplification circuits. The human-machine interface is made using Visual Basic, which can read the speed signal (pulse) output by the blower fan, calculate the speed of the blower fan, display it in real-time on the computer screen, and automatically record the speeds and speed errors of the 32 segments, finally saving them as a file.
Experimental results show that the time taken by this system to test the blower fan is only a quarter of that required for manual testing. For the same blower fan tested ten times, using manual measurement, the variation in speed error across the 32 segments could only achieve <1.85%. However, using the system developed in this research for automatic measurement, the variation can be stably maintained at <0.8%. This demonstrates that this research can indeed improve the accuracy and efficiency of blower fan speed measurement.
The system is mainly divided into two parts: the microcontroller system, which automatically generates 32 precise DC voltages in sequence, allowing the blower fan under test to rotate sequentially; and a human-machine interface that can accurately detect the speed of the blower fan, automatically record it, and generate an Excel file. The 32 precise voltages are generated by the microcontroller controlling two sets of pulse width modulation signals, which then go through subsequent filtering, addition, and amplification circuits. The human-machine interface is made using Visual Basic, which can read the speed signal (pulse) output by the blower fan, calculate the speed of the blower fan, display it in real-time on the computer screen, and automatically record the speeds and speed errors of the 32 segments, finally saving them as a file.
Experimental results show that the time taken by this system to test the blower fan is only a quarter of that required for manual testing. For the same blower fan tested ten times, using manual measurement, the variation in speed error across the 32 segments could only achieve <1.85%. However, using the system developed in this research for automatic measurement, the variation can be stably maintained at <0.8%. This demonstrates that this research can indeed improve the accuracy and efficiency of blower fan speed measurement.
使用直流無刷馬達的鼓風機是強制排氣型熱水器的關鍵組件,因此,鼓風機出廠前的檢驗極為重要由於傳統人工測試的程序複雜、誤差較大且容易產生人為疏忽,故本研究研製一套鼓風機的自動測試系統來改善。
系統主要分成兩部分,包括會依序自動產生32段精確直流電壓,以讓待測鼓風機依序轉動的微控制器(MCU)系統;以及可以精確偵測鼓風機轉速,可以自動記錄並且生成Excel檔案的人機介面。其中,32段精確電壓是由微控制器控制兩組脈衝寬度調變訊號,再經過後續的濾波、相加與放大等 電路所生成;人機介面是使用Visual Basic製作,可以讀取鼓風機輸出的轉速訊號(脈衝),並換算出鼓風機的轉速,除了可以即時顯示在電腦螢幕,還可以自動記錄32段的轉速、以及32段的轉速誤差,最後還會自動儲存成檔案。
實測結果顯示,本系統測試鼓風機所花的時間,僅需要人工測試的四分之一;同一鼓風機經過十次測試,使用人工量測時,鼓風機32段的轉速誤差之變動量僅能達到<1.85 %;使用本研究所製作的系統做自動量測,32段的變動量可以穩定在<0.8%,顯示本研究確實可以改善鼓風機轉速測量的精確度與效率。
系統主要分成兩部分,包括會依序自動產生32段精確直流電壓,以讓待測鼓風機依序轉動的微控制器(MCU)系統;以及可以精確偵測鼓風機轉速,可以自動記錄並且生成Excel檔案的人機介面。其中,32段精確電壓是由微控制器控制兩組脈衝寬度調變訊號,再經過後續的濾波、相加與放大等 電路所生成;人機介面是使用Visual Basic製作,可以讀取鼓風機輸出的轉速訊號(脈衝),並換算出鼓風機的轉速,除了可以即時顯示在電腦螢幕,還可以自動記錄32段的轉速、以及32段的轉速誤差,最後還會自動儲存成檔案。
實測結果顯示,本系統測試鼓風機所花的時間,僅需要人工測試的四分之一;同一鼓風機經過十次測試,使用人工量測時,鼓風機32段的轉速誤差之變動量僅能達到<1.85 %;使用本研究所製作的系統做自動量測,32段的變動量可以穩定在<0.8%,顯示本研究確實可以改善鼓風機轉速測量的精確度與效率。