高级检索+

基于VMD-LSTM的奶牛动态称量算法

Cow Dynamic Weighing Algorithm Based on VMD-LSTM

  • 摘要: 针对当前奶牛动态称量研究对动态称量信号的信息利用率偏低,不能充分提取称量信号深层信息的问题,提出一种基于变分模态分解(Variational mode decomposition, VMD)与长短期记忆网络(Long short-term memory, LSTM)的动态称量算法,以提高奶牛体质量预测精度。首先,使用阈值过滤的方法从采集到的奶牛动态称量信号中获取有效信号;其次,使用VMD算法将预处理后的有效信号分解为5个本征模态函数(Intrinsic mode function, IMF),以提取奶牛动态称量信号中蕴含的深层信息,并降低有效信号的非平稳性对预测精度产生的影响;最后,分别将归一化后的各IMF分量与有效信号结合,作为特征输入到LSTM神经网络进行训练,预测奶牛体质量。通过对使用不同特征的模型的预测结果进行对比,选用误差最小的模型作为本文的奶牛体质量预测模型。试验结果表明,本文提出的动态称量算法能够有效提取奶牛动态称量信号的深层信息,体质量预测的平均相对误差为0.81%,均方根误差为6.21 kg。与EMD算法和GRU算法相比,本文算法误差更小,更能满足养殖场的实际需求。

     

    Abstract: The dynamic weighing signal of dairy cows contains many signals in different frequency domains, including the weight signal of dairy cows, the inertial component signal and various noise signals. In the previous studies, the information utilization rate of dynamic weighing signal was low, and the deep information of weighing signal could not be fully extracted. To solve this problem, a method based on variational mode decomposition(VMD)and long short-term memory network(LSTM) dynamic weighing algorithm was proposed to improve the accuracy of weight prediction. Firstly, the threshold filtering method was used to obtain the effective signal from the collected dairy cow dynamic weighing signal. Secondly, in order to extract the deep information contained in the dynamic weighing signal of dairy cows, the VMD algorithm was used to decompose the pre-processed effective signal into five intrinsic mode functions(IMF). Finally, each IMF component was combined with the effective signal as feature, which was input into the LSTM neural network as features for training, and then the weight of cows was output. The prediction results of models with different characteristics were compared, as a result, the model with the minimum error was selected as the cow body weight prediction model. The experimental results showed that the proposed dynamic weighing algorithm can effectively extract the deep information contained in the dynamic weighing signal of dairy cows. The average relative error of weight prediction was 0.81%, and the root mean square error was 6.21 kg. Compared with EMD algorithm and GRU algorithm commonly used in the field of dynamic weighing, the error of the proposed algorithm was smaller.

     

/

返回文章
返回