Principle of detecting combustible gas concentration with dual-band four-detector of absorption spectrum; The compensation method is used to separate the weak and slightly variable signals from the detector to offset the working point drift of the detection circuit. In order to reduce the influence of environmental conditions change, detecting light intensity and detector responsiveness instability factors, measures such as de-extremum software filtering and compensation for environmental factors are adopted to improve the detection accuracy of combustible gas.