Cargando…

Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep

Step counting is an effective method to assess the activity level of grazing sheep. However, existing step-counting algorithms have limited adaptability to sheep walking patterns and fail to eliminate false step counts caused by abnormal behaviors. Therefore, this study proposed a step-counting algo...

Descripción completa

Detalles Bibliográficos
Autores principales: Jiang, Chengxiang, Qi, Jingwei, Hu, Tianci, Wang, Xin, Bai, Tao, Guo, Leifeng, Yan, Ruirui
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10346740/
https://www.ncbi.nlm.nih.gov/pubmed/37447681
http://dx.doi.org/10.3390/s23135831
_version_ 1785073384773648384
author Jiang, Chengxiang
Qi, Jingwei
Hu, Tianci
Wang, Xin
Bai, Tao
Guo, Leifeng
Yan, Ruirui
author_facet Jiang, Chengxiang
Qi, Jingwei
Hu, Tianci
Wang, Xin
Bai, Tao
Guo, Leifeng
Yan, Ruirui
author_sort Jiang, Chengxiang
collection PubMed
description Step counting is an effective method to assess the activity level of grazing sheep. However, existing step-counting algorithms have limited adaptability to sheep walking patterns and fail to eliminate false step counts caused by abnormal behaviors. Therefore, this study proposed a step-counting algorithm based on behavior classification designed explicitly for grazing sheep. The algorithm utilized regional peak detection and peak-to-valley difference detection to identify running and leg-shaking behaviors in sheep. It distinguished leg shaking from brisk walking behaviors through variance feature analysis. Based on the recognition results, different step-counting strategies were employed. When running behavior was detected, the algorithm divided the sampling window by the baseline step frequency and multiplied it by a scaling factor to accurately calculate the number of steps for running. No step counting was performed for leg-shaking behavior. For other behaviors, such as slow and brisk walking, a window peak detection algorithm was used for step counting. Experimental results demonstrate a significant improvement in the accuracy of the proposed algorithm compared to the peak detection-based method. In addition, the experimental results demonstrated that the average calculation error of the proposed algorithm in this study was 6.244%, while the average error of the peak detection-based step-counting algorithm was 17.556%. This indicates a significant improvement in the accuracy of the proposed algorithm compared to the peak detection method.
format Online
Article
Text
id pubmed-10346740
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-103467402023-07-15 Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep Jiang, Chengxiang Qi, Jingwei Hu, Tianci Wang, Xin Bai, Tao Guo, Leifeng Yan, Ruirui Sensors (Basel) Article Step counting is an effective method to assess the activity level of grazing sheep. However, existing step-counting algorithms have limited adaptability to sheep walking patterns and fail to eliminate false step counts caused by abnormal behaviors. Therefore, this study proposed a step-counting algorithm based on behavior classification designed explicitly for grazing sheep. The algorithm utilized regional peak detection and peak-to-valley difference detection to identify running and leg-shaking behaviors in sheep. It distinguished leg shaking from brisk walking behaviors through variance feature analysis. Based on the recognition results, different step-counting strategies were employed. When running behavior was detected, the algorithm divided the sampling window by the baseline step frequency and multiplied it by a scaling factor to accurately calculate the number of steps for running. No step counting was performed for leg-shaking behavior. For other behaviors, such as slow and brisk walking, a window peak detection algorithm was used for step counting. Experimental results demonstrate a significant improvement in the accuracy of the proposed algorithm compared to the peak detection-based method. In addition, the experimental results demonstrated that the average calculation error of the proposed algorithm in this study was 6.244%, while the average error of the peak detection-based step-counting algorithm was 17.556%. This indicates a significant improvement in the accuracy of the proposed algorithm compared to the peak detection method. MDPI 2023-06-22 /pmc/articles/PMC10346740/ /pubmed/37447681 http://dx.doi.org/10.3390/s23135831 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Jiang, Chengxiang
Qi, Jingwei
Hu, Tianci
Wang, Xin
Bai, Tao
Guo, Leifeng
Yan, Ruirui
Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title_full Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title_fullStr Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title_full_unstemmed Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title_short Research on Six-Axis Sensor-Based Step-Counting Algorithm for Grazing Sheep
title_sort research on six-axis sensor-based step-counting algorithm for grazing sheep
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10346740/
https://www.ncbi.nlm.nih.gov/pubmed/37447681
http://dx.doi.org/10.3390/s23135831
work_keys_str_mv AT jiangchengxiang researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT qijingwei researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT hutianci researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT wangxin researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT baitao researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT guoleifeng researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep
AT yanruirui researchonsixaxissensorbasedstepcountingalgorithmforgrazingsheep