【正文】
渦街流量計(jì) 摘 要 計(jì)量是工業(yè)生產(chǎn)的眼睛。流量計(jì)量是計(jì)量科學(xué)技術(shù)的組成部分之一,它與國民經(jīng)濟(jì)有著密切的關(guān)系。尤其在當(dāng)今能源危機(jī),工業(yè)生產(chǎn)自動(dòng)化越來越高,能源使用浪費(fèi)現(xiàn)象嚴(yán)重的時(shí)代情況下。流量計(jì)有了越來越重要的地位,受到人們?cè)絹碓蕉嗟年P(guān)注。在當(dāng)今社會(huì)流量計(jì)已經(jīng)廣泛運(yùn)用于工農(nóng)業(yè)生產(chǎn), 交通運(yùn)輸 ,國防建設(shè),科學(xué)研究,對(duì)外貿(mào)易,以及人民生活的各個(gè)角落,由此可見對(duì)流量計(jì)的研究與開發(fā)認(rèn)知,有著廣泛的意義和作用! 根據(jù)實(shí)現(xiàn)功能的需要,本課題設(shè)計(jì)了一款基于 AT89C51 為核心的單片機(jī)氣體渦輪流量計(jì)。該流量計(jì)具有測(cè)量精度高,能耗低 ,穩(wěn)定性好,測(cè)量范圍廣,維修方便等優(yōu)勢(shì)??刂破髦餍酒?AT89C51 具有低功耗,驅(qū)動(dòng)能力強(qiáng),穩(wěn)定性好等特點(diǎn)。根據(jù)設(shè)計(jì)要求硬件部分主要分四個(gè)模塊,即流量傳感變送模塊,主控 CPU 智能模塊, LED 數(shù)碼管顯示模塊和上位機(jī)通訊模塊。 各模塊能獨(dú)立工作,并通過通訊接口,鍵盤模塊等功能模塊組成功能完善的整體。流量計(jì)的設(shè)計(jì)結(jié)構(gòu)合理,運(yùn)行穩(wěn)定可靠,同時(shí)具有了 RS485 通信接口,適合應(yīng)用于遠(yuǎn)程分布式系統(tǒng)的流量檢測(cè) 關(guān)鍵詞: 渦輪氣體流量傳感器 AT89C51 芯片 RS485 通訊接口 ABSTRACT Measurement is the eyes of industrial production. Flow measurement is the measurement of science and technology, it is part of the national economy and have a close relationship.. Especially in today39。s energy crisis, industrial production and high automation, energy use serious waste of time situation.. Flowmeter have an increasingly important position, gets more and more attention. .In today39。s society flowmeter have been widely used in industrial production, transportation, national defense construction, scientific research, trade, and people39。s life. Thus the research and development of flowmeter is widely cognitive, the significance and role of! According to the realization of the function, this topic design based on AT89C51 microcontroller as the core of gas turbine flow meter. The meter has high accuracy, good stability, low energy consumption, measuring range, convenient maintenance ) 渦街流量計(jì) 2 and other advantages. Main chip controller with low consumption, drive AT89C51 ability, good stability .According to the design requirements of the hardware part four modules, namely flow sensor and control variable send module CPU intelligent module, LED digital display module and tube puter munication module .Each module can work independently, and through the munication interface module, keyboard function module function perfect overall. The design flow with reasonable structure, stable operation, also has the RSfive 485 munication interface, suitable for application of remote distributed system flow testing. Key words: Turbine wheel gas flow amount sensor; AT89C51 chip; RS485 munication connection; ) 渦街流量計(jì) 1 目 錄 第一章 緒論 ? ?????????????????? 1 課題背景 ? ?????????????????? 1 流量計(jì)的發(fā)展 ????????????????? 1 流量計(jì)的分類及其工作原理?? ????????? 2 研究的內(nèi)容與目的 ??????????????? 7 第二章 流 量計(jì)的設(shè)計(jì)基本原理 ? ? ??????? ? ? 8 渦輪流量計(jì)的基本工作原理 ??????????? 8 流量計(jì)的結(jié)構(gòu) ????????????????? 9 第三章 流量計(jì)的硬件電路設(shè)計(jì) ?? ????????? 10 流量傳感變送模塊 ? ?????????????? 10 AT89C51單片機(jī)模塊設(shè)計(jì) ???????????? 11 鍵盤液晶顯示部分 ??????????????? 11 通信模塊 ? ?????????????????? 16 第四章 軟件部分設(shè)計(jì) ?? ????? ????????? 19 主程序設(shè)計(jì) ? ????????????????? 19 中斷程序 ? ?????????????????? 20 流量檢測(cè)程序 ? ???????????????? 21 功能塊程序 ? ????????????????? 22 第五章 總結(jié) ?? ?????????????????? 23 參考文獻(xiàn) ??????? ? ???????? ? ??? 24 外文資料 中文譯文 致謝 ) 渦街流量計(jì) 1 第一章 緒論 課題背景 流量作為工業(yè)生產(chǎn)過程中檢測(cè)控制中一個(gè)重要的參數(shù),在 工業(yè) 生產(chǎn)、交通運(yùn)輸、能源計(jì)量、國防建設(shè)、環(huán)境保護(hù)、科學(xué)研究 以及人民生活各個(gè)領(lǐng)域中都有著重要的作用。伴隨科學(xué)技術(shù)的進(jìn)步,對(duì)流量計(jì)量人們提出了更高的要求,而且在全球自然資源供應(yīng)日趨緊張的今天,提高流量測(cè)量精度有著舉足輕重的現(xiàn)實(shí)意義。 流量計(jì)量是計(jì)量科學(xué)的重要組成部分之一,凡涉及到有流動(dòng)介質(zhì)的工藝過程,無論是氣體,液體,還是固體粉料,都有一個(gè)流量的檢測(cè)與控制環(huán)節(jié)。所以, 流量計(jì)量在各行各業(yè)以及人們生活中都扮演著極其重要的角色,是人們對(duì)生產(chǎn)流程進(jìn)行監(jiān)督控制、保障安全、改進(jìn)工藝、經(jīng)濟(jì)核算的基礎(chǔ)。 因此,流量計(jì)量技術(shù)的發(fā)展,直 接關(guān)系到整個(gè)國民經(jīng)濟(jì),民生的發(fā)展,尤其在工業(yè)技術(shù)迅速發(fā)展和能源問題日益突出的今天,流量的對(duì)象、環(huán)境日趨多樣化,對(duì)流量測(cè)量精度的要求也越來越高。對(duì)流體流量的精確測(cè)量和調(diào)節(jié),不但是保證工藝過程處于最佳運(yùn)行狀態(tài)的重要前提,也是正確評(píng)價(jià)生產(chǎn)過程經(jīng)濟(jì)性的保證。同時(shí),隨著工業(yè)生產(chǎn)自動(dòng)化、管道化的發(fā)展,流量?jī)x表在整個(gè)儀表生產(chǎn)中所占的比重也越來越大,目前已廣泛應(yīng)用于生物、石油、化工、冶金、電力、醫(yī)藥、食品、能源管理、航空航天、機(jī)械制造等行業(yè)的流量積算和定量控制。 流量計(jì)發(fā)展 流量測(cè)量?jī)x表是用來測(cè)量管道或明溝中的 液體、