The development of the livestock industry is the basis of Ukraine's food security. One of the ways to solve this problem is to improve the conditions of keeping animals, including improving the microclimate of livestock and poultry premises. Modern animal husbandry technologies make high demands on the microclimate in livestock premises. According to scientists, animal husbandry specialists and technologists, animal productivity is determined by 50...60% feed, 15...20% by care, and 10...30% by the microclimate in the livestock premises. Deviation of the microclimate parameters from the established optimal limits leads to a decrease in milk yield by 10...20%, an increase in live weight – by 20...35%, an increase in the departure of young animals to 5...40%, and a decrease in laying hens – by 30%...35%, costs of an additional amount of feed, shortening the service life of equipment, machines and the buildings themselves, reducing the resistance of animals to diseases, negatively affecting the service personnel. The article presents a structural and technological scheme of a mechatronic system for ensuring a normative microclimate of livestock premises, which allows to increase the efficiency of ensuring a normative microclimate of livestock premises by using a mechatronic system for controlling the process of air disinfection using ultraviolet radiation of bactericidal lamps. According to the results of numerical modeling of the air heat exchanger of the indirect-evaporative type, the distribution of the temperature field, vector field of velocities and absolute air humidity in channels of different shapes (square, equilateral triangle, circle) was established. The calculated coefficient of thermal efficiency of the heat exchanger with triangular shaped channels is the whitest in contrast to square and round shapes. A comparative analysis of humidity distribution in channels of different shapes confirms that the absolute humidity of the thermal air flow decreases earlier in the indirect-evaporative type heat exchanger with triangular channels.