【正文】
最小系統(tǒng)的設(shè)計 ................................................................................ 9 單片機最小系統(tǒng) ..................................................................................... 11 數(shù)據(jù)存儲芯片選擇 ...........................................................................................13 鍵盤輸入接口設(shè)計 ...........................................................................................15 打印機的設(shè)計 ...................................................................................................16 顯示器的設(shè)計 ...................................................................................................17 測井儀與通信接口電路設(shè)計 ...........................................................................18 測量 CPU 系統(tǒng)設(shè)計 ...........................................................................................19 大鉤懸重傳感器 ...............................................................................................19 A/D 轉(zhuǎn)換 ............................................................................................................20 絞盤編碼器 .....................................................................................................21 鉆壓扭距傳感器 .............................................................................................23 PWM 控制 ..........................................................................................................24 第 4 章 軟件設(shè)計 ............................................................................................................26 測量 CPU............................................................................................................26 事物處理 CPU....................................................................................................26 測量 CPU 說明及主流程 ...................................................................................27 事務(wù)處理 CPU 說明及主流程圖 .......................................................................29 DS12887 說明及流程圖 .........................................................................30 LCD240128A 說明及流程圖 ...................................................................30 鍵盤設(shè)計流程圖 ....................................................................................32 下位機通信流程圖 .................................................................................33 W29C040 存儲器說明及流程圖 .............................................................34 本科生畢業(yè)設(shè)計(論文) IV TPμP — 40 打印機說明及流程圖 .........................................................35 第 5 章 總結(jié) ....................................................................................................................37 參考文獻 ..........................................................................................................................38 致謝 ..................................................................................................................................39 附錄Ⅰ ..............................................................................................................................40 附錄Ⅱ ..............................................................................................................................57 附錄Ⅲ ..............................................................................................................................59 本科生畢業(yè)設(shè)計(論文) 1 第 1 章 緒論 鉆井工程技術(shù)發(fā)展的背景 在經(jīng)濟全球化的大背景下, 結(jié)合當(dāng)前國際石油背景,全球油價的居高不下,引起世界各國對石油勘探開發(fā)熱潮,對鉆井的要求越來越高,鉆井的工作量也越來越大。 and This paper will be a drilling process using dual CPU system parameter measurement, because each parameter is the signal of the analog signal, need a CPU has been gathering, and the CPU and read with the work that print, so avoid measurement errors, take a more convenient CPU measurement system, is a transaction processing CPU, the other is a measurement processing CPU, double CPU are the use of various parameters of AT89S52 SCM control, well depth measurement is used together with the winch encoder weighing transducer to make the measurement, the measurement of drilling pressure torque is used more practical measurement method of the strain gauge. The advantages of this paper is to use the system to work, twin CPU strain measurement hair drilling pressure torque, convenient and quick to realize the measurement of each parameter. Key word: SCM。 本科生畢業(yè)設(shè)計(論文) I 摘要 進入 21 世紀(jì)以來,石油是不可缺少的能源之一, 隨著國民經(jīng)濟的迅速發(fā)展,對地下開采石油量的需求不斷增長 , 現(xiàn)代鉆井技術(shù)有了新的發(fā)展, 本文主要 研究鉆井工程中各個參數(shù)的測量。 關(guān)鍵字 :單片機 ; 鉆壓 ; 鉆井 ;扭矩;監(jiān)測 本科生畢業(yè)設(shè)計(論文) II Abstract In the 21 century, the oil is one of the indispensable energy, as the national economy of the rapid development of underground mining, the amount of oil rising demand, modern drilling technology is a new development, so this paper is mainly drilling engineering research in the measurement of each parameter. The traditional drilling equipment huge volume, not easy installation, the output signal is monly analog signals, measurement accuracy is not high, the realtime failure, not easy also ruled out, so give drilling work brings huge risks。 drilling 。東部地區(qū)淺層和中深層的勘探程度較高,深部地層尚有 50 多億噸的石油儲量可供勘探。所以設(shè)計出一個實時性高,精確度高的測量井深、鉆壓等參數(shù) 的系統(tǒng) 是 很有必要的。冶金鑄造技術(shù)、工具設(shè)計制造、精密儀器的研制加工等都有了長足的進步,從而有力推動了地球科學(xué)、石油工業(yè)及其他有關(guān)行業(yè)的發(fā)展。要想從根本上降低勘探鉆井費用和勘探風(fēng)險 ,就必須摒棄現(xiàn)行的鉆井方式,另辟蹊徑,開發(fā)一種完全不同的鉆井方式。目前我國研制出多參數(shù)隨鉆測井系統(tǒng),該系統(tǒng)是集 鉆井、測井和油藏工程技術(shù) 為一體,并且該系統(tǒng)可以 同時測量儀器周圍的側(cè)向環(huán)形電阻率、方位 電阻率以及方位自然伽馬等地層地質(zhì)參數(shù),以及無線隨鉆測量系統(tǒng)測量的井斜、方位、工具面等井眼工程參數(shù)。自動控制技術(shù)在機械驅(qū)動清醒鉆機主機上的使用,成熟技術(shù)主要 有電子控制汽油噴射裝置、電子控制自動變速器、大鉤限重級天車防碰自動控制系統(tǒng)、電子司鉆、電視監(jiān)控系統(tǒng)。在中、大型電驅(qū)動石油鉆機上已有應(yīng)用,但此系統(tǒng)在輕型電 驅(qū)動鉆機上還從沒有配置過。它采用新型先進的攝像機和監(jiān)視器,并配有溫度控制、壓力控制、空氣過濾器等設(shè)備,以滿足惡劣環(huán)境使用和防爆要求。 本文主要采用的是雙 CPU 的方法測量各個參數(shù)的,具體要知道各個 CPU 的選型,每個 CPU都是怎么去工作的,都有什么優(yōu)點,而且測量 還 需要 各個傳感器來測量參數(shù),有大鉤懸重傳感器,鉆壓扭距傳感器, 要確定每個傳感器的選型,跟測量的大小范圍、優(yōu)點等。編碼器信號是數(shù)字信號,可以采用中斷方式接收,但懸重信號是模擬信號,必須由 CPU 一直采樣測量并監(jiān)視 。 在傳感器選擇方面,由于在鉆井的過程中,由于要用到很多根鉆桿,尤其是在提升鉆桿的過程中,大鉤要吊起地下所有鉆桿的重量,因此懸重傳感器 的量程需要很大,但另外一方面當(dāng)鉆桿數(shù)量很少時,增加或減少一根鉆桿可能會引起很小的變化,這就需要懸重傳感器有很高的精度,統(tǒng)計鉆桿數(shù)量關(guān)鍵是檢測到當(dāng)前是在增加或