【正文】
......................................................................................................3第二章 熱量表硬件電路設(shè)計...................................................................................................4 電源電路的設(shè)計............................................................................................................4 主控部分的設(shè)計............................................................................................................4 溫度檢測電路的設(shè)計....................................................................................................5 流量檢測電路的設(shè)計....................................................................................................6 顯示電路的設(shè)計............................................................................................................8 鍵盤電路的設(shè)計............................................................................................................8第三章 熱量表總體軟件設(shè)計...................................................................................................10 熱量表工作原理..........................................................................................................10 系統(tǒng)資源分配...............................................................................................................11 主程序的設(shè)計..............................................................................................................11第四章 熱量表軟件詳細設(shè)計...................................................................................................14 流量串口通訊設(shè)計.......................................................................................................14 溫度檢測設(shè)計..............................................................................................................15 焓值按鍵設(shè)計...............................................................................................................18 顯示部分軟件控制設(shè)計..............................................................................................18第五章 總結(jié)與展望...................................................................................................................20致謝.............................................................................................................................................21參考文獻.....................................................................................................................................22附錄一:總圖.............................................................................................................................23附件二:程序清單.....................................................................................................................24第一章 引言 選題背景如今,節(jié)能成為大家越來越來關(guān)注的話題。t install thermal scale, had to press construction area of charges. But according to the construction area of the heating fee is clearly unreasonable, should according to actual use of heat energy users to calculate. Hot scale, is a calculation of heat meter. Heat meter principle of work: will a temperature sensor separately installs in through the heat transfer fluid on the pays and pays under, flow meter installed in fluid entrance or backflow tubes. Flowmeter issued and flow proportional to the pulse signal, a temperature sensor gives said the analog signal temperature, and integrated calculate instrument collection from flow and temperature sensor signal, using the product formula is calculated for heat exchanging system of heat. A plete hot scale consists of three parts: flow sensor to measure the heat exchange system through the hot water flow。本文主要用到 51 系列的單片機,流量傳感器采用超聲波流量計,溫度采集使用如今市面上使用普遍的 DS18B20,便攜式的多點鍵盤。流量計發(fā)出與流量成正比的脈沖信號,一對溫度傳感器給出表示溫度高低的模擬信號,而積算儀采集來自流量和溫度傳感器的信號,利用積算公式算出熱交換系統(tǒng)獲得的熱量。熱量表,是計算熱量的儀表??墒悄壳耙驗榫用窦依镞€沒安裝熱量表,只好按建筑面積收費。南 昌 工 程 學(xué) 院畢 業(yè) 設(shè) 計 (論 文 )熱量表的設(shè)計與實現(xiàn)(軟件部分)The design and implementation of heat meters (software part)總計 畢業(yè)設(shè)計(論文) 32 頁 表 格 3 個 插 圖 12 幅摘要我國北方冬季要供暖,為了節(jié)約能源,大多數(shù)地區(qū)已通過熱網(wǎng)集中供熱。但是熱能作為一種商品來出售,當(dāng)然要收費了。但是按建筑面積收供熱費顯然是不合理的,應(yīng)該按照用戶實際用的熱能來計算。熱量表的工作原理:將一對溫度傳感器分別安裝在通過載熱流體的上行管和下行管上,流量計安裝在流體入口或回流管上。一個完整的熱量表由三個部分組成:流量傳感器,用以測量流經(jīng)熱交換系統(tǒng)的熱水流量;溫度傳感器,分別測量供暖進水和同水溫度;計算顯示器,根據(jù)與其相連的流量傳感器和溫度傳感器提供的流量和溫度數(shù)據(jù),通過熱量公式計算出用戶從熱交換系統(tǒng)獲得的熱量。關(guān)鍵詞:單片機 流量計 溫度采集器 Abstract Winter in the northern China to heating, in order to save energy, most areas already through the work of central heating. But heat as a modity to sell, of course, want to charge. But at present because families haven39。 The temperature se