【正文】
( 2020 屆) 本科畢業(yè)設(shè)計(jì)(論文)資料 題 目 名 稱: 基于 DSP 的數(shù)字溫度計(jì)的設(shè)計(jì) 學(xué) 院(部): 電氣與信息工程學(xué)院 專 業(yè): 信息工程 學(xué) 生 姓 名: 班 級: 學(xué)號 指導(dǎo)教師姓名: 職稱 教授 最終評定成績: 湖南工業(yè)大學(xué)教務(wù)處 2020屆 本科畢業(yè)設(shè)計(jì)(論文)資料 第一部分 畢業(yè)論文 ( 2020 屆) 本科畢業(yè)設(shè)計(jì)(論文) 學(xué) 院(部): 電氣與信息工程學(xué)院 專 業(yè) : 信息工程 學(xué) 生 姓 名 : 鄧仕林 班 級 : 信工 081 學(xué)號 08401400131 指導(dǎo)教師姓名 : 李圣清 職稱 教授 最終評 定成績 : 2020年 6 月 湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) I 摘 要 溫度是過程檢測與控制的重要參量,隨著人們對溫度進(jìn)行精確測量和控制要求的提高,傳統(tǒng)的溫度計(jì)已經(jīng)不能滿足人們在高精度方面的要求,設(shè)計(jì)一款能夠精確測量溫度的數(shù)字溫度計(jì)成為一件刻不容緩的事情。 本設(shè)計(jì)綜述了數(shù)字溫度計(jì)的設(shè)計(jì)與制作原理,詳細(xì)介紹了數(shù)字溫度計(jì)的背景與意義、任務(wù)及要求,主控制芯片 TMS320LF2407A 及溫度傳感器 DS18B20 的工作原理,并繪出了總體設(shè)計(jì)原理框圖。本設(shè)計(jì)利用 DSP 作為控制內(nèi)核, 給出了測溫電路、電源電路、復(fù)位電路、按鍵電路、液晶顯示電路的原理圖及相關(guān)參數(shù)?;?C語言程序,給出了主程序、初始化程序、測溫程序及超限報(bào)警系統(tǒng)程序的設(shè)計(jì)。本論文設(shè)計(jì)的多功能數(shù)字溫度計(jì),可以設(shè)置上下報(bào)警溫度,當(dāng)溫度不在設(shè)置范圍內(nèi)時(shí),可以報(bào) 警。與傳統(tǒng)的溫度計(jì)相比,具有讀數(shù)方便、測溫范圍廣、測溫準(zhǔn)確及溫度 液晶顯示等優(yōu)點(diǎn)。 關(guān)鍵詞 : 數(shù)字溫度計(jì) ,溫度傳感器 DS18B20, DSP, 溫度測量 湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) II ABSTRACT Temperatures are an important parameters in process measurement and control, Along with people to accurate measure and control requirements of the temperature requirements improve, traditional thermometers cannot have satisfied people in the highprecision requirements, design a precise digital thermometer for measuring temperature bees an urgent thing. This summary of the digital thermometer principles principle in the design and fabrication, details the background and significance, tasks and requirements of the thermometer, main control chip TMS320LF2407A and temperature sensor DS18B20 principle of work, and sketch out the General design principle block diagram. The design using DSP as control kernel, gives the measuring circuit, power supply circuits, keypad circuits, liquid crystal display circuit principle diagram and the related parameters about the temperature. The main program, initial program, temperature measurement procedures and overrun alarm system program design are based on the C language program .The thesis design of thermometer is a multifunctional digital thermometer, it can set the upper and lower alarm temperature, when the temperature is not within the set range, and can call the police .The thesis design of thermometer have many advantages pared with the traditional thermometer, such as easy reading, wide temperature range, accurate temperature measurement and temperature output liquid crystal display and so on. Keywords: Digital thermometers, Temperature sensors DS18B20, DSP, Temperature measurement 湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) III 目 錄 摘 要 ............................................................................................................... I ABSTRACT .......................................................................................................... II 目 錄 ............................................................................................................ III 第 1 章 緒論 .................................................................................................... 5 設(shè)計(jì)的背景和意義 ........................................................................................................ 5 設(shè)計(jì)任務(wù)及要求 ............................................................................................................ 5 溫度測量方案選擇 ........................................................................................................ 5 本設(shè)計(jì)所做的工作 ........................................................................................................ 6 第 2 章 芯片功能介 紹 ......................................... 7 主控制 DSP 芯片 ...................................................... 7 DSP 芯片介紹 .................................................... 7 主控制 DSP 芯片在本設(shè)計(jì)中的功能 .................................. 8 DS18B20 溫度傳感器簡介 .............................................. 8 芯片簡介 ........................................................ 8 DS18B20 外形和內(nèi)部結(jié)構(gòu) .......................................... 9 DS18B20 的工作時(shí)序 ............................................. 11 第 3 章 系統(tǒng)硬件電路的設(shè)計(jì) ................................... 13 電源電路設(shè)計(jì) ....................................................... 13 接口電路設(shè)計(jì) ....................................................... 14 液晶顯示模塊設(shè)計(jì) ................................................... 15 復(fù)位電路的設(shè)計(jì) ..................................................... 16 鍵盤及報(bào)警電路設(shè)計(jì) ................................................. 17 鍵盤電路的設(shè)計(jì) ................................................. 17 報(bào)警電路的設(shè)計(jì) ................................................. 18 主控制電路和測溫控制電路的總體設(shè)計(jì) ............................... 19 第 4 章 系統(tǒng)軟件程序的設(shè)計(jì) ................................... 20 C 語言簡介 ......................................................... 20 湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) IV 主程序 ............................................................. 20 DS18B2 初始化程序 .................................................. 23 讀取溫度程序 ....................................................... 24 溫度超限報(bào)警程序 ................................................... 26 結(jié) 論 ....................................................... 29 參考文獻(xiàn) ..................................................... 30 致 謝 ....................................................... 31 附 錄 .......................................