The invention provides a method for detecting on-line a multi-component gas and the testing arrangement for the method. The method comprises the following procedures: the current and temperature are tuned by a semi-conductor
laser; after double modulation, the
laser emitted from the semi-conductor
laser passes an optic-
fiber coupler, partial laser reaches to an open multi-optic-path pond, in which the emitted light that is absorbed by the gas to be measured is again transmitted through an optic
fiber to a balance
receiver; another partial laser from the optic-
fiber coupler is also sent into the balance
receiver; the signals picked up by the balance
receiver is sent into a phaselocking
amplifier after passing a pre
amplifier, and then sent into a computer for
processing after passing an A / D converter. The testing arrangement comprises a modulation
signal generator, a laser driver, a laser
spectrum light path, a
signal conditioning circuit and a computer that are connected in sequence; the computer is additionally connected with the modulation
signal generator, and connected with the laser spectrum optic path through a temperature
detector / controller. The invention converts the precision controlling of temperature into the precision controlling of temperature, improves the sensitivity and opaqueness of the detection, so as to achieve the simultaneous testing of a plurality of components.