# Swine Barn Environmental Control Systems: Integration and Automation


## Key Takeaways

- Integrated environmental control systems utilize a central controller to manage ventilation, heating, cooling, and alarms based on temperature and humidity sensors placed at pig level (12-24 inches for nursery/grow-finish, sow's back level for sows) to ensure accurate readings and prevent drafts or direct sunlight interference.
- Automated ventilation is staged to match airflow to pig heat production and external weather, with minimum ventilation crucial for moisture and gas removal (2-10 cfm/pig for grow-finish, higher per pound for nurseries) and emergency modes for critical temperature excursions.
- Proper static pressure management (0.05-0.10 inches of water column) is essential for directing incoming air upwards for mixing, preventing cold drafts on pigs, and is controlled by automatic inlets adjusting to maintain a target pressure.
- Temperature curves should be programmed to lower set points as pigs grow or seasons change (e.g., 1-degree Fahrenheit reduction every 3-4 days for nurseries, every 1-2 weeks for grow-finish) to maintain optimal thermal comfort and growth efficiency.
- Alarm systems are critical safety nets, monitoring high/low temperature, power failure, and sensor failure, requiring weekly testing and immediate notification to prevent significant losses, especially during summer heat.
- Recordkeeping of controller set points, daily temperatures, humidity, and alarm events, reviewed weekly, is vital for identifying trends and proactively adjusting system settings to prevent issues like high humidity (>70%) or ammonia levels (>10 ppm).

---

Modern pig production depends on more than genetics, feed, and biosecurity. The environment inside the barn drives daily gain, feed efficiency, mortality, and herd health. A swine barn environmental control system that integrates ventilation, heating, cooling, and monitoring equipment into one automated platform gives you the ability to maintain stable conditions with less daily labor. This guide explains how these systems work, how to choose and configure them, how to automate them effectively, and how to troubleshoot common problems. It is written for farm owners, herd managers, and employees who operate or plan to install environmental control equipment in grow-finish, nursery, and gestation barns.

## At a Glance

- An integrated swine barn environmental control system uses one central controller to manage inlets, fans, heaters, cooling pads, and alarms based on temperature and humidity sensors.
- Automated ventilation for pig barns should be staged so the controller matches airflow to pig heat production and outside weather.
- Place temperature sensors at pig level, not at human eye level, and protect them from drafts and direct sun.
- Set alarm thresholds for high and low temperature, power failure, and sensor failure. Test alarms weekly.
- Keep a backup controller and spare sensors, probes, belts, and motors on hand.
- Record controller set points, daily temperatures, humidity, and alarm events. Review the records weekly.
- Call a veterinarian when pigs show signs of respiratory distress, unusual mortality, or behavior changes that suggest a disease outbreak rather than a simple equipment failure.

## Why Environmental Control Matters in Swine Barns

Pigs have a narrow thermal comfort zone. The thermoneutral zone is the range of temperatures where a pig does not need to expend energy to warm up or cool down. For a newborn piglet, that zone is around 90 to 95 degrees Fahrenheit. For a finishing pig, it drops to roughly 60 to 70 degrees Fahrenheit. When the temperature moves outside that zone, pigs divert energy from growth to maintaining body temperature. That means slower gains, poorer feed conversion, and higher production cost per pound of pork.

High temperatures are especially damaging. Pigs do not sweat effectively. They rely on panting and on heat loss through the skin. When barn temperature climbs above the upper critical temperature, feed intake drops, daily gain falls, and in severe cases sows and finishers can die from heat stress. Low temperatures are less acute but still costly. Pigs eat more to stay warm, which raises feed cost per pound of gain, and they pile and huddle, which increases the risk of crushing in nurseries and farrowing rooms.

Humidity matters as much as temperature. High humidity reduces the pig's ability to lose heat through evaporation. It also promotes the growth of pathogens and ammonia-producing bacteria in manure. Ammonia gas irritates the respiratory tract and makes pigs more susceptible to pneumonia and other respiratory diseases. Good ventilation removes moisture, ammonia, carbon dioxide, and dust while bringing in fresh air.

The goal of a swine barn environmental control system is to hold temperature and humidity inside a target range regardless of outside weather and pig size. A simple thermostat and a single fan can do part of that job. A fully integrated and automated system does it more precisely, more reliably, and with less labor.

## Core Components of a Swine Barn Environmental Control System

Before you can integrate and automate, you need to understand the individual pieces. Every automated system has the same basic building blocks.

### Temperature and Humidity Sensors

Sensors are the eyes of the system. Most modern barns use electronic thermistors or thermocouples for temperature and capacitive or resistive sensors for humidity. These sensors send a signal to the controller, which compares the reading to the set point and decides what equipment to run.

Sensor placement is critical. A sensor that reads 5 degrees high will cause the controller to overventilate, chilling the pigs. A sensor that reads 5 degrees low will cause under-ventilation, leading to heat stress and poor air quality. Mount sensors at pig level. For nursery and grow-finish pigs, that is 12 to 24 inches above the floor. For sows, mount at the level of the sow's back when she is lying down. Keep sensors away from direct sunlight, heat lamps, water lines, and air inlets. A sensor in an air draft reads inlet air temperature, not barn temperature.

Use multiple sensors in each room. The controller should average the readings or use the highest reading for cooling decisions and the lowest reading for heating decisions. One failed sensor should not shut down the whole system.

### Controllers

The controller is the brain. Basic controllers manage one or two fans and a heater based on a single temperature sensor. Advanced controllers, sometimes called environmental controllers or barn computers, manage multiple stages of fans, variable-speed fans, heaters, cooling pads, sprinklers, curtains, and inlets. They log data, send alarms, and connect to a phone app or computer.

A good swine barn controller lets you set different temperature curves for different pig ages and weights. It should have a minimum ventilation rate that runs continuously even in cold weather to control moisture and gases. It should also have an emergency ventilation mode that opens all inlets and runs all fans if temperature exceeds a danger threshold.

Look for a controller that is easy to program without a manual in front of you. You will change set points as pigs grow and as seasons change. If programming requires scrolling through dozens of menus, you will make mistakes. Many producers prefer controllers with a simple dial or arrow keys for the main temperature setting and a separate menu for advanced settings.

### Fans

Fans move air out of the barn, creating negative pressure that pulls fresh air in through the inlets. Most swine barns use exhaust fans mounted on a sidewall or end wall. Fans come in two basic types: single-speed and variable-speed.

Single-speed fans run at full capacity when they are on. The controller stages them, turning on one fan, then a second, then a third as temperature rises. This creates stepped changes in airflow. Variable-speed fans, also called variable-frequency drive fans, can run anywhere from about 20 percent to 100 percent capacity. They provide smooth, continuous airflow adjustment, which keeps temperature more stable and saves electricity.

A typical grow-finish room has several fans of different sizes. A small fan runs continuously for minimum ventilation. Medium fans add capacity for mild weather. Large fans provide maximum ventilation for hot days. The controller turns them on and off based on temperature and humidity.

### Inlets

Inlets control where fresh air enters the barn and how it is distributed. In a negative-pressure system, fans pull air in through inlets. The inlets must be sized and positioned so incoming air is directed upward into the peak of the barn, where it mixes with warm air before falling to pig level. This prevents cold drafts on pigs.

Inlets can be manual or automatic. Automatic inlets have a motor or actuator that opens and closes them based on the pressure difference between the barn and outside. The controller adjusts inlet opening to maintain a target static pressure, usually 0.05 to 0.10 inches of water column. Correct static pressure ensures the air jet travels far enough to mix properly before dropping to the floor.

### Heaters

Heaters are needed in nurseries, farrowing rooms, and sometimes in grow-finish barns during cold weather. The most common types are forced-air gas heaters, radiant tube heaters, and heat lamps or pads for piglets. The controller turns heaters on when temperature drops below the heating set point and turns them off when temperature rises above it. The heating set point is always lower than the ventilation set point, so the system does not heat and ventilate at the same time.

### Cooling Systems

Cooling options include ventilation alone, evaporative cooling pads, high-pressure fogging or misting, sprinklers, and drip coolers for sows. Evaporative cooling pads work by pulling outside air through wet cellulose pads. The water evaporates and cools the air before it enters the barn. These systems work well in dry climates but are less effective in humid conditions. Fogging and misting systems spray fine water droplets into the air. Sprinklers wet the pigs directly, and the pigs cool themselves through evaporation. Drip coolers drip water onto the sow's neck and shoulders.

The controller should integrate cooling equipment so it runs only when ventilation alone cannot hold the temperature. Running cooling pads or sprinklers when they are not needed wastes water and raises humidity.

### Alarms

An alarm system is the safety net. It monitors temperature, power, and sensor function. If the temperature goes above or below the set range, if the power fails, or if a sensor fails, the alarm sounds and sends a message to your phone. Some systems also monitor static pressure, ammonia levels, and whether fans are actually turning.

A dial-up or cellular alarm that calls multiple phone numbers is the minimum. A system that sends text messages and app notifications is better. You need to know about a failure immediately, day or night. Every hour without ventilation in summer can cost you pigs.

## How Swine Barn Controllers Work

The controller operates on a simple logic loop. It reads the sensor, compares the reading to the set point, and decides whether to increase or decrease ventilation, heating, or cooling. The sophistication comes in how it makes those decisions.

### Temperature Stages

Most controllers use a staged approach. Each stage is a piece of equipment or a speed setting. The stages are arranged in order from minimum ventilation to maximum cooling. A typical sequence for a grow-finish room might look like this:

Stage 1: Minimum ventilation fan runs continuously at low speed
Stage 2: Minimum ventilation fan speeds up slightly
Stage 3: First variable-speed fan begins to run faster
Stage 4: First single-speed fan turns on
Stage 5: Second single-speed fan turns on
Stage 6: Cooling pad pump turns on
Stage 7: Sprinklers turn on

The controller moves up a stage when the temperature stays above the set point for a set time, usually 1 to 5 minutes. It moves down a stage when the temperature drops below the set point. The time delay prevents the system from cycling on and off rapidly, which wears out equipment and creates temperature swings.

### Minimum Ventilation

Minimum ventilation is the most important setting on your controller. It is the airflow needed in cold weather to remove moisture, ammonia, carbon dioxide, and odors while keeping the barn warm enough for the pigs. Minimum ventilation rates are usually expressed in cubic feet per minute per pig or per 100 pounds of pig weight.

A common starting point for grow-finish pigs is 2 to 10 cfm per pig in cold weather, depending on pig weight. Nursery pigs need more air per pound of body weight because they produce more moisture and ammonia per pound. Your controller should have a minimum ventilation timer or a minimum fan speed setting that runs even when the temperature is below the set point. This is not optional. A barn that is sealed tight to keep heat in will quickly accumulate ammonia and moisture, leading to respiratory disease.

As pigs grow, increase the minimum ventilation rate. A good rule is to check the settings every two weeks and adjust based on humidity. If relative humidity inside the barn is above 70 percent, increase minimum ventilation. If it is below 40 percent, you can reduce it slightly.

### Static Pressure

Static pressure is the difference in air pressure between the inside and outside of the barn. Negative-pressure ventilation creates a slight vacuum inside. The controller uses a static pressure sensor to adjust inlet openings. If static pressure is too high, the inlets are too closed and air speed is too high, which can create drafts. If static pressure is too low, the inlets are too open and air falls to the floor before mixing, chilling the pigs.

Target static pressure depends on barn design, inlet type, and ceiling height. A common range is 0.05 to 0.10 inches of water column. Check your barn design specifications and adjust from there. Watch the pigs. If they are huddled and avoiding drafts, increase static pressure slightly. If they are spread out but the barn feels stuffy, decrease it.

### Temperature Curves

Pigs need different temperatures at different weights. A 10-pound nursery pig needs about 85 degrees Fahrenheit. A 50-pound grower needs about 75 degrees. A 250-pound finisher needs about 65 degrees. The controller should have a temperature curve or slope setting that automatically lowers the set point as the pigs grow or as the season warms.

Set the curve based on the pigs' weight and the time of year. For example, start nursery pigs at 85 degrees and lower the set point by 1 degree every 3 to 4 days until you reach 75 degrees. For grow-finish, lower the set point by 1 degree every 1 to 2 weeks. Watch the pigs. If they are lying in a tight pile, the temperature is too low. If they are spread out and panting, it is too high.

## Step-by-Step Guide to Integrating Your System

Integration means making all the components work together as one system. This section walks through the process from planning to commissioning.

### Step 1: Assess Your Current Setup

Walk through your barn and make a list of every piece of environmental equipment. Note the type, age, and condition of each fan, heater, inlet, sensor, and controller. Check the wiring and connections. Look for corrosion, loose connections, and rodent damage. A system is only as reliable as its weakest component.

Decide whether you are upgrading an existing system or installing a new one. If you are upgrading, check whether your existing fans and heaters are compatible with a new controller. Most modern controllers can work with standard single-phase and three-phase fans, but you may need to add relays or contactors.

### Step 2: Choose a Controller

Select a controller that matches the size and complexity of your barn. A single-room nursery needs a simpler controller than a multi-room grow-finish barn. Look for these features:

Multiple sensor inputs so you can average readings or use backup sensors
Variable-speed fan outputs for smooth control
Staged outputs for single-speed fans, heaters, and cooling equipment
Static pressure control with automatic inlet adjustment
Minimum ventilation timer or minimum speed setting
Alarm outputs for high and low temperature, power failure, and sensor failure
Data logging and remote access
A user interface that you can operate without a manual

Buy from a reputable manufacturer with local dealer support. You will need technical help at some point, and a dealer who can visit your farm is worth more than a slightly cheaper controller from a distant supplier.

### Step 3: Position Sensors Correctly

Install temperature sensors at pig level in the center of the room, away from walls, inlets, and heaters. Use at least two sensors per room. Mount them so they cannot be bumped by pigs, equipment, or people. Protect them with a perforated shield that allows air to flow over the sensor but blocks direct contact.

Install the humidity sensor in a location that represents the average barn condition. Avoid placing it near a water line, cooling pad, or sprinkler, where it will read artificially high.

Place the static pressure sensor in a protected location inside the barn, away from doors and inlets. Run a tube to the outside through a wall. Keep the outside opening shielded from wind.

### Step 4: Connect and Configure the Controller

Wire the controller according to the manufacturer's instructions. Use proper conduit and waterproof connections. Label every wire at both ends. This will save you hours when you need to troubleshoot.

Configure the controller for your specific barn. Enter the number of sensors, the number of fan stages, and the type of each output. Set the temperature units to Fahrenheit or Celsius. Set the time and date.

Program the minimum ventilation rate. Calculate the minimum cfm needed for the smallest pigs you will house. Set the minimum fan speed or timer accordingly. A good starting point is to run the minimum fan continuously at the lowest speed that removes moisture without chilling the pigs.

Set the temperature set point and the temperature curve. Start with the recommended set point for the pig size you are housing. Set the stage differentials, usually 1 to 2 degrees between stages. Set the stage timers, usually 2 to 5 minutes.

Set the static pressure set point. Start with the barn design specification and adjust based on pig behavior.

Set the alarm thresholds. High temperature alarm should be 3 to 5 degrees above the set point. Low temperature alarm should be 3 to 5 degrees below the set point. Set a power failure alarm. Set a sensor failure alarm.

### Step 5: Test Everything

Before you put pigs in the barn, test every function. Turn on the controller and watch each stage activate in sequence. Verify that each fan turns on and off when it should. Verify that the heater comes on when temperature drops. Verify that the cooling system activates at the right stage.

Test the alarms. Simulate a high temperature by warming the sensor with your hand. Simulate a low temperature by putting the sensor in ice water. Simulate a power failure by tripping the main breaker. Confirm that the alarm sounds and that the phone notification reaches you.

Check the static pressure. Watch the inlets open and close as the controller adjusts. Confirm that the air enters the barn and travels along the ceiling before dropping to the floor.

### Step 6: Commission and Monitor

Once the system passes testing, put it into operation. Monitor it closely for the first 48 hours. Check the temperature and humidity readings against a handheld thermometer and hygrometer. Confirm that the controller readings match the actual barn conditions.

Watch the pigs. Their behavior is the final check on your settings. Adjust the set point and ventilation rates based on what you see.

## Automating Ventilation for Pig Barns

Automated ventilation for pig barns is the core of the integrated system. Automation removes the need for someone to physically open and close curtains, turn fans on and off, and adjust inlets throughout the day. The controller does all of that based on sensor readings and your programmed set points.

### Minimum Ventilation Automation

The controller should run minimum ventilation continuously. In cold weather, this is the only ventilation running. The controller varies the speed of the minimum fan or cycles it on a timer to maintain the target humidity and air quality. Some controllers use a humidity sensor to increase minimum ventilation when relative humidity rises above a set point, usually 60 to 70 percent.

Set the minimum ventilation so that the barn does not get stuffy but also does not get cold. Check ammonia levels with a hand pump or electronic sensor. If ammonia exceeds 10 to 15 parts per million at pig level, increase minimum ventilation.

### Transition Ventilation

As outside temperature rises, the controller increases ventilation to remove excess heat while still maintaining good air distribution. This is the transition stage. The controller opens inlets wider and increases fan speed. Static pressure control becomes important here. If inlets do not open enough, the fans will create excessive negative pressure and the air will come in too fast, creating drafts. If inlets open too much, air will fall to the floor.

### Tunnel Ventilation

In hot weather, many grow-finish barns switch to tunnel ventilation. All the air moves in one direction, from inlets at one end of the barn to large exhaust fans at the other end. This creates a wind chill effect that helps pigs cope with heat. Tunnel fans are large, usually 36 to 54 inches, and move a large volume of air.

The controller should switch from transition to tunnel mode automatically when temperature exceeds a set point, usually around 70 to 75 degrees for finishing pigs. When tunnel mode activates, the controller opens the tunnel inlets fully and turns on the tunnel fans. The sidewall inlets close.

Tunnel ventilation requires careful management of air speed. Target air speed at pig level is 400 to 700 feet per minute for finishing pigs. Higher speeds are better for larger pigs in hot weather. The controller can adjust fan speed to maintain the target.

### Evaporative Cooling Automation

When tunnel ventilation alone cannot hold the temperature, the controller activates evaporative cooling. Cooling pads at the tunnel inlet end wet the incoming air. The controller turns on the water pump and lets the pads saturate before ramping up the fans.

Set the controller to start cooling pads at a temperature set point, usually 80 to 85 degrees for finishing pigs. Do not run the pads continuously in humid weather. If relative humidity is above 80 percent, evaporative cooling adds little benefit and can raise humidity to dangerous levels.

### Heating Automation

The controller manages heaters in nurseries and farrowing rooms. The heating set point is below the ventilation set point. For example, a nursery room might have a heating set point of 80 degrees and a ventilation set point of 84 degrees. When temperature is between those two points, the heater runs as needed and the minimum ventilation fan runs continuously. When temperature rises above 84 degrees, the heater turns off and ventilation increases.

Set the heater differential to avoid short cycling. The heater should turn on when temperature drops 1 to 2 degrees below the set point and turn off when it reaches the set point. Short cycling wastes fuel and wears out the heater.

## Environmental Monitoring for Pigs

Monitoring is more than reading the temperature display on the controller. A complete monitoring program tracks the environment continuously and records data for later review.

### What to Monitor

Track these variables at minimum:

Barn temperature at pig level
Relative humidity
Ammonia concentration
Carbon dioxide concentration
Static pressure
Fan operation status
Alarm events
Power status

Some controllers log all of these automatically. If yours does not, record them manually at least twice a day, once in the morning and once in the evening.

### How Often to Check

Check the controller display at least twice daily. Walk the barn and look at the pigs. Check that sensors are clean and not obstructed. Listen for unusual fan noise. Look for belts that are loose or slipping. Check that inlets are moving freely.

Check ammonia levels weekly with a hand pump and detector tubes or an electronic sensor. Sample at pig level, not at human height. Ammonia is heavier than air and concentrates near the floor.

Check alarm functionality weekly. Test each alarm by simulating the condition. Confirm that the phone notification reaches the right people.

### Recordkeeping

Keep a log of environmental data. Record the date, time, barn or room, pig weight, temperature set point, actual temperature, humidity, ammonia level, and any alarm events. Note any equipment changes or maintenance.

Review the log weekly. Look for trends. Is the temperature creeping up as pigs grow? Is humidity rising as the season changes? Are alarms happening more often? These trends tell you when to adjust settings before problems develop.

Keep maintenance records for each piece of equipment. Note when belts were replaced, when motors were serviced, and when sensors were calibrated. This helps you predict when equipment will need attention.

## Common Mistakes in Swine Barn Environmental Control

Even experienced producers make mistakes with environmental control. Here are the most common problems and how to avoid them.

### Mistake 1: Setting Minimum Ventilation Too Low

The most common mistake is setting minimum ventilation too low to save heat. The barn gets stuffy, ammonia builds up, and pigs develop respiratory problems. The cost of the extra heat is far less than the cost of lost performance and veterinary bills.

Set minimum ventilation to control humidity. If relative humidity is above 70 percent, increase the minimum rate. If you can smell ammonia when you walk in, increase it.

### Mistake 2: Placing Sensors Incorrectly

A sensor mounted at human eye level reads 5 to 10 degrees warmer than the temperature at pig level. The controller then under-ventilates, and the pigs get heat stressed. A sensor in a draft reads inlet air temperature and causes the controller to over-ventilate.

Mount sensors at pig level. Use multiple sensors and average them. Protect sensors from drafts and direct heat.

### Mistake 3: Ignoring Static Pressure

Producers who do not understand static pressure often leave inlets set at one position all year. In cold weather, the air falls to the floor and chills the pigs. In hot weather, the air does not reach the far end of the barn.

Check static pressure regularly. Watch how the air moves. Adjust inlet openings when you change ventilation stages.

### Mistake 4: Not Testing Alarms

An alarm that has never been tested may not work when you need it. A failed alarm in summer can cost you an entire room of pigs.

Test all alarms weekly. Confirm that the notification reaches your phone. Fix any problem immediately.

### Mistake 5: Overcooling in Hot Weather

Some producers set the temperature set point too low in summer. The controller runs the fans and cooling system continuously, but the barn never reaches the set point. The pigs are comfortable, but the system is working harder than needed.

Set the cooling set point realistically. In hot weather, the goal is to keep the barn within 5 to 10 degrees of outside temperature, not to cool the barn below outside temperature.

### Mistake 6: Neglecting Maintenance

Fans with loose belts move less air. Dirty cooling pads do not cool. Sensors that are covered in dust read incorrectly. A system that is not maintained will fail.

Establish a maintenance schedule. Clean sensors monthly. Check belts and motors monthly. Clean cooling pads at the start of each cooling season. Replace worn parts before they fail.

## Decision Thresholds for Adjusting the System

Knowing when to adjust the system is as important as knowing how to adjust it. Use these thresholds as a guide.

### Temperature Thresholds

If barn temperature stays more than 2 degrees above the set point for more than an hour, increase ventilation or check the system for a problem. If temperature stays more than 2 degrees below the set point, decrease ventilation or check the heater.

If temperature swings more than 5 degrees within 30 minutes, the system is cycling too aggressively. Increase the stage timers or reduce the stage differentials.

### Humidity Thresholds

If relative humidity stays above 70 percent for more than a few hours, increase minimum ventilation. High humidity promotes respiratory disease and makes the barn feel hotter than the temperature reading suggests.

If relative humidity drops below 40 percent, you can reduce minimum ventilation slightly to save heat, but be careful. Very dry air can increase dust levels.

### Ammonia Thresholds

If ammonia at pig level exceeds 10 parts per million, increase ventilation. If it exceeds 25 parts per million, take immediate action. High ammonia damages the respiratory tract and makes pigs more susceptible to disease.

If ammonia remains high even with maximum ventilation, check for manure buildup, broken scraper systems, or plugged pits.

### Pig Behavior Thresholds

Pig behavior is the most reliable indicator of thermal comfort. Watch the pigs at different times of day.

If pigs are lying in a tight pile, they are cold. Raise the temperature set point or reduce ventilation.

If pigs are lying spread out with no contact, they are comfortable.

If pigs are lying in a line along the wall or in the dunging area, they are too warm. Increase ventilation or cooling.

If pigs are panting, they are heat stressed. Take immediate action to cool the barn.

If pigs are avoiding one area of the room, there may be a draft or an air quality problem in that area. Check the inlets and static pressure.

## When to Call a Veterinarian or Extension Agent

Most environmental control problems are equipment problems that you can fix yourself. But some situations require professional help.

### Call a Veterinarian When

Call your veterinarian if you see signs of respiratory disease that do not improve after you correct ventilation problems. Signs include coughing, labored breathing, nasal discharge, and elevated mortality. A disease outbreak can look like a ventilation failure, and a ventilation failure can trigger a disease outbreak. Your veterinarian can help you distinguish between the two and can test for specific pathogens.

Call your veterinarian if you see sudden or unexplained mortality. Heat stress can kill pigs quickly, but so can diseases like [porcine reproductive and respiratory syndrome](/knowledge/viruses/general/porcine-reproductive-and-respiratory-syndrome-genomic-surveillance-and-vaccine-strategies-using-bioinformatics), influenza, and streptococcal infections. Do not assume it is just the heat.

Call your veterinarian if pigs show unusual behavior such as head pressing, circling, tremors, or paralysis. These can indicate neurological disease, which may be related to toxins or pathogens in the barn environment.

### Call an Extension Agent When

Call your local extension agent if you need help designing a new ventilation system or upgrading an existing one. Extension agents can provide barn plans, ventilation rate calculations, and guidance on equipment selection.

Call your extension agent if you have questions about energy efficiency, manure management, or environmental regulations. They can connect you with resources and programs that can help you reduce costs and comply with regulations.

Call your extension agent if you want to learn more about new technology. Many extension programs offer workshops on environmental control, [precision livestock farming](/knowledge/animal-farming/farm-management/precision-livestock-farming-technologies-benefits-and-implementation-challenges), and [data management](/blog/guides/data-management-basics-principles-processes-and-best-practices).

## Troubleshooting Common Problems

### Problem: Temperature Is Too High

Check the fans first. Are they running? Are belts tight? Are shutters open? Check the inlets. Are they open enough? Check the static pressure. Is it too high, restricting airflow? Check the sensors. Are they reading correctly? A sensor that reads high will cause the controller to overventilate, but a sensor that reads low will cause under-ventilation.

If fans are running and inlets are open but temperature is still high, check for air recirculation. Air may be entering through one inlet and immediately exiting through a nearby fan without reaching the pigs.

### Problem: Temperature Is Too Low

Check the heater. Is it running? Is the gas supply on? Is the pilot lit? Check the sensors. A sensor that reads low will cause the controller to overheat, but a sensor that reads high will cause under-heating.

If the heater is running but the barn is cold, check for drafts. Cold air may be entering through gaps around doors, curtains, or inlets. Check the minimum ventilation rate. It may be set too high for the pig size and outside temperature.

### Problem: Humidity Is Too High

Increase minimum ventilation. High humidity in cold weather means the minimum ventilation rate is too low. In warm weather, it may mean the cooling system is running too much. Check the cooling pad settings. If the pads run continuously, they add moisture to the air.

Check for water leaks. A leaking water line or drinker can add significant moisture to the air.

### Problem: Ammonia Odor

Increase minimum ventilation. Ammonia buildup is almost always a ventilation problem. Check the manure handling system. If pits are full or scrapers are not working, ammonia levels will rise even with good ventilation.

### Problem: Fans Run Constantly

Check the temperature set point. If it is set too low for the pig size and outside temperature, the fans will run continuously trying to cool the barn. Check the sensor readings. A sensor that reads high will cause the controller to run more ventilation than needed.

Check for air recirculation. If air is short-circuiting from inlet to fan, the controller will keep increasing ventilation because the temperature near the sensor does not drop.

### Problem: Fans Cycle On and Off Frequently

Increase the stage timers. The controller should hold each stage for at least 2 to 5 minutes before changing. If the timers are set too short, the system will hunt, cycling fans and heaters rapidly. This wastes energy and creates temperature swings.

Check the stage differentials. If the differential between stages is too small, the controller will move up and down stages rapidly.

### Problem: Alarm Goes Off Frequently

Check the alarm thresholds. If they are set too tight, normal temperature fluctuations will trigger alarms. The high temperature alarm should be 3 to 5 degrees above the set point. The low temperature alarm should be 3 to 5 degrees below.

Check the sensor readings. A faulty sensor can trigger false alarms. Replace sensors that give erratic readings.

## Seasonal Adjustments

The environmental control system needs different settings in different seasons.

### Winter Settings

In winter, the priority is moisture control. Minimum ventilation runs continuously to remove moisture and gases. The heater maintains temperature. Static pressure is typically higher to ensure good air distribution in a tightly closed barn.

Set the minimum ventilation to maintain relative humidity below 70 percent. Check ammonia levels weekly. Watch for condensation on walls and ceilings, which indicates insufficient ventilation.

### Summer Settings

In summer, the priority is heat removal. Tunnel ventilation and evaporative cooling take over. The controller switches to tunnel mode when temperature exceeds the transition set point.

Set the cooling set point realistically. Do not expect the barn to be cooler than outside when using ventilation alone. Evaporative cooling can drop the temperature 10 to 15 degrees in dry climates but much less in humid conditions.

### Spring and Fall Settings

Spring and fall are the most challenging seasons because outside temperatures swing widely. The controller must move between heating, minimum ventilation, transition ventilation, and possibly cooling within the same day.

Use the temperature curve to adjust set points gradually as the season changes. Check the system daily during these transition periods. Watch the pigs for signs of discomfort.

## Backup and Emergency Planning

Every automated system will fail eventually. Plan for it.

### Backup Power

A power failure in summer can kill pigs within hours. Install a standby generator sized to run the minimum ventilation fans, the controller, and the alarm system. Test the generator weekly under load.

If you do not have a generator, install a low-temperature alarm that runs on battery and calls your phone. Have a plan to move pigs or open curtains and doors manually if power fails.

### Backup Controller

Keep a spare controller on hand. If the main controller fails, you can swap in the spare and keep the system running. Program the spare with your standard settings and store it in a dry, accessible location.

### Spare Parts

Keep these parts in stock:

Temperature sensors
Humidity sensors
Static pressure sensors
Fan belts
Fan motors
Contactors and relays
Fuses
Inlet actuators
Alarm system batteries

Check your spare parts inventory quarterly and replace what you have used.

### Emergency Procedures

Write an emergency procedure for your farm. Include the phone numbers for the electrician, the equipment dealer, the veterinarian, and the extension agent. Post the procedure near the controller and in the office.

Train all employees on the emergency procedures. Every person who works in the barn should know how to test the alarms, how to open inlets manually, and who to call when something fails.

## The Future of Swine Barn Environmental Control

Technology is changing how producers manage the barn environment. Wireless sensors, cloud-based controllers, and machine learning are making systems more precise and easier to manage.

### Wireless Sensors

Wireless sensors eliminate the need to run wires through the barn. They can be placed anywhere and moved as pigs grow. They also make it easier to add sensors for monitoring ammonia, carbon dioxide, and other gases.

### Cloud-Based Controllers

Many modern controllers connect to the internet. You can check the barn from your phone, adjust set points remotely, and receive alarms anywhere. Some systems send you a daily report with temperature, humidity, and alarm data.

### Machine Learning

Advanced systems use machine learning to predict temperature changes and adjust ventilation before the barn gets too hot or too cold. They learn the thermal characteristics of your barn and the behavior of your pigs. These systems are expensive but can improve efficiency and reduce risk.

### Data Integration

The next step is integrating environmental data with feed, water, and health data. This lets you see the full picture of how the environment affects performance. A producer who can connect a spike in barn temperature to a drop in feed intake and a rise in treatment costs can make better management decisions.

## Frequently Asked Questions

### How often should I calibrate the temperature sensors in my swine barn?

Check sensor accuracy monthly by comparing the controller reading to a handheld thermometer placed next to the sensor. If the sensor reads more than 1 degree off, recalibrate or replace it. Sensors drift over time, especially in dusty and humid barn environments. Plan to replace sensors every 2 to 3 years as part of normal maintenance.

### What is the ideal relative humidity inside a swine barn?

The target range is 50 to 70 percent relative humidity. Below 50 percent, dust becomes a problem and pigs can experience respiratory irritation. Above 70 percent, moisture and ammonia build up and pigs have trouble cooling themselves. Use the humidity reading to adjust minimum ventilation, especially in cold weather.

### Can I control my swine barn environmental system from my phone?

Many modern controllers offer remote access through a phone app or web portal. You can view temperatures, adjust set points, and receive alarm notifications. Remote access is a valuable feature, but it does not replace walking the barn. You still need to see the pigs and check the equipment in person.

### How much does an automated swine barn environmental control system cost?

Costs vary widely depending on barn size, equipment quality, and installation complexity. A basic controller for a single room can cost a few hundred dollars. A complete system with sensors, variable-speed fans, automated inlets, and remote monitoring for a large grow-finish barn can cost tens of thousands of dollars. The investment pays off through better feed conversion, lower mortality, and reduced labor.

### What should I do if the power goes out in my barn?

Your standby generator should start automatically and power the controller, minimum ventilation fans, and alarms. If you do not have a generator, open doors and curtains to provide natural ventilation and call your electrician immediately. Monitor the pigs closely. In summer, heat stress can kill pigs within 30 to 60 minutes of power loss.

### How do I know if my minimum ventilation rate is correct?

Watch the pigs and check the humidity. If pigs are comfortable and relative humidity is between 50 and 70 percent, the minimum rate is probably close to correct. If the barn is stuffy, ammonia levels are above 10 parts per million, or humidity is above 70 percent, increase the minimum rate. If pigs are chilled and humidity is below 40 percent, you can reduce it slightly.

### What is the difference between a heating set point and a ventilation set point?

The heating set point is the temperature at which the heater turns on. The ventilation set point is the temperature at which ventilation increases. The ventilation set point is always higher than the heating set point. The space between them is the dead band where neither heating nor extra ventilation runs. A typical dead band is 2 to 4 degrees.

### How often should I test my alarm system?

Test all alarms at least once a week. Simulate a high temperature by warming a sensor, simulate a low temperature by cooling a sensor, and simulate a power failure by tripping the breaker. Confirm that the alarm sounds and that the notification reaches your phone. A failed alarm is worse than no alarm because you think you are protected.

## Related Farming Guides

This section will be populated with links to related farming guides on pig barn design, ventilation system maintenance, swine health management, and nursery pig care. Check back for updated resources.

## Related Clinical & Scientific Guides

* [Pig Enrichment Programs and Behavior Monitoring](/knowledge/animal-farming/swine/pig-enrichment-programs-and-behavior-monitoring)
* [Swine Handling Facility Design for Safe Pig Movement](/knowledge/animal-farming/swine/swine-handling-facility-design-safe-pig-movement)
* [Swine Feeding Management for Grow-Finish Pigs](/knowledge/animal-farming/swine/swine-feeding-management-for-grow-finish-pigs)


## References

- National Pork Board: https://www.pork.org/
- USDA APHIS Swine Health: https://www.aphis.usda.gov/livestock-poultry-disease/swine
- FAO Pig Production: https://www.fao.org/pig-production-and-products/en/
- FAO Animal Production and Health: https://www.fao.org/animal-production/en/
- WOAH (World Organisation for Animal Health): https://www.woah.org/en/home/

> This article is educational and is not a substitute for veterinary diagnosis, treatment, public-health guidance, or regulatory reporting.