Proactive Pig Project to use AI data to help manage barn conditionsProactive Pig Project to use AI data to help manage barn conditions

Precision livestock farming real-time monitoring could lower cost for farmers, while improving animal welfare.

5 Min Read
Woman holding a pig
Lingjuan Wang-Li holds a piglet while touring a swine facility.NC State

By Laura Ivanitch 

Inside a barn used for commercial swine production, upwards of 2,000 pigs spend their days eating, breeding and growing. Creating an environment within these massive pig houses to promote their inhabitants’ health and wellbeing presents farmers with both opportunities and challenges. 

In theory, barns control the temperature, humidity and air circulation to maintain conditions where pigs thrive. But the reality is more complex, says Lingjuan Wang-Li, William Neal Reynolds Distinguished Professor in North Carolina State University’s Department of Biological and Agricultural Engineering.  

While enhanced technology gives growers a leg up when it comes to raising healthy pigs, limitations lead to suboptimal growth conditions, which result in more than $900 million in losses annually in the U.S. swine industry. 

Funded by a $1 billion grant from the NIFA, Wang-Li is taking a new approach to controlling these indoor environments. She and her team of 11 researchers, hailing from a broad range of specialties across three universities, are embarking on the Proactive Pig Project (P3). Their plan: Take advantage of artificial intelligence to glean pig data that can help manage barn conditions.  

Data-informed farming 

Since its inception in the early 1980s, precision livestock farming has enabled farmers to make informed decisions on animal welfare based on data collected from the animals. For example, pigs wear sensors that alert farmers to illness or injury.  

Related:Ohio pork industry members honored for dedication, leadership

Meanwhile, barns are monitored by a separate system that notifies farmers when conditions like barn temperature fall outside of a predetermined range. These ranges are based on optimal pig growth and development. Once alerted that they are out of “ideal range,” farmers can make decisions about increasing or decreasing airflow, temperature and the like.  

Pigs are individuals, however, and with each animal’s unique genetic makeup comes an equally distinct response to the environment. Singular pigs have specific needs regarding air temperature, air circulation, and other factors, just like humans.  

Wang-Li compares it to a group of people sharing an office — and a thermostat. “During summertime I prefer 70 degrees,” she says. “A lot of my colleagues prefer 60 degrees.” 

Like humans, pigs also get stressed in uncomfortable spaces. That stress can lead to physiological changes affecting their digestion, weight, reproduction, immunity and more. Stress can also affect the quality of meat. 

From data to action 

Related:Research explores survival of African swine fever virus in digestive system of pigs

In order for PLF to account for the needs of individual animals, it must first use monitors to collect data from pigs and their environments — things like body temperature, heart rate and respiration rate.  

This body of data will help the swine industry move to a proactive model.  

“If we don’t use the data to build AI, whatever we do using sensors based off of environmental controls is just reactive to whatever the sensor detects,” Wang-Li says. 

By adding data from pigs to the data created by monitoring barn environments, artificial intelligence can make recommendations for individualizing living conditions. Farmers might turn on a fan or adjust the thermostat to lower a pig’s stress before that stress threatens the pig’s welfare. 

The research involved with the P3 project will tap researchers and faculty with a broad range of experience and expertise. “We just could not do the study without a transdisciplinary approach,” says Wang-Li. “It’s not only research activity, but also, some faculty may focus on research, others on extension and teaching. There are a lot of pieces.” 

Faculty involved in the P3 project include: 

  • Anna Johnson, Iowa State University professor of animal behavior and welfare, and Glen Almond, a professor at NC State’s College of Veterinary Medicine, will work to define pig stress levels on a three-point scale: moderate stress, severe stress and life-threatening stress.  

Related:Veterinarians have role to play in One Health concept

  • Lirong Xiang, NC State assistant professor in sensors, controls, automation and applied AI, will work to modify technologies currently used in PLF to collect this data. This equipment includes thermal cameras, microphones, radio frequency identification, weight estimation cameras, water flow meters and RGB+IR cameras that detect both visible and infrared light.  

  • Chadi Sayde, an assistant professor of biological and agricultural engineering at NC State, will use his expertise to provide insight into environmental sensing and CFD (Computational fluid dynamics) modeling. Mahmoud Sharara, an associate professor of biological and agricultural engineering at NC State, will weigh in on sustainable waste management. 

  • Xipeng Shen, an NC State computer science professor specializing in dependable AI and augmented deep reinforcement learning, will first develop offline AI models, which can operate with limited or no internet access, to automatically detect animal behavior and model the statistical interaction of their wellbeing with environmental conditions. Then a deep reinforcement learning-based AI system will integrate data from PLF monitors with controls for indoor pig environments to create a proactive management system. 

  • NC State animal science faculty include: Suzanne Leonard, who will assist with PLF efforts; Eric van Heugten, who specializes in swine feed and nutrition; and Christian Maltecca, working in swine data driven genetics and genomics. Mulumebet Worku, professor of animal molecular genetics and biotechnology at North Carolina A&T, will focus on outreach and Extension. 

Meeting global needs  

With growing populations, the United Nations projects the need for animal-based foods could increase 70% by 2050. As demand for food grows, so will the importance of minimizing agriculture’s harmful effects on the natural world. This, combined with larger farm sizes and fewer farm workers, points to a greater need for efficiency.  

Combining PLF’s real-time monitoring technologies with AI will allow farmers to determine optimal amounts of food, water and other inputs needed to produce pork products. This could reduce waste, lower cost and improve outcomes for farmers while contributing to improved animal welfare. As a result of the group effort to create the P3 project and financial support through the NIFA grant, Wang-Li’s study will begin in November. “I’m personally so proud of this team,” she says.  

Learn more about the Collaborative Systems Initiative and the Food Animal Initiative.

Subscribe to Our Newsletters
National Hog Farmer is the source for hog production, management and market news

You May Also Like