A novel measurement system for the gas density based on spectrum absorption is studied in details. Based on the theory of Beer-Lambert, the technology of nonlinear laser diode (LD) spectrum is used to perform the polluting gases monitoring on line. The peak wavelengths of LD are changed with the app