1. Introduction
Modern animal husbandry technologies place high demands on the microclimate in livestock buildings. According to animal husbandry experts, the productivity of animals is determined by feed in 50–60%, by care in 15–20%, and by the microclimate in the livestock room in 10–30%. Deviation from established limits of microclimate parameters leads to a reduction in milk production by 10–20%, the consumption of additional feed followed by an increase in live weight by 20–33%, an increase in the waste of young animals by 5–40%, a reduction in the laying of chickens by 30–35%, and reduced immunity, as a well as shortening of the life of equipment, the machine park, and buildings themselves [
1,
2,
3,
4,
5].
Ensuring acceptable conditions for efficient operation of a livestock farm in winter, especially maintaining normal temperature, requires considerable resources. However, the efforts to insulate the walls and install a proper heating system can be futile if heat leaks freely through windows or gates. This is especially true of livestock buildings in which the front gate is opened very often, or even remains open for an extended time. This challenge is addressed by installing an air curtain on the front door in livestock vestibules. Therefore, one of the important directions of the agenda for the conservation and efficient use of fuel and energy resources is the development and implementation of energy-saving equipment to create a microclimate in livestock buildings. This means not only increasing the technological capabilities of air curtains, but also introducing automated control systems to ensure that process parameters are maintained at the set level.
The purpose of this study is to improve the functioning of the microclimate in livestock buildings through the use of an air curtain, to determine its rational operation, and to introduce an automated control system using the proprietary mechanism based on an integrated Arduino board, along with a control system using the LabView programming language. We hypothesized that the use of air curtains supported with automation reduces the consumption of thermal energy to maintain an optimal microclimate in livestock buildings by at least 10%.
Research in this area is carried out in different countries (Slovakia, Russia, Ukraine, etc.) as it can offer a comprehensive remote microclimate monitoring and control system for a livestock building using IoT and low-code software deployment. The stakeholders of this project are both livestock holdings and farms, since there is a shortage of quality food products in the world, and Ukraine (along with Russia and Belarus) in recent years have become major food exporters.
2. Literature Review and Problem Statement
Livestock is one of the main power consumers in agriculture, with a share of 17.2–21.3% in the total power consumption of the industry. Furthermore, cattle farms are the main energy consumers in animal husbandry (accounting for 46–51.5% of the total industry power consumption) [
1].
Following an analysis of the structure of power consumption for milk production, it was determined that the highest share in the total costs is the power consumed to create and maintain an optimal microclimate in livestock buildings (
Table 1). Its share, depending on the husbandry technology, is 34.5–36.8% [
1,
2,
3,
4,
5], which can be compared only to the power consumption in the preparation of feed mixtures. Therefore, one of the main directions of reducing the total power consumption for milk production, and therefore its total cost, is the development and implementation of energy-saving equipment to create and maintain a recommended microclimate in livestock farms.
One of the most promising and relevant areas of energy conservation in microclimate support systems is the use of air curtains, which reduces the consumption of thermal energy to maintain an optimum microclimate in livestock buildings by 10–15% [
1]. However, these works do not offer statistical processing of experimental data; the thermal energy is calculated based on a deterministic model based on the average temperature difference in the cold season (−5 °C outside and 20 °C inside the room). The authors believe that it is necessary to consider other temperature options to justify the choice of the air curtain’s power and achieve an efficiency of 10–15%.
The problems of numerical simulation of hydrodynamics and mass transfer processes for an effective location of the ventilating system were solved by researchers from the National University of Life and Environmental Sciences of Ukraine [
6,
7,
8]. The authors calculated the optimal location of fans and water-cooling systems in poultry houses. These articles are a significant contribution to the development of microclimate technologies for agricultural facilities, but they do not address the issue of automating the maintenance of microclimate parameters.
The problem of optimizing energy conservation in a livestock building was posed and solved in [
6,
9]. Improved methods for solving multicriteria optimization problems are described in [
10].
Nalivaiko, V., Radko, I., Zhyltsov, A. et al. [
11] investigated the microclimate of buildings subject to thermal renovation and using renewable energy. In this research, the rooms with the lowest and highest temperatures were identified. The subject of study was one of the university buildings, in which the cause of uneven temperature distribution was investigated. The article presents the possibility of leveling the distribution of internal air temperatures and reducing the dependence of their values on fluctuations in the outside air temperature. The authors demonstrated the energy efficiency of intermittent heating, which allows reducing thermal energy consumption. To decrease the energy costs, the authors suggested using a heat pump that compensates for peak loads and operates at a discount rate at night. These studies can also be applied to a livestock building to improve its energy efficiency. However, agricultural buildings have their own specifics, which is not taken into account in this manuscript. In addition, these studies do not include software and hardware automation tools, which enable effective management of renewable energy sources.
In an article by researchers from the Federal Scientific Agroengineering Center “VIM” (Moscow, Russia), Tikhomirov, D., Vasilyev, A.N. et al. investigated the automation of the microclimate of agricultural facilities using air ventilation [
12]. The structural and functional diagram of a ventilation and heating installation with heat recovery, ozonation and air recirculation was presented. The automation system is based on OWEN devices, especially OWEN UKT-38, the eight-channel meter with alarm, and a thermostat OWEN TRM-138. OWEN AS-2/AS-4 interface converters are used to communicate with the computer. Two humidity sensors and eight thermocouples were selected as measuring instruments. The system software is represented by the OWEN standard product, Owen Process Manager (OPM), as well as device configurators, which are sufficient for a simple control system. The correlation dependence of the heat flux returned by the heat exchanger and the difference between the external and internal temperatures of the room was experimental and calculated using the model. The article also offers a graph of temperature changes during the day at different phases of the automated system. The OWEN line of devices is admittedly a powerful automation tool that allows, e.g., to remotely monitor the progress of the process in the OWENCloud environment. However, the use of the software is limited to the standard OPM and OWENCloud interface, which limits the development of the system, remote control capabilities, and upgrading the system interface. In our paper, the authors offer a more flexible interface based on the LabView package, which can be easily upgraded to add other devices, functionalities, as well as calculation and processing capabilities.
Švajlenka, J., Kozlovská, M., Pošiváková, T. from Slovakia described the monitoring of agricultural facilities for protection from biological factors, especially pests that spoil agricultural products and destroy the structure of the building [
13]. Microbes contained in the building, e.g., mold and other microorganisms, negatively affect the health of animals, the quality of stored vegetables, and also affect the formation of rust and the subsequent destruction of the building structure in the medium term. The researchers suggest indoor air sampling and biological analysis. These authors presented a deeper analysis of the influence of the internal and external environment of agricultural buildings [
14]. In particular, the article offers a study of the impact of the environment and internal microclimate on the health and productivity of animals. The graph of heat transfer on the wall in winter during the day was presented, as well as the presence of microorganisms of two types (
Cladosporium sphaerospermum and
Fusarium graminearum) in the indoor air during the studied seasons, summer and winter.
The above-mentioned works can be used in the future for the development of the project described in this manuscript. However, they do not address the issues of automated control of the microclimate of agricultural buildings. On the other hand, literature offers research on using integrated Arduino boards and developing a LabView-based SCADA system to control ash content in a coal mine and to monitor the environment [
15,
16]. The control system for agricultural production discussed in this manuscript is also based on an integrated Arduino board, but additionally uses IoT technology [
17]. These projects discuss the automation of similar areas, but they are suitable for consideration of technology described in this article.
The research on the subject of this article was carried out by Shelekhov, I. Yu., Dorofeeva, N.L., Smirnov, E.I. et al. [
18], engineers from Irkutsk (Russia). The authors researched new innovative methods of creating the most favorable indoor temperature, and the impact of a new type of infrared air curtains on the penetrating cold air currents. Experiments have shown that the best microclimate is achieved with a double-flow system consisting of a heated air curtain and a conventional air curtain.
On the other hand, Tikhomirov, D.A., Trunov, S.S., Kuzmichev, A.V. et al., scientists of the Federal Scientific Agroengineering Center “VIM” (Moscow, Russia), developed an energy-efficient thermoelectric unit for microclimate control in cattle breeding barns [
19,
20]. The authors studied the features and the possibility of using the original model to calculate the required power of air curtains for agricultural facilities, and demonstrated the most promising solutions for air curtains and the main directions for their improvement. They confirmed that the share of the impact of microclimate on the productivity of animals is 25–30%. Their modular air curtain protects door openings with a variable air flow vector and an adjustable width, mixed-type. It is installed horizontally in the gate of a building, with an upper air supply, or vertically with a one-way or two-way air supply. The device includes a heater, a fan, air ducts, an air intake switching valve, and an air diffuser located vertically or horizontally in relation to the opening (depending on the opening type).
The above studies are the most relevant to this research, as they relate to air curtains for livestock buildings in both theoretical and practical aspects. Although they discuss technological aspects and offer deterministic models, they lack the presentation of the processed results of experiments, followed by a proposed answer to optimization problems, as well as hardware–software solutions to automate the process.
On the other hand, Korean scientists Kim, H.K.; Kang, G.C. et al. investigated the thermal insulation of a greenhouse using the air curtain [
21] to ensure the required temperature. It has been proven that installing air curtains is an effective way to conserve heat, and using them in greenhouses at night will increase thermal insulation and conserve energy by 28.7%.
In a research by Egyptian scientists Akrami, M., Mutlum, C.D. et al. [
22], a computational fluid dynamics (CFD) model of a solar powered desalination greenhouse was developed. To analyze the microclimate in the greenhouse, wrap patterns, air streams and temperature boundaries were identified. The greenhouse design parameters have had a significant impact on the air distribution. In the investigation, two scenarios were considered: “the bottom vent hole is open” and “both vent holes are open”, while the formation of vortices around the upper left corner is visible on the temperature contours. The presented model can be used to create a sustainable, self-sustained greenhouse with natural ventilation, suitable for countries facing water and power shortages. These studies can affect not only the microclimate (wind speed and temperature) inside the greenhouse but also its design.
Strongin, A.S. and Zhivov, A.M. (USA, Russia) [
23] describe energy-efficient air curtains for industrial and warehouse facilities in a cold climate. The article provides an assessment methodology that can be used to determine the application of different types of air curtains. In addition, the work of Safarzadeh, M., Heidarinejad, G., Pasdarshahri, H. (Iran) [
24] is of interest; the authors propose using an air curtain in a multi-story building to control smoke and heat. This compares vertical and horizontal air curtains. It was found that the vertical air curtain does not work well in an insufficiently ventilated enclosure, while the horizontal air curtain acted as a fire regulator and retained the mass fraction of toxic substances (CO and CO
2).
A team of British and Italian scientists led by Foster, A.M., Swain, M.J. and Barrett, R. [
25] investigated the three-dimensional effects of the air curtain that limit the penetration of air into a cold room, which is important for refrigerated warehouses. Reducing the deflection of the edges of the air curtain will increase its efficiency.
The above works also relate only to technological aspects, excluding hardware and software for automation of the process, which would allow monitoring and managing the microclimate of the room more efficiently.
Researchers from Ukraine and Poland [
26,
27] have developed a forecast software based on modeling risk assessment in biohydrogen as a source of thermal energy from agricultural raw materials. An important component for ensuring the temperature regime in agricultural buildings, including livestock buildings, is the building material. To prevent moisture permeability of the wooden elements of the room, they are subject to thermal renovation, as investigated in a number of publications by Mazurchuk, S., Marchenko, N., Tsapko, Y. et al. [
28,
29,
30], researchers from Ukraine and Slovenia. On the other hand, the research on the thermodynamic properties of a room and the construction of thermodynamic models was carried out by researchers from Ukraine and Slovakia, Pinchevska, O., Spirochkin, A. et al. [
31,
32,
33,
34,
35]. The proposed models were tested for the homogeneity of the mean values and dispersion of the current moisture content, which showed a slight difference between the experimental values and the calculations. The constructed models allow predicting the quality of the technological process based on the distribution of the moisture content, which allows choosing rational graphs of the temperature and humidity conditions in the room.
The literature offers mass transfer control models for various thermodynamic systems [
36]. The work of Ukrainian researchers explores the efficient autonomous power supply of agricultural holdings, in particular the wind power model. It is based on stochastic modeling and provides cost justification for the parameters of this system [
37]. The application of cluster analysis and forecasting methods for the effective use of renewable energy sources in the power supply of an agricultural holding was studied in [
38]. This work discusses the development of applied mathematical and software-based support (forecasting, cluster analysis, and stochastic modeling) for heat exchange processes and controlling renewable energy sources in various technological facilities. These studies are also useful for the point of view of this research, both from a technological and from a mathematical point of view. In particular, distributed cloud-based systems can be used for remote control of the microclimate using IoT, whereas forecasting and clustering methods can be used to create an integrated information and control system for the microclimate.
4. Materials and Methods
Theoretical and experimental studies on improving the microclimate parameters in livestock buildings were carried out based on a schematic electrical diagram of an air curtain, as well as statistical methods for processing experimental data, using LabView-based software and automation hardware based on the Arduino controller.
The main function of the air curtain is to maintain the temperature in the room at the required level that is comfortable for both the livestock and the farm staff. For this reason, an air curtain is usually considered a heater, although the principle of its operation is not to heat the air in the room but to cut off the flow of air from the outside. An air curtain creates an invisible barrier for separation and environmental management. The surrounding air space passing through the front grille (A) is sucked into the fan baskets (B). The injection wheel (C) directs the flow to the air chambers, compressing it (D), and blows it down through the outlet duct (E), creating “invisible door” that serves as a barrier (
Figure 1).
Air curtains are installed in different parts of buildings, taking into consideration the following factors:
At gates that open more than 5 times or for at least 40 min per shift, located in areas with an estimated indoor temperature of −15 °C and below in the cold season.
At gates or openings, at any outside temperature and at any opening time, as deemed justifiable.
In the lobby and aisles near the entrance doors to the lobby of the public and auxiliary buildings of industrial plants.
In lobbies and aisles at the entrance doors of public and industrial buildings and premises with air conditioning systems.
Air curtains should ensure that when the door or gate is opened in a workplace, indoor temperature is 14 °C or higher during light work, 12 °C or higher during medium work, and 8 °C or higher during heavy work. In the absence of a door, the minimum temperature can be reduced to 5 °C in a workplace, and in lobbies of public buildings to 12 °C. The curtain air temperature is generally below 50 °C. The velocity of the air outlet of the air curtain is no more than 25 m/s (in industrial buildings).
The air curtain model is selected based on the required power. The main parameters for the calculation included the width and height of the inlet/outlet slot; the length of the curtain air stream; voltage (220 or 380 V); efficiency and thermal capacity of the device; as well as indoor and external air temperature.
Step-by-step selection of an air curtain for a vestibule of a livestock room with a heated door opening 3 m wide, 3.5 m high is as follows:
- 1.
The air curtain power is calculated using the formula:
V—the volume of the vestibule for which the air curtain is selected (width 9 m, length 4 m; width, height of the door opening 3 and −3.5 m, respectively); the calculated volume of the vestibule = 126 m3;
∆T—the temperature difference (taking into account the external temperature, e.g., −20 °C and the desired internal temperature in the vestibule, e.g., +5 °C; the calculated ∆T = 25);
K—heat loss coefficient (calculated according to
Table 2);
N—required power, determined in kcal/h; the resulting number should be subsequently converted to kW at 1 kW = 860 kcal/h.
- 2.
The length of the air curtain shall be equal to, or greater than the width of the door opening by 10%, selected according to
Figure 2.
- 3.
The length of the air stream must correspond to the height (width) of the door. For example, at a curtain height of 2.3 m, the velocity of the air stream is approximately 5–7 m/s at the outlet of the air curtain and approximately 2.2 m/s at the floor level; in the studied case, at an installation height of 3.7 m at the outlet, velocity of the air stream is 9.6–11 m/s, and at the floor level, 2.3 m/s. If the length of the air stream is insufficient, the air curtain will be inefficient, immediately increasing the heat losses.
- 4.
The main requirement for the effective operation of the air curtain is the air velocity at the floor, which should be approximately 2 m/s (
Figure 2).
- 5.
The efficiency, heat output, and model of the air curtain shall be selected according to the specifications provided by the manufacturer.
To calculate energy consumption when using the air curtain, experimental measurements of the external and indoor temperatures in different parts of the vestibule of the room were carried out and calculations were carried out according to the formula (1). The results were subject to statistical analysis and are presented in
Table 2.
Expected value | 1.450919865 |
RMS | 2.174349597 |
The histogram and normal distribution function, prepared using the MS Excel package, is shown in
Figure 3. The columns show the frequency of a certain power drop in a given interval F (N). The probability density curve of the normal distribution is shown by a blue line.
It was previously demonstrated [
5] that to increase the energy efficiency of a livestock building by 10–15%, it is necessary to use an air curtain with a capacity of 4 kW. Thus, the authors tested the null hypothesis that the average value of the obtainable power is
µ = 4. For verification, the authors used a
z-test, in which the number of sample data was
n = 30 [
39].
The authors used the
z-test function of the MS Excel package. The result shows the probability that the power of the selected 4 kW air curtain will satisfy the design power N1 (the last column of
Table 2) at any temperature ranging from −20 to 33 °C (most typical in Ukraine). The result of the test:
z = 1 proves the hypothesis that the selected power fully satisfies the discussed purpose. At lower values of the air curtain power, the probability is less than 1, and at a power of 1 kW,
z = 0.05, that is, the use of an air curtain of this power is impractical.
To measure the parameters of the microclimate, a temperature and humidity sensor DHT22 was selected. The ZD50 throttle valve was chosen as the regulating body, to operate the digital system of the controller of the hardware platform Arduino.
LabView software uses a number of libraries to communicate with the computer and external devices. For this purpose, the Virtual Instrument Software Architecture (VISA) tool is used, which is a standardized input/output interface widely used for testing, measuring, and controlling devices with a desktop computer. VISA supports interfaces such as IEEE-488 (GPIB), VXI, RS-232, as well as USB for measuring devices and is implemented (as e.g., NI VISA) as a library of functions for the C, Visual Basic, and G languages. This allows VISA to standardize access to all measuring devices, regardless of the protocol and hardware used (for example, regardless of the GPIB adapter model). Before implementing the Arduino controller management program project in LabView, the controller was pre-programmed with VISA interface commands. The Arduino Uno controller is programmed in the Arduino IDE environment using the C programming language. Then, the controller connected to the PC will accept the command protocol in the VISA interface in the LabView environment.
A pilot installation for controlling an air curtain based on an integrated Arduino board is shown in
Figure 4. A set of hardware based on the Arduino board and the sensor DHT22 and the throttle valve ZD50 is shown in
Figure 5.
The system operation algorithm compares the value measured from the sensor (input–output unit) with the set boundary values of temperature (in this case 8–12 °C). On the other hand, the control launches the actuator of the air curtain. The READ block is intended for reading data from the sensor, the WRITE block is for saving the command buffer. Arduino contacts take on the following values: 2, when connecting an actuator; 4, when connecting a sensor.
Using NI LabView software, a SCADA system was developed, the block diagram of which is shown in
Figure 6. This software includes an interface, which provides automated control of the technological process and displays measured values and signals when a critical value is reached. In the window of the block diagram of the LabView project, the authors created a software to command the controller and immediately execute the algorithm of the system. The connection ports are set, and the progress of the execution is displayed in the front panel window, where the measured data can be displayed, as well as the status of the devices connected to the controller.
6. Discussion and Prospects
As shown by the research results, one of the most promising and up-to-date directions of energy conservation among the solutions supporting microclimate in livestock buildings is the proposed air curtain system.
The mode of operation, based on matching the length of the air stream to the height (width) of the door is justified. With the horizontal installation of the air curtain at a height of 3.7 m, air velocity at the outlet is 9.6–11 m/s, and at the floor level, 2.3 m/s. For a guaranteed overlap, the door air curtain should be 10 cm longer than the door width, and the air curtain power should be 3465 kcal/h, or 4 kW. The use of air curtains reduces the consumption of thermal energy to maintain an optimal microclimate in livestock buildings by 10–15%.
Please note that installing a tambour door enables a reduction of the power of the air curtain two-fold, because the heat loss through the door opening or the gate is much smaller. With the ability to regulate air curtain efficiency, it is convenient to select the model to match specific external conditions, for warmer or colder weather.
The proprietary air curtain series Wing by a renowned Polish manufacturer VTS EUROHEAT includes models from 1 to 2 m wide, with water or electric heat exchanger, as well as models without heating. All models are versatile, and can be mounted vertically or horizontally. When equipped with the original WING controller, the fan speed is controlled and the heat output is selected for models with electric heating. AC (alternating current) or DC (direct current) motors ensure low fan noise. Water-heated models with a servo-operated valve have two operating modes: with or without heating on.
Research prospects in this area include using IoT technology to monitor and control microclimate in agricultural facilities using the online-controlled air curtain. The authors have experience in implementing this technology to control other processes in agriculture, as described in [
17,
40]. This requires using an integrated board that allows transmitting an online signal using WiFi, Ethernet or GPRS, as well as improving the algorithm and upgrading the program in LabView. As a result, the process will be controlled not only using a desktop, but also an Android mobile device. The flexibility of the LabView software allows use of the developed installation for a broader range of tasks and various rooms with distributed parameters. Another promising factor is the use of robotic electronic devices to control the damper; examples of projects for the agricultural industry are given in [
41].
An automated microclimate control system in an agricultural facility with air curtain and a SCADA system interface allow rational maintenance of a microclimate for animals and plants. The proposed solution can be used in other types of agricultural facilities.
The presented work combines the novelty of not only technological, but also IT solutions for the use of an air curtain device, as well as software and hardware to increase energy efficiency and improve the quality of animal husbandry, and therefore the quality of animal products.