| Energy dispersive X fluorescence analysis by measuring the energy and intensity of X fluorescence to achieve the qualitative and quantitative analysis of the measured elements,mainly used in metallurgy,geological exploration,building materials,non-ferrous metals,environmental protection and health and other fields.The main function of the X-ray fluorescence analysis software is to display the measured energy spectrum data of the detector,and at the same time to perform spectral analysis and qualitative and quantitative calculation of the energy spectrum image.X-ray fluorescence analysis software used for portable instruments used in field measurement is generally developed by embedded system or PDA(PDA)system.The system operation is complex,and the computing power of the hardware is not high,so the complex spectral algorithm cannot be efficiently completed,and the data processing is slow.In this paper,designing a based on Android system of energy dispersive X fluorescence analysis software,through the Android Studio software using JAVA language development,overall software interface is simple,clear operation simple,the software is mainly through the Bluetooth data read and X-ray tube voltage and tube flow control,the spectral curve of spectrum were set up three kinds of spectral approach are: background deduct,find peaks and smooth lines,basically meet the need for energy spectrum processing.The background deduction method of SNIP background deduction based on peak-stripping method is adopted,which is very suitable for the energy spectrum curve of complex and light elements.The derivative method is used to search the peak,and the peak potential is screened by setting the threshold value.Smooth spectral lines can be achieved using a low statistical filter methodThe main functions and features of the software:1.Qualitative analysis of elements can be carried out,and the name of element characteristic X spectrum line and the corresponding energy can be stored through SQLite database,so as to be searched at any time.2.The software can customize the element content curve,and then calculate the element content through the set element content curve after obtaining the peak area through gaussian fitting.3.The spectral solution,energy scale and measurement parameters can be stored in the configuration file in the software.Each configuration file is independent of each other and can be invoked at any time,which greatly improves the measurement efficiency.4.Android system is one of the most common systems for mobile devices.Its concise picture and clear operation mode are more suitable for the popularization of software. |