【正文】
差值來控制電 機(jī)。系統(tǒng)還能動(dòng)態(tài)的顯示當(dāng)前溫度與設(shè)置溫度,并能通過按鍵調(diào)節(jié)當(dāng)前的設(shè)置溫度。首先考慮的是溫度檢測(cè)電路,該部分是整個(gè)系統(tǒng)的首要部分,首先要檢測(cè)到環(huán)境溫度,才能用單片機(jī)來判斷溫度的高低,然后通過單片機(jī)控制直流風(fēng)扇電機(jī)的轉(zhuǎn)速;其次是 電機(jī)驅(qū)動(dòng)電路,該部分需要使用外圍電路將單片輸出的 PWM 信號(hào)轉(zhuǎn)化為平均電壓輸出,根據(jù)不同的 PWM 波形得到不同的平均電壓,從而控制電機(jī)的轉(zhuǎn)速。 第六章 結(jié)束語 本次設(shè)計(jì)的系統(tǒng)從硬件設(shè)計(jì)和軟件編寫到 Proteus 仿真,再到用單片機(jī)開發(fā)板的調(diào)試,直到最后的電路板焊接,每一個(gè) 過程都使用到大學(xué)里學(xué)到的知識(shí),整個(gè)過程把大學(xué)里的知識(shí)系統(tǒng)的串在了一起。實(shí)現(xiàn)了基于單片機(jī)的溫控風(fēng)扇的設(shè)計(jì)。在生產(chǎn)生活中,本系統(tǒng)可用于簡(jiǎn)單的日常風(fēng)扇的智能控制, 為生活帶來便利;在工業(yè)生產(chǎn)中,可以改變不同的輸入信號(hào),實(shí)現(xiàn)對(duì)不同信號(hào)輸入控制電機(jī)的轉(zhuǎn)速,進(jìn)而實(shí)現(xiàn)生產(chǎn)自動(dòng)化,如在電力系統(tǒng)中可以根據(jù)不同的負(fù)荷達(dá)到不同的電壓信號(hào),再由電壓信號(hào)調(diào)節(jié)不同的發(fā)動(dòng)機(jī)轉(zhuǎn)速,進(jìn)而調(diào)節(jié)發(fā)電量,實(shí)現(xiàn)電力自動(dòng)化調(diào)節(jié)。 參考文獻(xiàn) [1] 林立 ,張俊亮 ,曹旭東 ,劉德軍 .單片機(jī)原理及應(yīng)用 [M].電子工業(yè)出版社 ,2020. [2] 徐瑞華 .單片機(jī)原理與接口技術(shù) [M].2020. [3] 李學(xué)龍 . 使用單片機(jī)控制的智能遙控風(fēng)扇 [J]. 電子電路 制作 ,2020,9:1315. [4] 郭天祥 .新概念 51 單片機(jī) C 語言教程 [M].電子工業(yè)出版社 ,2020. [5] 胡全 .51 單片機(jī)的數(shù)碼管動(dòng)態(tài)顯示技術(shù) [J].信息技術(shù) ,2020,13:2526. [6] 王會(huì)明 .智能電風(fēng)扇控制器的研制 [J].電子與自動(dòng)化 ,1998,5 4 :2526. [7] 孫號(hào) .Proteus 軟件在設(shè)計(jì)電子電路中的應(yīng)用 [J]. 儀表技術(shù) ,2020,8:7475. [8] 李剛 .總線數(shù)字溫度傳感器 DS18B20 原理及應(yīng)用 [J],現(xiàn)代電子技術(shù) , 2020, 28 21 :7799. [9] Ylai,Y, dimensional nonlinear analysis for temperature characterist of ventilated embankment in permafrost regions[J].Gold Regions Science and Technology,2020,38 2 :165184. [10] Cheng engineering in permafrost areas[J].Journal of Glac iology and Geocryology in Chinese ,2020,23 3 :21317. 附 錄 Introduction and application of Protues software Single chip microputer in many of the products are widely used, whether 51series, AVR, or PIC series, they each have their own characteristics, the learner is also increasing year by year, but in the study of the development process, we often do after the plan test expenditure is usually very big, especially for some students or for beginners to this they may bee a barrier to learning. We use Proteus software since greatly saves the time and cost of development. In particular, this software will be used in the development of SCM is a good choice. Here we mainly talk about the Proteus software and Keil software integration and application. Proteus is currently the best singlechip peripheral device simulation tool, it can simulate 51series, AVR, PIC and other monly used MCU and peripheral circuits such as LCD, RAM, ROM, keyboard, motor, LED, AD / DA, part of SPI device, part of the IIC device ... . This article is based on and KEIL uVision3 software. Of course, software simulation precision is limited, and may not all devices are found and corresponding simulation model, with a development board and the emulator is certainly the best choice, but for singlechip lovers, or simple development should be a good choice. Proteus and other singlechip simulation software is different, it not only can the simulation chip CPU work, also can the simulation chip peripheral circuit or chip in other working conditions of the circuit. The simulation and debugging, concern is not certain when the statement is executed chip registers and memory contents are changed, but from the point of view of project program and circuit directly to see the work process and the results. For this experiment, tell from some kind of meaning, is made up of experiment and engineering application of the contradiction and phenomenon. Run the Proteus ISIS program, enter the software main interface. Before work, to set up under the View menu to capture the alignment and system under the graphical interface color, size and other projects. Through a toolbar in P selected from the library ponent mand mand, in the pick devices window selection circuit ponents required for placing the ponents, and the adjustment of its relative position, ponent parameter setting, the connection between the ponents, preparation process。 in the source menu Add / remove source files mand, adding hardware circuit corresponding to the program through the debug menu mands。 or the debug menu under the stop animation menu items or shiftbreak key bination to stop the operation of the system. Its mode of operation can also choose the corresponding tools toolbar. For software debugging step by step, should first run under the debug menu start / restart debugging menu mand, then can choose Stepover, step into and step out mand execution program you can use shortcut keys to F10, F11and ctrl+F11 , executive effect is a single sentence execution, execution and jump into subroutine subroutine execution. In the implementation of start / restart debuging mand, in the debug menu to appear following simulation involved in the software and single chip microputer system resources, can be used for debugging analysis and view. 致 謝 在此衷心感謝我的導(dǎo)師林元乖副教授和我的同學(xué)龍順宇同學(xué)。她嚴(yán)肅的科學(xué)態(tài)度,嚴(yán)謹(jǐn)?shù)闹螌W(xué)精神,精益求精的工作作風(fēng),深深地感染和激勵(lì)著我。我覺得是林元乖老師和龍順宇同學(xué)讓我更加有信心堅(jiān)持下去,是他們讓我更加順利的把一個(gè)個(gè)問題解決,最終順利的完成本文的設(shè)計(jì)。相信它 雖然算不上上乘之作,但的確是我用心澆灌的答卷。大學(xué)的求學(xué)時(shí)光給我留下了美好的回憶,它將成為我今后人生旅途中新的起點(diǎn)。焉得諼草言樹之背養(yǎng)育之恩無以回報(bào) 本人所呈交的畢業(yè)論文(設(shè)計(jì))是我在導(dǎo)師的指導(dǎo)下進(jìn)行的研究工作及取得的研究成果。對(duì)本論文(設(shè)計(jì))的研究做出重要貢 獻(xiàn)的個(gè)人和集體,均已在文中作了明確說明并表示謝意。有權(quán)將論文(設(shè)計(jì))用于非贏利目的的少量復(fù)制并允許論文(設(shè)計(jì))進(jìn)入學(xué)校圖書館被查閱。保密的論文(設(shè)計(jì))在解密后適用本