本篇論文主要是運用CPLD (Complex Programmable Logic Device)單晶片來實現所設計的模糊控制器,進而控制電腦直流風扇馬達轉速或者依循所設計的保護機制,以達到安全散熱的目的。透過溫度感測器以及類比數位轉換器,可以隨時偵測到所設計系統的溫度和輸出電壓變化情形,經由模糊控制晶片上的模糊化、規則庫、推論引擎以及解模糊化等模組執行模糊運算,產生所需的脈波寬度調變(Pulse Width Modulation, PWM)訊號,來驅動直流風扇馬達的轉速以因應不同的溫度環境,達成散熱之目的。 本文提供一個完整的智慧型系統散熱及安全保護之設計,可使系統更穩定、有效率和安靜地工作。 This thesis, based on Complex Programmable Logic Device (CPLD), mainly concerns with the design and implementation of a Fuzzy Logic controller (FLC) so as to adjust the fan speed via controlling the fan out driving circuit of a dc motor or shut down the system for protection when necessary. The information of the temperature of the system and the output voltage of the dc-motor fan out driving circuit are acquired by a thermal sensor and analog to digital (A/D) sensors. The major modules included in the FLC chip are fuzzifier circuit, rule-based circuit,inference engine circuit, and defuzzifier circuit, which, in response to different levels of temperature, carries out the designated fuzzy operations. This in turn produces a pulse width modulation (PWM) signal to adjust the dc-motor fan speed so as to remove the heat. This thesis presents a smart heat sink design for computer thermal fan speed control and system protection, which enables the system to work in a stable, efficient and quiet manner.