基于FPGA的激光氣體分析儀的數(shù)據(jù)處理及數(shù)據(jù)通信
本文選題:FPGA + 信號采樣; 參考:《北京交通大學》2012年碩士論文
【摘要】:為了改進激光氣體分析儀,本論文在AD采樣選用了AD7862高速、低功耗、雙核12位模數(shù)轉(zhuǎn)換器,在FPGA中實現(xiàn)了一個能夠取代單片機控制AD轉(zhuǎn)換的AD控制器,并對轉(zhuǎn)換后的數(shù)字信號進行工業(yè)中常用的中位值平均濾波處理,使得被測氣體的濃度值更加準確。在單片機處理數(shù)據(jù)之后提出了其與PC機之間的串行通信,使得激光氣體分析儀網(wǎng)絡化。 根據(jù)AD7862的工作原理及工作時序,在ISE軟件中用Verilog語言設計該控制器,設計采用有限狀態(tài)機的方式,然后在ISE軟件中建立它的測試平臺,用測試向量來激勵所設計的控制器,判斷設計的控制器是否合理;根據(jù)中位值平均濾波的方法,在ISE軟件中用VHDL語言設計該濾波器,設計采用流水線的方式,然后在TSE軟件中建立它的測試平臺,用測試向量來激勵所設計的濾波器,判斷設計的濾波器是否合理;在Proteus軟件里設計實現(xiàn)PC機和AT89C51間的串口通信,下位機AT89C51由Proteus設計的仿真電路代替,即用純軟件來完成二者的通信,用串口調(diào)試助手SComAssistant V2.1實現(xiàn)PC機軟件,用匯編語言實現(xiàn)單片機的軟件。 AD7862控制器用ISE自帶的ModelSim仿真,仿真圖完全符合該芯片轉(zhuǎn)換的要求;濾波模塊同樣用ModelSim仿真,仿真圖與該濾波方法穩(wěn)合,而且適于任何氣體濃度的數(shù)據(jù);單片機和PC機通信中,單片機給PC傳送數(shù)據(jù),在虛擬終端顯示數(shù)據(jù),PC機給單片機傳送數(shù)據(jù),同樣在虛擬終端顯示,而且回傳給PC機;分析了兩者間相互通信在氣體分析儀中的實際應用。 通過三方面的改進,激光氣體分析儀能夠測出更加準確的氣體濃度值,以便采取更好的措施來保護我們的生存環(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.
【學位授予單位】:北京交通大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP368.1;TP274
【參考文獻】
相關期刊論文 前7條
1 唐詠;程明霄;儲琴;;基于NiosⅡ的ZrO_2分析儀的數(shù)據(jù)采集與處理[J];傳感器與微系統(tǒng);2010年04期
2 張慧成,魏鴻,劉章山;并行調(diào)試與監(jiān)測分析中監(jiān)測數(shù)據(jù)處理技術[J];大連理工大學學報;2003年S1期
3 楊海鋼;孫嘉斌;王慰;;FPGA器件設計技術發(fā)展綜述[J];電子與信息學報;2010年03期
4 李思宏;張偉;張振峰;明振強;孟祥倫;;激光氣體分析儀的特點和應用[J];水泥;2009年09期
5 唐詠;程明霄;儲琴;;基于SOPC的熱導氫氣體分析儀的數(shù)據(jù)處理[J];儀表技術與傳感器;2010年12期
6 顧海濤,陳人,葉華俊,曾宏曄,王健;基于DLAS技術的現(xiàn)場在線氣體濃度分析儀[J];儀器儀表學報;2005年11期
7 秦瑗;;磁力機械式和激光氣體分析儀的應用[J];自動化應用;2010年11期
相關會議論文 前1條
1 朱勇;甘體國;;K波段寬帶數(shù)據(jù)通信收發(fā)信機[A];2001年全國微波毫米波會議論文集[C];2001年
相關碩士學位論文 前6條
1 徐振蜂;瓦斯?jié)舛榷沃C波檢測相關技術研究[D];中北大學;2007年
2 孫建洲;汽車電子儀表虛擬測試系統(tǒng)的研發(fā)[D];重慶交通大學;2008年
3 張嘉春;WIDOSNet節(jié)點以太網(wǎng)網(wǎng)關接口的研究與實現(xiàn)[D];沈陽理工大學;2008年
4 郭經(jīng)緯;基于GSM的汽車指紋報警模塊的設計與實現(xiàn)[D];重慶大學;2009年
5 李玉虎;高速智能光子符合儀的研制[D];中國科學技術大學;2009年
6 張紅瑛;九點變換改進FFT的介質(zhì)損耗角測量算法研究[D];湖南大學;2010年
,本文編號:1950201
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1950201.html