Font Size: a A A

Design And Implementation Of The Communication System Of Visible-Infrared Wide Spectrum Fiber Spectral Instrument

Posted on:2010-02-11Degree:MasterType:Thesis
Country:ChinaCandidate:X K ZhangFull Text:PDF
GTID:2132360272988007Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
In recent twenty years,infrared spectrum technology has developed extremely fast in many fields including mineral analysis due to its quick measurement,abundant data and cleanness. This brings up the development of related infrared instrument research.The USA,Australia and Japan lead the way.To meet the demands of high speed,small size,stable performance and precision,since 2005, with the support of China Geological Survey(CGS),Nanjing Institute of Geology and Mineral Resources(NIGMR) has greatly improved the original infrared spectral mineral analyzer and has been developing the portable wide spectrum fiber spectral instrument which covers the full visible-infrared spectrum 400nm-2500nm.This article illustrates the design and implementation of the hardware and software of the communication system of the wide spectrum fiber spectral instrument with measurable spectrum ranging from 400nm to 2500 nm.In hardware,CPLD device EPM7128 generates and drives three temporal logic signals of the line array photoelectrical devices and 14 bits high speed Analog-Digital converter AD9243 converts analog signals of the spectrum detector into digital ones.With CY7C68013A serving as the core in this measure and control system,data transfer that supports USB2.0 protocol is implemented.The characteristics of these devices are introduced.The peripheral circuits and the picture of the produced PCB boards are showed.In software,programming of the firmware,the driver and upper computer program is illustrated in detail.In firmware chapter,firmware frame,the principle of enumeration and re-enumeration,firmware files,firmware debug software as well as the firmware source program are given.In driver chapter,firstly,Microsoft Win32 Driver Model(WDM) and driver structure are introduced.Then the article illustrates the DriverEntry Routine,AddDevice Routine,Dispatch Function,Device Create and Delete Function as well as Communication Function with upper computer program.Finally,installation and application of Driver Develop Kit and DriverStudio are discussed and some important source code is given.In the upper computer program chapter,basic user application program interface is introduced.Source codes which implement functional buttons including USB device detection, PID and VID display,data's bulk transfer and selection of data channels and integral period are given.Test results of standard mineral samples on the instrument display the correct and precise spectrum of the minerals.The data transfer speed is apparently improved compared with the original USB1.1 and RS232 interface instrument and by increasing the times of sampling the data are more precise.In conclusion,this communication system is both stable and credible,and the expected result is gained successfully.
Keywords/Search Tags:infrared, spectral instrument, mineral analysis, USB2.0, communication
PDF Full Text Request
Related items