基于pid算法的小型恒溫水浴鍋控制系統(tǒng)的設(shè)計(jì) 畢業(yè)論文.doc
基于pid算法的小型恒溫水浴鍋控制系統(tǒng)的設(shè)計(jì) 畢業(yè)論文,基于pid算法的小型恒溫水浴鍋控制系統(tǒng)的設(shè)計(jì)摘 要日常生活中我們使用水浴鍋加熱時(shí)會發(fā)現(xiàn),當(dāng)水溫加熱到我們期望的溫度值時(shí),即使立即停止加熱,還是會存在一個(gè)慣性的加熱趨勢,浴鍋的溫度會繼續(xù)上升。所以我們很難得到一個(gè)精確的溫度控制值。本設(shè)計(jì)方案是核心芯片采用瑞薩r8c25單片機(jī),通過pid算法對所收集到的數(shù)據(jù)進(jìn)行一個(gè)模糊處理...
內(nèi)容介紹
此文檔由會員 dustinblog 發(fā)布基于PID算法的小型恒溫水浴鍋控制系統(tǒng)的設(shè)計(jì)
摘 要
日常生活中我們使用水浴鍋加熱時(shí)會發(fā)現(xiàn),當(dāng)水溫加熱到我們期望的溫度值時(shí),即使立即停止加熱,還是會存在一個(gè)慣性的加熱趨勢,浴鍋的溫度會繼續(xù)上升。所以我們很難得到一個(gè)精確的溫度控制值。本設(shè)計(jì)方案是核心芯片采用瑞薩R8C25單片機(jī),通過PID算法對所收集到的數(shù)據(jù)進(jìn)行一個(gè)模糊處理,得出相對穩(wěn)定的溫度輸出數(shù)據(jù)。實(shí)現(xiàn)實(shí)時(shí)溫度測量、溫度顯示、超出上限或下線1度時(shí)蜂鳴報(bào)警提示等功能的小型恒溫水浴鍋控制系統(tǒng)。該設(shè)計(jì)采用TMP100溫度控制器,分辨率采用0.0625,誤差控制在1攝氏度以內(nèi)。此設(shè)計(jì)通過多次測試后,證實(shí)能夠較穩(wěn)定的得到我們所需要的溫度值。
關(guān)鍵詞:PID,恒溫水浴鍋,R8C25,TMP100
PID ALGORITHM BASED ON SMALL CONSTANT TEMPERATURE WATER BATH POT CONTROL SYSTEM DESIGN
ABSTRACT
Everyday life we use the water bath heating, you will find, when the water temperature is heated to the desired temperature value, even if the immediate cessation of heating or heating trend there is an inertia, the temperature of the bath will continue to rise. So difficult for us to get an accurate temperature control value.This design is the core chip uses the Renesas R8C25 microcontroller, a vague, draw a relatively stable temperature output data on the data collected by the PID algorithm. Real-time temperature measurement, temperature, exceeding the upper limit of 1 degree or offline beep alarm functions of the small constant temperature water bath control system. The design uses the TMP100 temperature controller with a resolution of 0.0625, error control within 1 degree Celsius. This design through several tests confirmed that we need a more stable temperature.
Keywords: PID, constant temperature water bath, the R8C25, the TMP100
目 錄
第一章 緒論---------------------------------------------------------------------------------------------------------1
1.1引言----------------------------------------------------------------------------------------------------1
1.1.1 國內(nèi)外恒溫控制系統(tǒng)的研究現(xiàn)狀-----------------------------------------------------------------1
第二章 PID技術(shù)介紹--------------------------------------------------------------------------------------------2
2.1 PID技術(shù)介紹------------------------------------------------------------------------------------------------2
2.1.1 PID控制簡介------------------------------------------------------------------------------------------2
2.1.2 怎樣設(shè)定PID溫控器--------------------------------------------------------------------------------4
2.1.3 PID調(diào)試步驟------------------------------------------------------------------------------------------4
第三章 系統(tǒng)的硬件設(shè)計(jì)方案------------------------------------------------------------------------------------ 5
3.1 TMP100溫度傳感器---------------------------------------------------------------------------------------5
3.1.1 基本參數(shù)及引腳說明------------------------------------------------------------------------------5
3.1.2 TMP100內(nèi)部寄存器描述-------------------------------------------------------------------------6
3.1.3 TMP100工作原理---------------------------------------------------------------------------------7
3.2 R8C25單片機(jī)-----------------------------------------------------------------------------------------7
3.2.1 基于R8C25單片機(jī)溫度控制系統(tǒng)的原理----------------------------------------------------- 7
3.2.2 單片機(jī)R8C25介紹---------------------------------------------------------------------------------8
3.3 LCDACM802C顯示器------------------------------------------------------------------------------------9
3.3.1 LCDACM802C顯示器簡介-----------------------------------------------------------------------9
3.3.2 LCDACM802C基本參數(shù)及引腳功能----------------------------------------------------------10
3.4 CPU與各元件的連接電路------------------------------------------------------------------------------11
3.5 溫度采集電路---------------------------------------------------------------------------------------------12
3.6 LCD顯示電路---------------------------------------------------------------------------------------------13
3.7蜂器報(bào)警電路----------------------------------------------------------------------------------------------13
第四章 軟件設(shè)計(jì)--------------------------------------------------------------------------------------------------15
4.1 軟件程序設(shè)計(jì)流程圖------------------------------------------------------------------------------------15
4.2 溫度讀取與顯示流程圖---------------------------------------------------------------------------------15
4.3報(bào)警子程序流程圖----------------------------------------------------------------------------------------16
第五章 總結(jié)--------------------------------------------------------------------------------------------------------18
參考文獻(xiàn)---------------------------------------------------------------------------------------------------------19
致謝------------------------------------------------------------------------------------------------------------------20
附錄------------------------------------------------------------------------------------------------------------------21
TA們正在看...
- 高三生物第一輪復(fù)習(xí)dna結(jié)構(gòu)和復(fù)制非選擇題53題(包...doc
- xx市特殊教育提升計(jì)劃實(shí)施方案.doc
- xx市礦產(chǎn)資源總體規(guī)劃(2016-2020年).doc
- xxx市國民經(jīng)濟(jì)和社會發(fā)展十三五規(guī)劃.doc
- xxx市服務(wù)業(yè)“十三五”發(fā)展規(guī)劃.doc
- xxx市工業(yè)經(jīng)濟(jì)“十三五”發(fā)展規(guī)劃.doc
- xxx市農(nóng)業(yè)和農(nóng)村經(jīng)濟(jì)“十三五”發(fā)展規(guī)劃.doc
- xx市交通業(yè)“十三五”發(fā)展規(guī)劃.doc
- xx市財(cái)政收支“十三五”發(fā)展規(guī)劃.doc
- “學(xué)在xx”三年行動計(jì)劃(2014—2016年).doc