【正文】
nter New 后面的編輯框內(nèi)直接輸入需要修改的程序語(yǔ)句,輸入完之后鍵入回車(chē)將自動(dòng)指向下一條語(yǔ)句,可以繼續(xù)修改,如果不在需要修改,可以點(diǎn)擊右上角的關(guān)閉按鈕關(guān)閉窗口。(2)匯編出現(xiàn)數(shù)字、字母混淆解決方法:字母“O” 和數(shù)字 “0”的混淆(3)程序調(diào)試時(shí),一些程序必須滿(mǎn)足一定的條件才能被執(zhí)行到解決方法:這些條件往往是異步發(fā)生或難以預(yù)先設(shè)定的,這類(lèi)問(wèn)題使用的單步實(shí)行方法是很難調(diào)試的,這時(shí)就要使用程序調(diào)試中的另一種非常重要是方法斷點(diǎn)設(shè)置。斷點(diǎn)設(shè)置的方法有多種,常用的是在某一程序行設(shè)置斷點(diǎn),設(shè)置好斷點(diǎn)后可以全速運(yùn)行程序,一旦執(zhí)行到該程序行即停止,可在此觀(guān)察有關(guān)變量值,以確定問(wèn)題所在。在程序行設(shè)置/移除斷點(diǎn)的方法是將光標(biāo)定位于需要設(shè)置斷點(diǎn)的程序行,使用菜單Debug/Insert/RemoveBreakPoint設(shè)置或移除斷點(diǎn)(也可以用鼠標(biāo)在該行雙擊實(shí)現(xiàn)同樣的功能);Debug/Enable/Disable BreakPoint是開(kāi)啟或暫停光標(biāo)所在懂行的斷點(diǎn)功能;Dubug/Disale All BreakPoint暫停所有斷點(diǎn);Debug/Kill All BreakPoint清除所有的斷點(diǎn)設(shè)置。這些功能也可以用工具條上的快捷鍵進(jìn)行設(shè)置。(4)輸入程序時(shí),有中文標(biāo)點(diǎn),用keil編譯時(shí)出現(xiàn)錯(cuò)誤解決方法:程序里有帶中文標(biāo)點(diǎn),用英文重輸入一遍??偨Y(jié)與展望氣體檢測(cè)報(bào)警器可保障生產(chǎn)與生活的安全,避免火災(zāi)和爆炸事故以及煤氣中毒的發(fā)生,它是防火、防爆和安全生產(chǎn)所必備的儀器,具有廣闊的市場(chǎng)空間與發(fā)展前景。本論文在對(duì)氣體傳感器和報(bào)警技術(shù)進(jìn)行深入研究的基礎(chǔ)上,全面比較國(guó)內(nèi)外同類(lèi)產(chǎn)品的技術(shù)特點(diǎn),合理地確定系統(tǒng)的設(shè)計(jì)方案。并對(duì)儀器的整體設(shè)計(jì)和各個(gè)組成部分進(jìn)行了詳細(xì)的分析和設(shè)計(jì)。本論文設(shè)計(jì)的氣體報(bào)警器由氣體信號(hào)采集電路與單片機(jī)控制電路兩大部分構(gòu)成。根據(jù)設(shè)計(jì)要求、使用環(huán)境、成本等因素,選用MQ2型半導(dǎo)體電阻式氣體傳感器。該傳感器是對(duì)以烷類(lèi)氣體為主的多種氣體有良好敏感特性的廣譜型半導(dǎo)體敏感器件。它的靈敏度適中,具有響應(yīng)與恢復(fù)特性好,長(zhǎng)期工作穩(wěn)定性、重現(xiàn)性、不易受環(huán)境影響及抗溫濕度影響等優(yōu)點(diǎn)。在系統(tǒng)單片機(jī)控制電路的設(shè)計(jì)上,采用了STC12C5A60S2單片機(jī)作為核心芯片,充分利用了其高速數(shù)據(jù)處理能力和豐富的片內(nèi)外設(shè),實(shí)現(xiàn)了儀器的小型化和智能化。使儀器具有結(jié)構(gòu)簡(jiǎn)單、性能穩(wěn)定、體積小、成本低等優(yōu)點(diǎn)。由于氣體傳感器需要在加熱狀態(tài)下工作,溫度越高,反應(yīng)越快,響應(yīng)時(shí)間和恢復(fù)時(shí)間就越快。為提高響應(yīng)時(shí)間,保證傳感器準(zhǔn)確地、穩(wěn)定地工作,需要向氣體傳感器持續(xù)供給5V的加熱電壓。氣體報(bào)警器能實(shí)時(shí)范圍檢測(cè)工作,當(dāng)煙霧的濃度達(dá)到設(shè)定的濃度時(shí),發(fā)出聲光報(bào)警。如果是電磁閥泄漏,還可以添加自動(dòng)斷閥裝置。在本論文研制的報(bào)警器的基礎(chǔ)上,可以再做適當(dāng)?shù)墓δ軘U(kuò)展,使可燃性氣體報(bào)警器的功能更加完善,安全性更高,使用更加方便等。 致謝通過(guò)這一階段的努力,我的畢業(yè)論文《基于單片機(jī)的煤氣泄漏檢測(cè)報(bào)警裝置設(shè)計(jì)》終于完成了,這意味著大學(xué)生活即將結(jié)束。在大學(xué)階段,我在學(xué)習(xí)上和思想上都受益非淺,這除了自身的努力外,與各位老師、同學(xué)和朋友的關(guān)心、支持和鼓勵(lì)是分不開(kāi)的。在本論文的寫(xiě)作過(guò)程中,我的導(dǎo)師蔣強(qiáng),廉哲老師傾注了大量的心血,從選題到開(kāi)題報(bào)告,從寫(xiě)作提綱,到一遍又一遍地指出每稿中的具體問(wèn)題,嚴(yán)格把關(guān),循循善誘,在此我表示衷心感謝。同時(shí)我還要感謝在我學(xué)習(xí)期間給我極大關(guān)心和支持的各位老師以及關(guān)心我的同學(xué)和朋友。寫(xiě)作畢業(yè)論文是一次再系統(tǒng)學(xué)習(xí)的過(guò)程,畢業(yè)論文的完成,同樣也意味著新的學(xué)習(xí)生活的開(kāi)始。我將銘記我曾是一名沈陽(yáng)理工學(xué)子,在今后的工作中把理工的優(yōu)良傳統(tǒng)發(fā)揚(yáng)光大。四年的讀書(shū)生活在這個(gè)季節(jié)即將劃上一個(gè)句號(hào),而于我的人生卻只是一個(gè)分號(hào),我將面對(duì)又一次征程的開(kāi)始。四年的求學(xué)生涯在師長(zhǎng)、親友的大力支持下,走得辛苦卻也收獲滿(mǎn)囊,在論文即將付梓之際,思緒萬(wàn)千,心情久久不能平靜。偉人、名人為我所崇拜,可是我更急切地要把我的敬意和贊美獻(xiàn)給平凡的人,我的導(dǎo)師。我不是您最出色的學(xué)生,而您卻是我最尊敬的老師。您治學(xué)嚴(yán)謹(jǐn),學(xué)識(shí)淵博,思想深邃,視野雄闊,為我營(yíng)造了一種良好的精神氛圍。授人以魚(yú)不如授人以漁,置身其間,耳濡目染,潛移默化,使我不僅接受了全新的思想觀(guān)念,樹(shù)立了宏偉的學(xué)術(shù)目標(biāo),領(lǐng)會(huì)了基本的思考方式,從論文題目的選定到論文寫(xiě)作的指導(dǎo),經(jīng)由您悉心的點(diǎn)撥,再經(jīng)思考后的領(lǐng)悟,常常讓我有“山重水復(fù)疑無(wú)路,柳暗花明又一村”。參考文獻(xiàn)[1] [M] .電子工業(yè)出版社. 2009.[2] [M]. 中國(guó)鐵道出版社. 2008.[3].[4] .[5] .[6] [M]..[7] 吳丙申,.[8] Kavanagh R C. Improved Digital Tachometer with Reduced Sensitivity to Sensor Nonideality. IEEE . Elect ron. , 2000 ,47 (4) : 890 – 897.[9] Prokin M. Ext remely Wide range Speed Measurement Using a Double2buffered Method. IEEE Trans. Ind. Electron. , 1994 ,41 (5) :550 – 559.[10] 樓然苗,北京:北京航空航天大學(xué)出版社,2003.[11] 陳愛(ài)萍,何智勇,羊四清.電子顯示屏的單片機(jī)控制系統(tǒng).自動(dòng)化與儀表[J],1999(7):54~57[12][M].北京:[1] [13] [M] ..[14] ..[15] UT550/UT520 Digital Indicating Controllers Users : Yokogawa,2003.附錄ANew HighAccuracy LowCost Approach for tanδ OnlineMonitoring Based on MCUAbstract Through analyzing the principle of microcurrent sensor and the shortage of zeroflux microcurrent sensor, a new online monitoring method of dielectric tangent of loss angle (tanδ) based on passive microcurrent sensor technology is presented. This method can not only overe difficulties existing in the manufacturing sensors of the high precision relative scale difference and the high precision angular difference which is often necessary in online monitoring of insulation dielectric tanδ, but also can achieve high precision at low cost. This method bines the balance measurement principle and potential puter difference measuring technology, and it can be easily realized by using microcontroller unit (MCU). It also adopts anticircumstance electromagnetic interference and intelligent diagnostic techniques in the course of measurement, so it possesses great antiinterference ability under strong electromagnetic interference environment. Both the principle analysis and the onsite test have proved that this measure method can reach goodtanδ monitoring precision.Index Terms Balance measurement principle, Dielectric loss, High voltage and insulation engineering, Online measurement, Zeroflux, Microcurrent sensorI. INTRODUCTIONIT will be a great technical advance in power system safelyworking if electric equipment insulation onlinemonitoring could carry into effect, it is worth to researchand develop deeply. There are more than twenty years ofdevelopment of the power equipment online monitoringmeasurement in China. Many universities and institutes arepaying attention to new methods in this field. Now theresearch is focus on technology of signal obtaining andprocessing, and also reducing molestation. The way ofsignal obtaining is to measure current which passed thecapacitance equipment by microcurrent sensor. Microcurrentsensors used in this way always are no energy, their intensityof iron core magnetic inductions is affected by temporal inputcurrent and load characteristic easily. This brings unsteadinessof sensor39。s angle difference and relative scale difference IXitwill bring measurement difference and steadiness. To solvethis question, part of researchers are researching zero fluxcurrent sensor, which is expected to have capability ofmonitoring system. Another part of researchers try tosolve the question of unsteadiness of sensor39。s angle differenceby signal processing technology and data fusion technology. It is also a brainteaser to obtain a steadiness and accuratetanδmeasurement of online monitoring. It is important if anew tanδonline monitoring method could be found to applyon it.Owing to the difficulties existing in the manufacture ofsensor and microcurrent dielectric loss tanδmeasurementmethods have not been resolved until now, which blocks thepopularization of the insulation online monitoring technology. Based on the existing status of insulation online monitoringmicrocurrent sensor and dielectric loss tanδmonitoringmeasuring technique, this paper proposes a low cost highprecision online dielectric loss tanδmonitoring measurementmethod.II. PRINCIPLE OF MICROCURRENT SENSOR AND ANALYSIS OF EXISTING PROBLEMCurrent sensor39。s primary coil and secondary coil cancouple by magnetic energy. Using T model equivalent circuit, the current sensor can be equivalent as Figl:Fig. 1. The equivalent circuit of current sensor. The vector map of current sens