Post-processing systems for gasoline engines, diesel engines, natural gas engines, etc., to detect exhaust gas temperature, soot particles, oxygen content and Nitrogen and Oxygen content , etc., and to provide signal input for emission optimization;