The ammonia escape analysis is based on the principle of ultraviolet differential absorption spectroscopy. Effectively solved technical problems such as blockage of the flow path caused by low-temperature crystallization of ammonium salts, low measurement accuracy due to the precipitation and dissolution of NH3 in condensed water, and inability to measure due to high dust attenuation in the in-situ system optical path.