【正文】
410)mm。(2)機械鋼帶式液位儀鋼帶式液位儀采用一個又大又重的浮子,由一條多孔鋼帶將浮子連接至一個恒轉(zhuǎn)矩裝置或平衡錘。目前使用的液位儀有以下幾種:(1)人工檢尺利用浸入式刻度鋼皮尺測量液位,取樣測量油溫和密度,通過計算,得到儲液的體積和重量,這是至今仍然在全世界廣泛使用的儲罐計量方法,也可把它用作現(xiàn)場檢驗其他測量儀表的參考手段。在傳統(tǒng)原理中也滲透了電子技術(shù)及微機技術(shù),結(jié)構(gòu)有了很大的改善,功能也有了很大的提高。本超聲波油量測量儀,成本低,操作簡便,功能強大,與傳統(tǒng)的液位測量方法相比,具有非接觸、速度快、精度高、自動控制、可靠性強、價格低廉等優(yōu)點。編號 本科生畢業(yè)設(shè)計 超聲波油量測量儀的設(shè)計Design of Supersonic OilInstrumentation Quantity Instrument學(xué) 生 姓 名席天文專 業(yè)計算機科學(xué)與技術(shù)學(xué) 號0641216指 導(dǎo) 教 師劉廣文學(xué) 院信息工程分院20010 年 6 月摘 要本設(shè)計針對加油站儲油罐中油量的測量問題,深入討論了用超聲波作為信號源進行液位測量的可行性及優(yōu)越性,討論了產(chǎn)生誤差的各種原因,提出了相應(yīng)的解決辦法。本設(shè)計以AT89C52單片機最小系統(tǒng)為核心,以超聲波測距原理為理論依據(jù),利用超聲波作為控制信號對油量進行自動檢測和數(shù)據(jù)處理,減少測量過程中的人工干預(yù),提供了一個帶有顯示、鍵盤的人機對話界面,方便了操作人員對油量的實時監(jiān)控,通過微型打印機或與PC機進行通信等方式打印、保存有關(guān)數(shù)據(jù),能夠更好地對油量的存儲情況進行管理。關(guān)鍵詞:超聲波 液位測量 單片機 非接觸Abstract The design for the gas station fuel tanks in the measurement problem, indepth discussion of the use of ultrasound as a signal source to carry out the feasibility of liquid level measurement and the superiority of the errors discussed a variety of reasons, the corresponding solution. AT89C52 singlechip designs to the smallest system to the core, the principle of ultrasonic distance measurement theoretical basis for the use of ultrasound on oil as a control signal for automatic detection and data processing, to reduce the measurement in the process of human intervention, provided with a display , keyboard interface of manmachine conversation and make it easier for operators of realtime monitoring of oil through the microprinter or PCmunication such as print, save the data, to better the situation on the oil storage management. Ultrasonic measurement of the fuel, low cost, simple, powerful, and traditional methods of liquid level measurement, with noncontact, high speed, high precision, automatic control, reliable and low cost advantages. Keywords: Ultrasonic liquid level measurement singlechip noncontact目錄第一章 引言 內(nèi)外液位計量儀表的現(xiàn)狀.........................................................1 1 2.............................................2.........................................................3第二章超聲波油量測量儀測量原理 4.....................................................................4 4 5 6 T/R40超聲波傳感器 7.............................................................7 7 9第三章 超聲波油量測量儀的總體設(shè)計 13....................................................................................13............................................................................................14第四章 系統(tǒng)結(jié)構(gòu)及硬件設(shè)計 15...............................................15 AT89C52單片機最小系統(tǒng)..............................................................15.......................................................................16 16 16...............................................................................17 17 18 8279接口電路與鍵盤顯示電路......................................................19 8279接口電路設(shè)計 19..................................................... 21 21 DS18B20與單片機的典型接口設(shè)計 22................................................................22第五章 軟件設(shè)計 23....................................................................................23 23 23...........................................................24 24 25............................................................................................26 26 27第六章 抗干擾處理 30................................................................................30................................................................................30結(jié) 論 32參考文獻 33致 謝 34第一章 引言、內(nèi)外液位計量儀表的現(xiàn)狀早期國外液位計量儀表大多采用機械原理,但近年來隨著電子技術(shù)的應(yīng)用,逐步向機電一體化發(fā)展,并且發(fā)展了許多新的測量原理。從國外液位儀表的發(fā)展動向看,當(dāng)前主要有三個熱點:①智能化液位儀;②非接觸測量方式的液位儀;③新原理的小型液位開關(guān)。人工液位測量的精度一般為士2mm的人為誤差。浮子的重量足以帶動多孔鋼帶通過齒輪裝置推動機械計數(shù)器作現(xiàn)場顯示,同時帶動電動變送器,以便獲得遠距離顯示。(3)智能化液位儀伺服式液位儀是此類儀表的代表。伺服式液位儀的微機智能化。(4)超聲波液位儀超聲波液位儀是非