Hybrid CNN–LSTM–Linformer Driven Adaptive NMPC for Environmental Control in Pig Housing

Accurate prediction and energy-efficient control of pig-house environments remain challenging because temperature, relative humidity, NH3, and CO2 are nonlinear, strongly coupled, and affected by ventilation and seasonal conditions. This study proposes an intelligent prediction-control framework integrating hybrid deep learning prediction with nonlinear model predictive control for multivariable pig-house environmental regulation. Several hybrid deep learning models were compared, including CNN-LSTM-standard transformer, CNN-LSTM-lightweight transformer, and the proposed CNN-LSTM-linformer-style model. The CNN-LSTM-lightweight transformer achieved the highest overall prediction accuracy, whereas the proposed CNN-LSTM-linformer-style model provided the most compact structure by using separable convolution, global average pooling, and linformer-style attention, reducing training time and memory usage by approximately 53% compared with the CNN-LSTM-standard transformer. The prediction model was integrated with FLC, NMPC, and ANMPC for closed-loop ventilation control. ANMPC adjusts control weights online according to environmental deviations to balance environmental regulation and energy use under disturbances. In the nominal closed-loop simulation, NMPC and ANMPC reduced ventilation energy consumption by approximately 44% compared with FLC, while ANMPC achieved a 4.35% lower NH3 steady-state error and a 3.5% faster NH3 recovery response than NMPC under disturbance conditions. In 24 -h pre-field verification, NMPC and ANMPC reduced energy consumption by 35.8% and 27.4%, respectively, while maintaining pollutant safety.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2026-09-01
DOI
https://doi.org/10.3390/agriculture16171893
Primary Topic
Odor and Emission Control Technologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Hybrid CNN–LSTM–Linformer Driven Adaptive NMPC for Environmental Control in Pig Housing

Honggui Liu, Jinming Liu, Bin Li, Qiuju Xie et al.
Agriculture
Odor and Emission Control Technologies
article

Hybrid CNN–LSTM–Linformer Driven Adaptive NMPC for Environmental Control in Pig Housing

Honggui Liu, Jinming Liu, Bin Li, Qiuju Xie, Zhou Hong, Jacqueline Musabimana, Tiemin Ma, Antoine Musengimana
article en

Abstract

Accurate prediction and energy-efficient control of pig-house environments remain challenging because temperature, relative humidity, NH3, and CO2 are nonlinear, strongly coupled, and affected by ventilation and seasonal conditions. This study proposes an intelligent prediction-control framework integrating hybrid deep learning prediction with nonlinear model predictive control for multivariable pig-house environmental regulation. Several hybrid deep learning models were compared, including CNN-LSTM-standard transformer, CNN-LSTM-lightweight transformer, and the proposed CNN-LSTM-linformer-style model. The CNN-LSTM-lightweight transformer achieved the highest overall prediction accuracy, whereas the proposed CNN-LSTM-linformer-style model provided the most compact structure by using separable convolution, global average pooling, and linformer-style attention, reducing training time and memory usage by approximately 53% compared with the CNN-LSTM-standard transformer. The prediction model was integrated with FLC, NMPC, and ANMPC for closed-loop ventilation control. ANMPC adjusts control weights online according to environmental deviations to balance environmental regulation and energy use under disturbances. In the nominal closed-loop simulation, NMPC and ANMPC reduced ventilation energy consumption by approximately 44% compared with FLC, while ANMPC achieved a 4.35% lower NH3 steady-state error and a 3.5% faster NH3 recovery response than NMPC under disturbance conditions. In 24 -h pre-field verification, NMPC and ANMPC reduced energy consumption by 35.8% and 27.4%, respectively, while maintaining pollutant safety.

AgricultureVol. 16(17)
Northeast Agricultural University (CN), Ministry of Agriculture (EE), Heilongjiang Bayi Agricultural University (CN), Beijing Academy of Agricultural and Forestry Sciences (CN), Rwanda Biomedical Center (RW), Ministry of Agriculture and Rural Affairs (CN)
National Natural Science Foundation of China, Natural Science Foundation of Heilongjiang Province, Northeast Agricultural University
Affordable and clean energy
Openalex Percentile: Top 24%
Odor and Emission Control Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.