基于FPGA的激光氣體分析儀的數(shù)據(jù)處理及數(shù)據(jù)通信
本文選題:FPGA + 信號(hào)采樣�。� 參考:《北京交通大學(xué)》2012年碩士論文
【摘要】:為了改進(jìn)激光氣體分析儀,本論文在AD采樣選用了AD7862高速、低功耗、雙核12位模數(shù)轉(zhuǎn)換器,在FPGA中實(shí)現(xiàn)了一個(gè)能夠取代單片機(jī)控制AD轉(zhuǎn)換的AD控制器,并對(duì)轉(zhuǎn)換后的數(shù)字信號(hào)進(jìn)行工業(yè)中常用的中位值平均濾波處理,使得被測(cè)氣體的濃度值更加準(zhǔn)確。在單片機(jī)處理數(shù)據(jù)之后提出了其與PC機(jī)之間的串行通信,使得激光氣體分析儀網(wǎng)絡(luò)化。 根據(jù)AD7862的工作原理及工作時(shí)序,在ISE軟件中用Verilog語言設(shè)計(jì)該控制器,設(shè)計(jì)采用有限狀態(tài)機(jī)的方式,然后在ISE軟件中建立它的測(cè)試平臺(tái),用測(cè)試向量來激勵(lì)所設(shè)計(jì)的控制器,判斷設(shè)計(jì)的控制器是否合理;根據(jù)中位值平均濾波的方法,在ISE軟件中用VHDL語言設(shè)計(jì)該濾波器,設(shè)計(jì)采用流水線的方式,然后在TSE軟件中建立它的測(cè)試平臺(tái),用測(cè)試向量來激勵(lì)所設(shè)計(jì)的濾波器,判斷設(shè)計(jì)的濾波器是否合理;在Proteus軟件里設(shè)計(jì)實(shí)現(xiàn)PC機(jī)和AT89C51間的串口通信,下位機(jī)AT89C51由Proteus設(shè)計(jì)的仿真電路代替,即用純軟件來完成二者的通信,用串口調(diào)試助手SComAssistant V2.1實(shí)現(xiàn)PC機(jī)軟件,用匯編語言實(shí)現(xiàn)單片機(jī)的軟件。 AD7862控制器用ISE自帶的ModelSim仿真,仿真圖完全符合該芯片轉(zhuǎn)換的要求;濾波模塊同樣用ModelSim仿真,仿真圖與該濾波方法穩(wěn)合,而且適于任何氣體濃度的數(shù)據(jù);單片機(jī)和PC機(jī)通信中,單片機(jī)給PC傳送數(shù)據(jù),在虛擬終端顯示數(shù)據(jù),PC機(jī)給單片機(jī)傳送數(shù)據(jù),同樣在虛擬終端顯示,而且回傳給PC機(jī);分析了兩者間相互通信在氣體分析儀中的實(shí)際應(yīng)用。 通過三方面的改進(jìn),激光氣體分析儀能夠測(cè)出更加準(zhǔn)確的氣體濃度值,以便采取更好的措施來保護(hù)我們的生存環(huán)境。
[Abstract]:In order to improve the laser gas analyzer, this paper selects AD7862 high-speed, low-power, dual-core 12-bit A / D converter in AD sampling, and realizes an AD controller in FPGA which can replace single chip microcomputer to control AD conversion. The converted digital signal is processed by the average median value which is commonly used in industry, which makes the measured gas concentration more accurate. The serial communication between singlechip and PC is put forward after processing the data, which makes the laser gas analyzer networked. According to the working principle and working sequence of AD7862, the controller is designed with Verilog language in ISE software, and the finite state machine is used to design the controller. Then, the test platform is established in ISE software, and the designed controller is excited by test vector. According to the method of median average filter, the filter is designed with VHDL language in ISE software, and the pipeline mode is used to design the filter, and then the test platform is established in TSE software. The test vector is used to excite the designed filter to determine whether the designed filter is reasonable or not, the serial port communication between PC and AT89C51 is realized in Proteus software, and the AT89C51 of lower computer is replaced by the simulation circuit designed by Proteus. That is, using pure software to complete the communication between them, using serial port debugging assistant SComAssistant V2.1 to realize the PC software, and using assembly language to realize the software of single-chip computer. The AD7862 controller is simulated by ModelSim with ISE, and the simulation diagram completely meets the requirements of the chip conversion. The filter module is also simulated by ModelSim, and the simulation diagram is stable with the filtering method, and it is suitable for the data of any gas concentration. The single chip computer transmits data to PC, and the PC computer transmits data to single chip computer in virtual terminal, which is also displayed in virtual terminal and transmitted back to PC, and the practical application of communication between them in gas analyzer is analyzed. Through the improvement in three aspects, the laser gas analyzer can measure the gas concentration more accurately in order to take better measures to protect our living environment.
【學(xué)位授予單位】:北京交通大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1;TP274
【參考文獻(xiàn)】
相關(guān)期刊論文 前7條
1 唐詠;程明霄;儲(chǔ)琴;;基于NiosⅡ的ZrO_2分析儀的數(shù)據(jù)采集與處理[J];傳感器與微系統(tǒng);2010年04期
2 張慧成,魏鴻,劉章山;并行調(diào)試與監(jiān)測(cè)分析中監(jiān)測(cè)數(shù)據(jù)處理技術(shù)[J];大連理工大學(xué)學(xué)報(bào);2003年S1期
3 楊海鋼;孫嘉斌;王慰;;FPGA器件設(shè)計(jì)技術(shù)發(fā)展綜述[J];電子與信息學(xué)報(bào);2010年03期
4 李思宏;張偉;張振峰;明振強(qiáng);孟祥倫;;激光氣體分析儀的特點(diǎn)和應(yīng)用[J];水泥;2009年09期
5 唐詠;程明霄;儲(chǔ)琴;;基于SOPC的熱導(dǎo)氫氣體分析儀的數(shù)據(jù)處理[J];儀表技術(shù)與傳感器;2010年12期
6 顧海濤,陳人,葉華俊,曾宏曄,王健;基于DLAS技術(shù)的現(xiàn)場(chǎng)在線氣體濃度分析儀[J];儀器儀表學(xué)報(bào);2005年11期
7 秦瑗;;磁力機(jī)械式和激光氣體分析儀的應(yīng)用[J];自動(dòng)化應(yīng)用;2010年11期
相關(guān)會(huì)議論文 前1條
1 朱勇;甘體國;;K波段寬帶數(shù)據(jù)通信收發(fā)信機(jī)[A];2001年全國微波毫米波會(huì)議論文集[C];2001年
相關(guān)碩士學(xué)位論文 前6條
1 徐振蜂;瓦斯?jié)舛榷沃C波檢測(cè)相關(guān)技術(shù)研究[D];中北大學(xué);2007年
2 孫建洲;汽車電子儀表虛擬測(cè)試系統(tǒng)的研發(fā)[D];重慶交通大學(xué);2008年
3 張嘉春;WIDOSNet節(jié)點(diǎn)以太網(wǎng)網(wǎng)關(guān)接口的研究與實(shí)現(xiàn)[D];沈陽理工大學(xué);2008年
4 郭經(jīng)緯;基于GSM的汽車指紋報(bào)警模塊的設(shè)計(jì)與實(shí)現(xiàn)[D];重慶大學(xué);2009年
5 李玉虎;高速智能光子符合儀的研制[D];中國科學(xué)技術(shù)大學(xué);2009年
6 張紅瑛;九點(diǎn)變換改進(jìn)FFT的介質(zhì)損耗角測(cè)量算法研究[D];湖南大學(xué);2010年
,本文編號(hào):1950201
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1950201.html