Font Size: a A A

Design For Measurement & Control Software Based On ARM-Linux In Portable Near-Infrared Spectrometer

Posted on:2009-11-04Degree:MasterType:Thesis
Country:ChinaCandidate:H Y YangFull Text:PDF
GTID:2132360242981414Subject:Precision instruments and machinery
Abstract/Summary:PDF Full Text Request
Near-infrared spectroscopy (NIRS) analysis technology is an advanced analysis technology which developed rapidly in the chemistry analysis domain recently, the appearance of it has brought the emergence of another analysis technology revolution.It's an analysis technology that can analysis the qualitative and quantitative of organic material mainly.Near-infrared spectroscopy analysis technology has a lot of strongpoint such as rapidly analysis, lower cost, without destruction and pollution, so Near Infrared Spectroscopy technology for a broad range of applications.But the exiting Near-infrared spectroscopy instruments can not work without notebook PC or PDA,which has brought inconvenience to the field of test measurement, Therefore, to achieve near-infrared spectrometer real sense of the portable become the key to the technology.ARM-Linux is a relatively rapid development technology in recent years, in various fields it has been widely used and has aroused strong attention.Linux system can be trimmed and portability, so it has brought great convenience to the system development.Consider the disadvantages of the exiting Near-Infrared spectrometer and the advantages of the embedded Linux technology, we put forward a design project of Near-Infrared spectrometer which based on embedded system. This paper demonstrated the Design for Measurement & Control Software based on ARM-Linux in Portable Near-Infrared Spectrometer mainly.In this paper the Near Infrared Spectroscopy principles, applications, as well as the status question on the issue have been talked, and introduced the ARM-Linux technology development and application. Analysis the feasibility and necessity of development of portable near-infrared spectrometer.Then raised an issue of the contents and equipment performance requirements. The programmer used S3C2410 as the core microcontroller system, Linux system as a software development environment.Selection vivi system boot code, Linux2.4.18 kernel and file system cramfs building embedded software platform, and established cross-compiler environment for PC and target with cross-2.95.3, completed the cross compile of code.Based on the hardware platform which is set up by S3C2410, have designed the following devices drive procedures:1. IIC bus of the S3C2410 microprocessor reads small keyboard input, receiving user input information;2. SPI bus controls AD7715 to acquire data;3. GPIO controls four-phase stepper motor driven grating scanning; 4. Use of the Linux kernel USB drive to achieve a USB mouse configuration;5. Use Linux's large capacity storage device drivers and hot-swappable of 2.4 kernel on the technical support, achieved by U-read and store data files.QT user interface has been used to develop the man-machine interface system procedures, and make full use signals and slots mechanism to achieve communication between the widgets and external devices, external devices controlled by the control widget. User applications modules, including the operation of open files module, document retention module, spectral scanning module,setting parameters module, help module and display module several modules: open the file and save the file to open the IIC control equipment, receive keyboard input; Scanner module control GPIO device drivers, drive stepper motor rotation, led grating scanning; parameter settings module set the starting point and ending point wavelength and scanning step; display module can calculated absorbance and reflection of the sample, Application software can display the measured data on the LCD screen in the form of spectra.Discussed the methods of QTE transplantation, use of qt-x11-2.3.2.tar.gz , qtopia-free-1.7. 0.tar.gz and tmake-1.11.tar.gz established QTE environment,build up a file-system with QT, the user applications were compiled into the QTE system and transplantation, created an operate platform which is the same as the PDA for the Near-Infrared pectrometer.Finally, testing the monitoring and control software's performance developed, And compared test the results with the laboratory existing machines,The result showes that the monitoring and control software developed implements data collection, computing, display and data storage functions.The Programme make the size of the portable near-infrared spectrometer more smaller, Bring up more convenient, And thoroughly detached from the PC control with the ability to work independently.
Keywords/Search Tags:NIR, ARM-Linux, QTE
PDF Full Text Request
Related items