The pyrolysis characteristics for two types biomass material was tested at 230°C~250°C, and the pyrolysis product component was on-line analyzed by using moisture micro-detection teller, gas chromatograph-mass spectrometer computer and fourier transform infrared spectroscopy. Besides, two different algorithms were used to evaluate the test error. In addition, the generated tar gas was secondary decomposed at 800°C. It is found that the tar was broken up completely, which increased the hydrogen content sharply in the pyrolysis gas. The test data shows that the heat value of cotton stalk improves better than that of the corn stalk after pyrolysis, so it is more suitable for cotton stalk than corn stalk to improve the value in use by means of low temperature pyrolysis technology.