Near-infrared spectrometer is the integration of spectrum test technology, stoichiometry technology and computer technology. In the present paper, based on effective food ingredients and non-invasive quantitative detection, the development process of the micro-near-infrared spectrometer system was introduced. Spectrometer is the basis of the system. This paper focuses on the development of the micro-near-infrared spectrometer applicable to on-line real-time testing. A micro-near-infrared spectrometer prototype was developed successfully, its main technical parameter was tested, and the result shows: its operating wavelength is: 850-1 690 nm, optical resolution is: less than 10 nm, and its performance has achieved the level of the congener foreign products. Stoichiometric technology and computer technology is the core of the system. LS-LWR modeling methods were proposed. Finally, the quantitative test for glucose water solution using the micro-near-infrared spectrometer shows that the correlation coefficient of prediction model is 0.995, and the corresponding RMSEP is 0.06.