Intelligent infrared heating system