Spectroscopy and Spectral Analysis, Volume. 45, Issue 1, 133(2025)

DMD-Based Hadamard Transform Near-Infrared Spectrometer Design and Implementation of Fast Processing System

WANG Shuo1...2, XIE Zhen-kun1,2 and WEI Zhi-peng1,* |Show fewer author(s)
Author Affiliations
  • 1State Key Laboratory of High Power Semiconductor Laser, Changchun University of Science and Technology, Changchun 130022, China
  • 2Zhongshan Institute of Changchun University of Science and Technology, Zhongshan 528437, China
  • show less

    The near-infrared spectrometer based on a digital micromirror device (DMD) has the advantages of good wavelength repeatability, high resolution, and good vibration resistance. It is widely used in the fields of food safety and agricultural production. With the development of micro near-infrared spectrometers based on DMD becoming more and more mature, the cost and performance of the instrument are still the key to research and development. Although most researchers have focused on software development and detection methods, the processing speed of the instrument hardware is also crucial. The spectral analysis can be effectively realized only by ensuring that the spectrometer can collect and transmit data quickly and accurately. In addition, in most studies, the generation and decoding of the Hadamard matrix is usually completed by the host computer, and the template is imported by FLASH storage. However, this method may limit the time efficiency of collecting complete spectral data. A method of high-speed driving DMD and fast data acquisition is proposed to improve the spectral acquisition speed and signal-to-noise ratio. A hardware circuit system is designed based on a DMD miniature near-infrared spectrometer. The system adopts the architecture of Field Programmable Gate Array (FPGA) and ARM and innovatively realizes the generation and decoding process of odd-even Hadamard template at the bottom of the embedded system, which accelerates the speed of spectral analysis and improves the signal-to-noise ratio. By comparing with the DMD spectrometer on the market, the research results show that the spectrometer developed in this paper only takes 214 ms to complete the acquisition time of a single spectrum, which is 4 times higher than that of the commercial DMD spectrometer. In the same 3 s acquisition time, the signal-to-noise ratio of the spectrometer developed in this paper is 4 600, which is 1.5 times higher than that of the commercial DMD spectrometer. Furthermore, the spectral scanning of rapeseed samples was carried out by the spectrometer developed in this paper. The contents of fat, protein, and moisture in rapeseed were analyzed, and the corresponding models were established by partial least squares regression (PLSR). The correction correlation coefficient of rapeseed fat content was 0.986 5, and the prediction correlation coefficient was 0.967 2. The protein content correction correlation coefficient was 0.985 4, and the prediction correlation coefficient was 0.963 6. The correction correlation coefficient of moisture content was 0.987 5, and the prediction correlation coefficient was 0.961 4. The model evaluation results show that the spectrometer can meet the needs of rapeseed component detection and verify that the spectrometer has important application value in the commercial field.

    Tools

    Get Citation

    Copy Citation Text

    WANG Shuo, XIE Zhen-kun, WEI Zhi-peng. DMD-Based Hadamard Transform Near-Infrared Spectrometer Design and Implementation of Fast Processing System[J]. Spectroscopy and Spectral Analysis, 2025, 45(1): 133

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Received: Mar. 30, 2024

    Accepted: Feb. 28, 2025

    Published Online: Feb. 28, 2025

    The Author Email: Zhi-peng WEI (zpweicust@126.com)

    DOI:10.3964/j.issn.1000-0593(2025)01-0133-06

    Topics