【正文】
2021.. [4] 張毅剛 .MCS51單片機應用設計 [M]. 哈爾濱工業(yè)大學出版社, 2021 [5] 馮博琴 .微型計算機原理與接口技術 [M]. 北京:清華大學出版社, 2021. [6] 張毅剛 .MCS51單片機應用設計 [M]. 哈爾濱工業(yè)大學出版社, 2021. [7] 張淑清,姜萬錄等 .單片微型計算機接口技術及應用 [M]. 國防工業(yè)出版社, 2021. [8] 吳金戌,沈慶陽,郭庭吉 .8051 單片機實踐與應用 [M]. 北京:清華大學出版社, 2021. [9] 馮博琴 .微型計算機原理與接口技術 [M]. 清華大學出版社, 2021.. [10] 王振紅,李洋,郝承祥 .ISD4004 語音芯片的工作原理及其在 智能控制系統(tǒng)中的應用 [J]. 電子器件 2021,25(1). [11] 王千 .實用電子電路大全 [M]. 電子工業(yè)出版社, 2021 [12] 趙亮 ,侯國銳 .單片機 C 語言編程與實例 [M]. 北京 :人民郵電出版社 ,2021. [13] , , Techniques for Analog And Digitial Ciruits,McGrawHill . [14] ANALOG technology of AT89C51[EB/OL].White Paper,. [15] . Gryzhov, ’kov, Converter of Analog Signal into Discrete Digital One with the Example of Double Integration Voltmeter [J].Automation and Remote Control,2021,75(4). 陜西理工學院畢業(yè)設計 第 20 頁 共 39 頁 附錄 A 英文文獻 Temperature Control Using a Microcontroller: An Interdisciplinary Undergraduate Engineering Design Project James S. McDonald Department of Engineering Science Trinity University San Antonio, TX 78212 Abstract This paper describes an interdisciplinary design project which was done under the author’s supervision by a group of four senior students in the Department of Engineering Science at Trinity University. The objective of the project was to develop a temperature control system for an airfilled chamber. The system was to allow entry of a desired chamber temperature in a prescribed range and to exhibit overshoot and steadystate temperature error of less than 1 degree Kelvin in the actual chamber temperature step response. The details of the design developed by this group of students, based on a Motorola MC68HC05 family microcontroller, are described. The pedagogical value of the problem is also discussed through a description of some of the key steps in the design process. It is shown that the solution requires broad knowledge drawn from several engineering disciplines including electrical, mechanical, and control systems engineering. 1 Introduction The design project which is the subject of this paper originated from a realworld application. A prototype of a microscope slide dryer had been developed around an OmegaTM model CN390 temperature controller, and the objective was to develop a custom temperature control system to replace the Omega system. The motivation was that a custom controller targeted specifically for the application should be able to achieve the same functionality at a much lower cost, as the Omega system is unnecessarily versatile and equipped to handle a wide variety of applications. The mechanical layout of the slide dryer prototype is shown in Figure 1. The main element of the dryer is a large, insulated, airfilled chamber in which microscope slides, each with a tissue sample encased in paraffin, can be set on caddies. In order that the paraffin maintain the proper consistency, the temperature in the slide chamber must be maintained at a desired (constant) temperature. A second chamber (the electronics enclosure) houses a resistive heater and the temperature controller, and a fan mounted on the end of the dryer blows air across the heater, carrying heat into the slide chamber. This design project was carried out during academic year 1996–97 by four students under the author’s supervision as a Senior Design project in the Department of Engineering Science at Trinity University. The purpose of this paper is to describe the problem and the students’ solution in some detail, and to discuss some of the pedagogical opportunities offered by an interdisciplinary design project of this type. The students’ own report was presented at the 1997 National Conference on Undergraduate Research [1]. Section 2 gives a more detailed statement of the problem, including performance specifications, and Section 3 describes the students’ design. Section 4 makes up the bulk of the paper, and discusses in some detail several aspects of the design process which offer unique pedagogical opportunities. Finally, Section 5 offers some conclusions. 2 Problem Statement The basic idea of the project is to replace the relevant parts of the functionality of an Omega CN390 temperature controller using a customdesigned system. The application dictates that temperature settings are usually kept constant for long periods of time, but it’s noheless important that step changes be tracked in a ―reasonable‖ manner. Thus the main requirements boil down to 總之,無論是從同學、老師還是到學校。在我完成畢業(yè)設計的過程中提供了很多指導性的意見,使我能明確完成自己的設計。 陜西理工學院畢業(yè)設計 第 18 頁 共 39 頁 致 謝 畢業(yè)在即,為期兩個多月的畢業(yè)設計過程中,我收獲了許多,感悟了許多。我們不可能一直墨守陳規(guī),不能在恪守以前利用人力資源來控制溫濕度的方法。同時由于濕度變化波動比較大,造成報警頻繁,為濕度限值的設定也帶來了不小的麻煩。最后,通過各種測試與調試,讓設計更好的完成 系統(tǒng)要求。 經(jīng)過近兩個月的奮斗,從確定題目,到后來查找資料,理論學習,實驗編程調試,這一切都使我的理論知識和 動手能力有了很大的提高。 本系統(tǒng)以單片機為核心部件,利用軟件編程,最終實現(xiàn)了設計要求。如圖 , 4號檢測端濕度超限,對應加熱片全部工作。 經(jīng)過組合調試后,系統(tǒng)可以按照設計功能正常工作,本設計安裝調試結束。 重新調整電路后,以上問題得以解 決。最后進行軟硬件結合調試。 還有 通過 編制一些小的調試程序分別對相應各硬件單元電路的功能進行檢查。硬件調試主要是檢測硬件電路是否有短路、斷路、虛焊等。在焊接繼電器電路 時,元器件短缺,所需 2K電阻缺失,在經(jīng)過測試后決定使用雙 4K電阻并聯(lián)接入電路達到了同樣的效果,但缺點是占用了電路板空間。 在焊接過程中,由于所用器件較多前期所設計的一塊萬用板已不能滿足元器件排布,故選擇加入了第二塊萬用板進行焊接工作。 在燒錄前要對 STC_ISP_V480進行一些必要的設置。 陜西理工學院畢業(yè)設計 第 11 頁 共 39 頁 4 系統(tǒng)軟件設計 在對本設 計硬件部分做好認識后,需要建立程序框架的流程圖,對整個設計劃分軟件模塊,逐個模塊實現(xiàn)其功能,最終把各個子模塊合理的連接起來,構成總的程序。當線圈斷電后,電磁的吸力也隨之消失,銜鐵就會在彈簧的反作用力下返回 3點,使 1點與原來的 3點吸合。 溫濕度調控模塊 電磁式繼電 器一般由鐵芯、線圈、銜鐵、觸點等組成。 由直流電壓供電 , 廣泛應用 于電話機、報警器、復印機、計算機、打印機、 汽車電子設備、定時器等產(chǎn)品中作發(fā)聲器 [9]。該屏有以下特點: ⑴ OLED 有黃