Empirical model for variation of the continuum emission in the upper atmosphere. 2. Infrared components