Abstract:In order to solve the problem of lack of automatic monitoring and predicting equipment in the process of cow production, a cow calving predicting equipment based on the tail raising characteristics was designed. The equipment included a data acquisition node for recording the tail acceleration of cows to be delivered, a wireless networking for data upload and cloud data storage platform, and a calving prediction algorithm based on machine learning model was developed to realize the automatic prediction of cow calving. The tail data acquisition node used STM32L151CBT6A MCU to control ICM42605 sensor to achieve acceleration data acquisition. After finishing data sorting and local storage, the data was uploaded to the gateway through LoRa network. The gateway transmitted data to Tencent Cloud IoT development platform through WiFi network according to MQTT protocol, and synchronously stored the data in Tencent Cloud database.In the algorithm development experiment, based on the data of 25 cows before calving, a production prediction model was developed based on MK trend test and multi SVM of ensemble learning. After the algorithm performance verification, the model was deployed to the Tencent cloud server.The verification test results showed that the acceleration signal measured by the oxtail node had a good correlation with the output signal set by the vibration sensor calibrator (r=0.938, P<0.01). The node monitoring module can work continuously for 24d. The field experiment showed that the maximum packet loss rate of the wireless transmission network was 1.3%, which met the application requirements. After the equipment was deployed, the monitoring of calving process of 11 cows was completed. The results showed that the equipment successfully predicted nine cows (81.82%) within 12h before birth. The calving prediction equipment designed based on the tail raising characteristics can be applied to the monitoring and prediction of the actual cow production process.