A TEMPERATURE CONTROL SYSTEM FOR RURAL FREE-RANGE PIG FARMING USING ARTIFICIAL INTELLIGENCE AND THE INTERNET OF THINGS
Volume 7, Issue 7, Pp 60-65, 2025
DOI: https://doi.org/10.61784/jcsee3102
Author(s)
AnQi Zhang
Affiliation(s)
School of Information Electronic Technology, Jiamusi University, Jiamusi 154007, Heilongjiang, China.
Corresponding Author
AnQi Zhang
ABSTRACT
Traditional temperature regulation methods in rural Large White pig farming in China suffer from low efficiency and insufficient precision, alongside a lack of intelligent solutions adapted to rural environments. To address these issues, this paper presents the design and implementation of a temperature control system integrating Artificial Intelligence (AI) and the Internet of Things (IoT). The system employs the YOLOv8 object detection algorithm as its core, combined with keypoint detection, Region of Interest (ROI) filtering, and abnormal posture detection to achieve contactless and precise collection of the pigs' body dimension parameters. A mapping model correlating "body dimensions - weight - age - optimal temperature" is established using a fuzzy algorithm, and a Kalman filter is introduced for dynamic optimization and regulation of the ambient temperature. The system utilizes an IoT cloud platform for real-time data transmission and intelligent analysis, while solar power is adopted to suit rural energy scenarios. This system effectively fills a technical gap in contactless detection and integrated temperature control within the field of smart rural farming. It offers a low-cost, highly adaptable intelligent solution for small and medium-sized farms, holding significant value for advancing livestock industry modernization and promoting rural development.
KEYWORDS
Large white pig farming; YOLOv8 algorithm; Fuzzy control; Kalman filter
CITE THIS PAPER
AnQi Zhang. A temperature control system for rural free-range pig farming using artificial intelligence and the internet of things. Journal of Computer Science and Electrical Engineering. 2025, 7(7): 60-65. DOI: https://doi.org/10.61784/jcsee3102.
REFERENCES
[1] China Animal Agriculture Association. China's Swine Industry Development Report. Beijing: China Agriculture Press, 2023.
[2] Wang Xiaopin, He Wei, Guo Yangyang. Research progress on the application of machine vision in pig farming. Journal of Agricultural Engineering, 2024, 40(3): 1-12.
[3] Ultralytics. Yolov8: Real-Time Object Detection and Instance Segmentation. 2023. https://github.com/ultralytics/ultralytics.
[4] Hidra N, Lehmad M, Doubabi S, et al. Design and implementation of an intelligent remote monitoring and control system for enhancing hybrid solar-electric dryer (HSED) performance. Drying Technology, 2025, 43(11-12): 1855-1878.
[5] Hao Y, Li J, Wang C. A 3D point cloud analysis system for livestock body measurement. Computers and Electronics in Agriculture, 2017, 140: 213-221.
[6] Bouarroudj K, Babaa F, Touil A. IoT-based monitoring and control for optimized plant growth in smart greenhouses using soil and hydroponic systems. Internet of Things, 2025.
[7] Liu Tonghai, Zhang Yong, Li Qingda. 3D model construction and body measurement of pigs based on irregular triangular network. Transactions of the Chinese Society for Agricultural Machinery, 2014, 45(8): 256-261.
[8] Velpula R M, Veluvolu R V. A Novel Intelligent Controller for Enhancing the Dynamic Performance of an SVM-DTC Based Induction Motor Drive. Arabian Journal for Science and Engineering, 2025.
[9] Pimpalkar R. A smart solar PV monitoring system using internet of things (IoT). Concurrent Engineering, 2025, 33(1-4): 50-60.
[10] S I S, Senthilkumar T, Manikandan G, et al. Development of a smart remote-controlled system for four-wheel paddy transplanter with anti-collision safety system and vision-assistance system for precision agriculture. Results in Engineering, 2025.
[11] Prabakar D, Meenalochini P, A R B, et al. A hybrid approach based internet of things assisted power monitoring system for smart grid. Analog Integrated Circuits and Signal Processing, 2025, 125(2): 30-30.
[12] Boretti A. Advanced Battery Thermal Management: A Review of Materials, Cooling Systems, and Intelligent Control for Safety and Performance. Energy Storage, 2025, 7(7).

Download as PDF