In order to improve the efficiency of spectral data analysis and fast synthesis of the target spectra using multiple LEDs of different bands,a spectral fitting system is proposed,in which a spectral database is established and data extraction of the target spectral curves is carried out using the upper computer,the optimal parameters of the drive current are solved using an opti-mization algorithm,and the actual fitting of the target spectra is realized by the lower computer.The analysis of the spectral acquisi-tion results shows that the fitting excellence of the actual output spectral curve to the AM1.5 spectrum as well as the randomly plot-ted spectral curve is 0.69 and 0.77,respectively,which is able to better reflect the trend of the target spectrum.