Font Size: a A A

Development Of Basic Software For Near-infrared Spectrometer

Posted on:2011-08-07Degree:MasterType:Thesis
Country:ChinaCandidate:H Y LiuFull Text:PDF
GTID:2132360305955356Subject:Precision instruments and machinery
Abstract/Summary:PDF Full Text Request
With the rapid progress of processor technology and near-infrared spectroscopy technology, the development of near infrared spectrometer has also entered the fast track. As the near-infrared spectroscopy has rapid, accurate and non-invasive characteristics, it is widely used in chemical, agricultural, medical and a lot of other fields.With the advancement of semiconductor technology, the speed and control ability are constantly improved of signal-chip microcomputer. As its stable performance, low cost, it is widely used in many areas of daily life and industry. We use signal-chip microcomputers which have serial port or USB port to design spectrometer. Because people want the instrument to be more portable, human-computer interaction and the speed to be higher, embedded system has been made a stupendous development, this paper uses ARM processors and Linux operating system to design of low-power portable spectrometer.Our laboratory has developed of some types of near-infrared spectrometer hardware platform, of course, mainly in the following three types: the first type is based on ARM9 processor(SMC-ARM) , it has rich peripheral interfaces, high processing speed, low power consumption and support of wonderful human-computer interaction. The another platform is based on AT89C2051 microcontroller(SMC-1), the microcontroller which is an eight-bit processor, the most important feature is the low price and stable ability, its interface resources can meet to the requirement of spectrometer. The serial communication is used in this platform, this communication is convenient. The platform based on AT89S52 microcontroller which uses USB communication(SMC-2). USB communication is faster than serial-port communication. The application of spectrometer is expanded while larger data model is established. If the spectrometer is used in large data acquisition, USB communication is more suitable.Software module is the soul of a spectrometer. On the existing hardware platform in our laboratory, it is an important part to develop the suitable software of near infrared spectroscopy. This paper analyzes of the current development and trends of the near-infrared spectroscopy and spectrometer, describes the overall structure of the spectrometer. A clear development goal and consummation is made combined with the existing resources of our liboratory.Following development environment are chosen: visusl C++ and win32 are chosen for PC,USB drive program use the windows DDK environment ,the firmware program of the signal chip microcontroller use keil; ARM processor use Linux system. The interface use Qt under ARM processor. Qt corss-compiler development and PC development are built. Vivi is selected as the startup code.On the platform of SMC-ARM, combining with specific drivers, laboratory version and user version of software are developed, data acquisition, motor control, U disk and SD card volume storage, serial communication transmission are realized. Display interface is designed with Qt signal and slot model, the display interface can display Chinese character. The data model is established by using PLS method. Spectrometer can realize quantitative analysis with the PLS data model. Overall, the arm spectrometer implement data acquisition, analysis and processing, file operation, image manipulation, communication storage and other functions.The firmware has been developed and completed based on SMC-1. Moreover, PC applications and interface software have also been developed and consummated so that the instrument can be controlled and executed data transmission according to certain protocols. The software has generally accomplished data acquisition, instrumental control and operation of files and spectrum. And it can implement function of quantitative analysis.On the platform SMC-2 which is based on AT89S52, firmware is developed and completed. The USB drive which has plug and play, read and write function is developed by using windows DDK environment. The PC file operation, data display, data analysis and processing use the same program module with the serial port. Users need to choose the specific communication mode firstly, then realize specific functions.Through the system testing, based on SMC-ARM,SMC-1 ,SMC-2. the instrument realized control software, communication and data storage, spectral data acquisition and the quantitative analysis of spectral data.
Keywords/Search Tags:near infrared spectrometer, base software, signal-chip microcomputer, ARM, Embedded
PDF Full Text Request
Related items