【正文】
但電風(fēng)扇的風(fēng)更溫和,更加適合老人兒童和體質(zhì)較弱的人使用;二是電風(fēng)扇有價(jià)格優(yōu)勢,價(jià)格低廉而且相對省電,安裝和使用都非常簡單。其發(fā)展趨勢可以 根據(jù)其性質(zhì)進(jìn)行相應(yīng)的改進(jìn)可以運(yùn)用與不同 場合 的 溫度監(jiān)測 控制,并帶來大量的經(jīng)濟(jì)效益。 具有對溫度進(jìn)行實(shí)時(shí)監(jiān)控的功能,以保證工業(yè)儀器,測量工具,農(nóng)業(yè)種植的正常運(yùn)作 ,它的最大特點(diǎn)是能 實(shí)時(shí)監(jiān)控周圍溫度的高低 ,并能同時(shí)控制電機(jī)運(yùn)作來改變溫度 。又比如在較大功率的電子產(chǎn)品散熱方面,現(xiàn)在絕大多數(shù)都采用了風(fēng)冷系統(tǒng),利用風(fēng)扇引起空氣流動,帶走熱量,使電子產(chǎn)品不至于發(fā)熱燒壞。 關(guān)鍵詞 : FPGA, 溫度控制 ,直流電機(jī), PWM 調(diào)速 , 電源設(shè)計(jì) 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì)(論文) Abstract II Abstract The fan controlled by temperature is widely used in modern society productions and people’s daily life, such as the fan of largescale industrial production of mechanical cooling system and the CPU fan of the notebook puter which are now widely used. At present, the design of temperature control fan have a certain effect, which can make the fan speed automatically change according to the environment the temperature rises to a certain one, it can automatically start the fan, when the temperature drops to a certain one, it can automatically stop the rotation of the fan, which achieves the intelligently control of the fan. As FPGA is widely used in various fields, many temperature control systems based on FPGA also emerge as the times require. It makes the fan according to the change of environment temperature realize the automatic starting and stopping and the fan speed varies with the temperature of the environment, which realizes the intelligent control of the fan. This design uses ALTER CycloneV FPGA as the controller, using the temperature sensor DS18B20 as the temperature acquisition device, and the collected temperature through the speed control algorithm with high precision will eventually be used to transmit PWM pulse signal to control L298N motor driver chip to drive and control the speed of DC motor. Using 4*4 matrix keyboard as the input of control system, you can choose manual mode and automatic mode, and make gears selection. In manual mode, you can stall speed and artificial selection of the fan。采用矩陣鍵盤作為控制系統(tǒng)的輸入, 可選擇 手動模式和自動模式 , 以及 進(jìn)行檔位選擇 。 在現(xiàn)階段,溫控風(fēng)扇的 設(shè)計(jì)已經(jīng)有了一定的成效,可以使風(fēng)扇根據(jù)環(huán)境溫度的變化進(jìn)行自動 調(diào)速,當(dāng)溫度升高到一定時(shí)能自動 啟 動風(fēng)扇,當(dāng)溫度降到一定時(shí)能自動停止風(fēng)扇的轉(zhuǎn)動,實(shí)現(xiàn)智能控制。隨著 FPGA 在各個(gè)領(lǐng)域的廣泛應(yīng)用,許多用 FPGA 做控制 核心 的溫度控制系統(tǒng)也應(yīng)運(yùn)而生。手動模式下,可以 人為 選擇風(fēng)扇的檔位與轉(zhuǎn)速;自動模式下, 根據(jù)溫度的變化自動改變風(fēng)扇電機(jī)的轉(zhuǎn)速 ,同時(shí)在 LED 數(shù)碼管顯示 當(dāng)前 的溫度、 所選的工作模式 和 檔位 。 In the automatic mode, the fan motor speed can change automatically according to the change of temperature, at the same time ,it uses the LED digital tube to displays the current temperature, the working modes and the gears chosen. The buzzer prompts are used for key success proving, LED lights for shift reminder and which is convenient for users to operate at night. In order to let the fan can be powered directly by 220V, the power supply circuit is separately designed, which make it be more pragmatic value. Keywords: FPGA,Temperature control, DC motor,PWM,Power design 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì)(論文)目錄 III 目錄 摘要 ......................................................I Abstract .................................................. II 1 緒 論 ....................................................1 引言 ..................................................................1 發(fā)展現(xiàn)狀與應(yīng)用領(lǐng)域 ....................................................1 2 整體方案設(shè)計(jì) .............................................3 性能要求 ..............................................................3 系統(tǒng)整體設(shè)計(jì) ..........................................................3 方案論證 ..............................................................4 溫度傳感器 的選擇 ................................................4 調(diào)速方式的選擇 ..................................................5 顯示方式的選擇 ..................................................6 重點(diǎn)研究內(nèi)容及實(shí)現(xiàn)途徑 ................................................6 3 硬件電路原理及設(shè)計(jì) ......................................7 FPGA..................................................................7 Cyclone V EP4CE6芯片 .................................................7 ........................................................7 EP4CE6 開發(fā)板 ...................................................8 時(shí)鐘部分和復(fù)位電路 ..............................................8 ....................................................9 I/O 擴(kuò)展電路 ...................................................10 ...................................................10 L298N 芯片 ...........................................................11 .......................................................11 ............................................13 DS18B20溫度傳感器及驅(qū)動電路 ..........................................14 DS18B20 簡介 ...................................................14 DS18B20 主要特征及參數(shù) ..........................................14 DS18B20 的時(shí)序控制 ..............................................15 數(shù)碼管顯示電路 .......................................................16 .....................................................17 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì)(論文)目錄 IV .......................................................17 蜂 蜜器 .........................................................17 4 軟件設(shè)計(jì)與仿真 ......................................... 19 .......................................................19 Verilog HDL 語言與 Quartus II 開發(fā)平臺 .................................20 Verilog HDL 語言 ................................................20 Quartus II 開發(fā)平臺 .............................................21 程序各部分調(diào)試 .......................................................21 數(shù)碼管顯示部分的調(diào)試 ...........................................22 矩陣鍵盤輸入部分的調(diào)試 .........................................23 溫度傳感器測溫程序的調(diào)試 .......................................23 PWM 調(diào)試程序的調(diào)試 ..............................................24 算法及整體程序的調(diào)試 ...........................................24 系統(tǒng)整體仿真 .........................................................25 實(shí)物裝置圖 ............................................ 26 結(jié)束語 .................................