Preprint
Article

This version is not peer-reviewed.

High-Degree Connectivity Sensor Networks: Applications in Pastured Cow Herd Monitoring

A peer-reviewed version of this preprint was published in:
Future Internet 2025, 17(12), 569. https://doi.org/10.3390/fi17120569

Submitted:

30 October 2025

Posted:

03 November 2025

You are already at the latest version

Abstract
This paper explores the application of mobile sensor networks in cow herds, focusing on the challenge of achieving local communication under minimal computational constraints such as restricted locality, limited memory, and implicit coordination. To address this, we propose a high connectivity based sensor network scheme that enables individual sensors to self-organize and dynamically adapt to topological variations caused by cow movements. In this scheme, each sensor acquires local distribution data from neighboring sensors, identifies those with high connectivity, and forms a local sub-network with a star topology. The overlap of these local sub-networks results in a globally interconnected mesh topology. Furthermore, information exchanged through broadcasting and overhearing allows each sensor to incrementally update and adapt to dynamic changes in its local network. To validate the proposed scheme, a custom wireless sensor tag was developed and mounted on the necks of individual cows for experimental testing. Furthermore, large-scale simulations were performed to evaluate performance in herd environments. Both experimental and simulation results confirmed that the scheme effectively maintains network coverage and connectivity under dynamic herd conditions.
Keywords: 
;  ;  ;  ;  ;  
Subject: 
Engineering  -   Other

1. Introduction

Recently, the adoption of ICT and IoT technologies [1,2,3] in the livestock industry has been promoted to improve operational efficiency and reduce labor demands. Commercial devices, including estrus detectors [4,5], birth monitors [6], and feeding robots [7,8], are increasingly employed in beef cattle production, replacing traditional manual tasks. Early detection of illness or stress in cattle is considered feasible through behavioral analysis aimed at identifying abnormal patterns.
Various approaches have been explored to monitor and identify abnormal behaviors in cows [9,10]. Behavior analysis using a single sensor has been explored through several approaches such as attaching triaxial accelerometers and magnetometers to cows to monitor movements [11,12,13] or installing communication sensors in cowsheds to infer behavior from radio signal strength [14,15,16]. Other approaches include using depth cameras to monitor calving [17,18] and microcontrollers to track heart rate and body temperature [19,20]. Additionally, management systems have been proposed for large-scale environments, such as pastures, by implementing dedicated communication infrastructures. Examples include systems that detect estrus cycles using communication sensors to form behavior-monitoring networks [21,22], as well as methods for managing pasture areas by analyzing the movement patterns of GPS-equipped grazing cows [23,24]. Based on these studies, communication-enabled sensors can be deployed to implement management systems in large-scale environments such as pastures. Despite their innovative contributions, most existing monitoring approaches have primarily focused on individual cow behavior, with limited exploration of interactions and social relationships within the herd. Furthermore, the specific types of information necessary for mechanistic visualization of interactions among the cows remain poorly defined. Unfortunately, few studies have investigated stress assessment based on social interactions, such as mutual licking, or examined behavior at the group level.
To address these limitations, this study proposes a communicative interaction scheme for visualizing interactions among cows in a freely grazing herd as illustrated in Figure 1. Specifically, we devise a network using communication sensors mounted on cows, utilizing radio signal strength to facilitate both individual identification and group behavior analysis in a grazing environment. In this paper, we aim to visualize interactions among cows by constructing a network based on mutual communication between sensor devices attached to them. To achieve this, we address two main challenges: an engineering challenge, involving the configuration of a sensor-based communication network, and an agricultural challenge, involving the analysis of social relationships among cows. To tackle the engineering challenge, sensors are attached to each cow, and they are identified based on communication reliability with nearby cows, enabling the generation of local networks. To cope with the agricultural challenge, a friend network is established by limiting the communication range to emphasize relationships between cows that interact more frequently. The overall network is subsequently formed by overlaying the local and friend networks. To implement this concept in cows, we developed a neck-belt sensor tag and conducted evaluation experiments. Additionally, to assess the effectiveness of the proposed method in large-herd scenarios, we developed an in-house simulator and performed corresponding simulations.
This paper is structured as follows. Section 2 outlines our research problem and its definitions. Section 3 provides an explanation of the proposed solution. Section 4 details a custom neck-belt sensor tag. Section 5 shows the results from extensive experiments performed to evaluate the effectiveness and the performance of the proposed approach. Finally, Section 6 presents our conclusions.

2. Problem Statement

This paper considers a herd of n cows equipped with a wireless sensor-tag device as shown in Figure 2-(a). First, the communication range of each cow c i is defined as C R , and it is assumed that the range of C R is constant for c i . Moreover, the inter-communications within C R are used to exchange information and to obtain the radio wave strength between the sensor-tag devices. Specifically, c i sends a message to a neighboring cow c j in C R , and c j receives information including the radio wave strength r s s i j (Figure 2-(b)). A specific range acquired r s s i j is defined as F R . The range of F R is assumed to be constant for c i as in C R , namely F R is contained within C R ( C R F R ) . Although c i has its own I D initially, no specific roles such as leader, source, sink, and gateway are assigned. c i executes the same algorithm asynchronously but has no long-term state information.
We define 1 H o p as the state where c i can directly communicate with c j within C R . The set of cows within 1 H o p of c i is expressed as H i 1 . 2 H o p refers to communication with cows outside C R via an intermediate 1 H o p cows. For example, in Figure 2-(a), if c n lies outside C R but is within 1 H o p of c j H i 1 , then c n is a 2 H o p ’s cow of c i . The set of such cows is symbolized by H i 2 . From H i 1 , c i selects neighbors n i j , forming the neighbor set N i (Figure 2-(c)). Furthermore, c i selects friends f i j from H i 1 based on r s s i j , with the set defined as F i . The computation procedures for selecting n i j and f i j are described in the following section.
As shown in Figure 3, three message types are defined. (1) existence message e m i , periodically broadcast by c i within C R and acknowledged by a m j , (2) output message o m i , sent to c j and acknowledged by a m j , and (3) request message r m i , sent to c j , which responds with o m j . For simplicity, any message from c j H i 1 is represented by m j . Next, a wait time w t is defined to evaluate connectivity. When c i broadcasts to c j , it measures the response interval t i j . If c i receives a reply within w t , c j is considered within C R , forming part of H i 1 . If no reply is received within w t , the connection is deemed broken, indicating that c j has moved outside C R .
The local network associated with c i is defined through its 1 H o p connections to c j . This yields a local graph G i = { V i , E i } , where V i = { v 1 , v 2 , · · · , v n } is the set of vertices and E i = { ( v i , v j ) | v i , v j V i } is the set of undirected edges, excluding self-loops. The global herd network is then defined as G = ( i = 1 ) n G i . Next, based on G i , as illustrated in Figure 4, herd behavior is classified into four states: S A (mutual friends within F R ), S S (split into multiple local networks), U S (unified single network), and I S (isolated cow disconnected from the herd).
Based on the definitions and assumptions above, this paper addresses the monitoring of herd behavior through local communication interactions in a cow herd. To solve this problem, we propose a monitoring algorithm that visualizes herd behavior and inter-cow relationships using local network configurations and virtual distances. Specifically, c i selects N i and F i while forming G i through intercommunication within C R and r s s i j . Herd behaviors and relationships are then inferred from G i , and by combining all G i , G is self-organized. Since G changes dynamically with herd movement, it requires partial modification, updating, and repair in response to behavioral changes. Details on the monitoring scheme are provided in the next section.

3. Monitoring Algorithm Based on G i Configuration

This section describes the monitoring algorithm for generating and maintaining G i based on herd behaviors. As shown in Figure 5, the algorithm consists of four functions: N i selection, F i selection, G i generation, and G i maintenance. Four of these functions are explained in this section. Based on this algorithm, the identification of herd behaviors is described in Section 4.2.
The algorithm takes m j , t i j , w t and N i as inputs, and outputs H i 1 , H i 2 , F i , and N i . First, it checks whether N i is empty. If this is satisfied, N i and F i are selected, and G i is generated. If N i is not empty, the network maintenance is performed to accommodate changes in G i due to cow movements. After G i is generated or updated, a herd behavior is determined from its connection state. Finally, the outputs are broadcast to c j , and this process is repeated continuously.
Next, we define the terms used in the algorithm. The union of all H j 1 transmitted by c j is ( c j H i 1 ) H j 1 . The correspondence between c i and H i 1 via intercommunication is T i , j . f c i j denotes a candidate friend in F i computed from H i 1 . Information from c i to H i 2 through H i 1 is expressed as r s s i , 12 , and m i n . r s s represents the minimum received signal strength. Information held by c i at time t is H i 1 ( t ) , with the previous time step defined as H i 1 ( t 1 ) ; for simplicity, the time indices are omitted in subsequent explanations.

3.1. N i Selection

The first computation function selects N i and consists of two steps: information gathering from c j and neighbor searching.

3.1.1. Acquisition of c j Information

In the first step, c i receives m j from c j . It first checks whether m j is sent by c j H j 1 and whether the response from c j occurs within w t . If both conditions are satisfied, c j is retained in H i 1 and sends an updated H j 1 . Using H i 1 and H j 1 within C R , c i calculates the state of H i 2 beyond C R . For example, in Figure 6, c j , c k , and c l are within C R , and c m , c n , and c o are beyond C R . When c i connects to c j , c k , and c l , and obtains H j 1 , a correspondence table T i , j is organized as mapping elements of H i 1 (right side of Figure 6). From H i 1 and ( j H i 1 H j 1 , H i 2 is calculated:
H i 2 = c j H i 1 H j 1 H i 1 { c i } .
By calculating H i 2 , c i estimates information about cows beyond its C R . The intercommunication correspondence between H i 1 and H i 2 is defined as I i , 12 and I i , 21 , respectively. Here I i , 12 represents connections from elements of H i 1 to elements of H i 2 as shown on the left in Figure 7-(a).
I i , 12 : H i 1 H i 2 .
  I i , 12 , also represented by T i , 12 like T i , j , is shown on the right in Figure 7-(a). Conversely, I i , 12 represents connections from elements of H i 2 to elements of H i 1 as shown on the left in Figure 7-(b).
I i , 21 : H i 2 H i 1 .
Similarly, I i , 12 is represented as T i , 21 as shown on the right in Figure 7-(b). The combination of I i , 12 and I i , 21 defines the connections from H i 1 to H i 2 via H j 1 and is expressed:
I i , 21 I i , 12 .
By using the composition of I i , 12 and I i , 21 , c i can estimate the connection state of G i .

3.1.2. N i Calculation

The second step selects N i using H i 1 and H i 2 obtained from c j . First, c i identifies the element of H i 1 with the highest number of E i to cows in H i 2 , defined as M A X ( E i ) , and selects it as the first neighbor n i j . The corresponding elements in H i 1 and H i 2 are then removed. This process is repeated to select the second neighbor and subsequent neighbors, each time removing the corresponding elements, until H i 2 is empty (the right side in Figure 8).

3.2. F i Selection

The second computation function, called friend sorting, selects and determines F i .

3.2.1. f c i j Calculation

The first step is to obtain f c i j from the information on c j as mentioned in Section 3.1.1. If both r s s ( H i 1 ) and r s s ( H j 1 ) are within the F R range (Section 2), the corresponding element of H i 1 is selected as f c i j ; otherwise, F i is set to empty. Here, r s s ( H i 1 ) denotes f c i j of elements in H i 1 . For example, if c j and c k are in c i ’s F R (see the left side of Figure 9), the step checks whether r s s ( H i 1 ) from c i to c j , and from both c j and c k to c i are mutually within F R . Elements satisfying this criterion ( f c i j , f c i k ) are selected as f c i j (see the right of Figure 9).

3.2.2. F i Calculation

The second step is to extract F i from f c i j obtained in the previous step. To begin, the procedure checks whether H i 2 is non-empty. If it is satisfied, r s s i , 12 is calculated under the condition f c i j < r s s j n .
r s s i , 12 = f c i j + r s s j n .
Next, if the calculated r s s i , 12 is the minimum value, it is assigned to m i n . r s s , and f i j is computed accordingly.
f i j = m i n . r s s r s s j n .
Finally, the computed f i j as shown in Figure 10, is designated as the primary member of F i .
If H i 2 = , it assigns the minimum f c i j to m i n . r s s , and computes f i j as the primary element of F i .
f i j = m i n . r s s .
If multiple m i n . r s s values are equal, the corresponding f i j are all designated as main members of F i .

3.3. G i Generation

The third computation function generates G i . The input of c i is N i , and the output is G i = ( V i , E i ) . Vertices consist of c i and its selected n i j , expressed as v i , v i , 1 , · · · v i , k , forming the set V i . Each edge between v i and v i , k is defined as e i k = ( v i , v i , k ) , and E i = { e i k | 1 k m } denotes the connection of G i . As shown in Figure 11, when c j is selected as F i , the corresponding local network of c i is generated. After constructing G i , c i broadcasts H i 1 and F i and exchanges this information with c j .

3.4. G i Maintenance

The fourth computation function, network maintenance, addresses changes caused by cow movement. These changes occur in three states: (1) only F i changes (Figure 12-(a)), (2) only H i 1 changes (Figure 12-(b)), or (3) only H i 2 changes (Figure 12-(c)). This function consists of five steps: information acquisition, F i candidate calculation, F i calculation, N i calculation, and G i reconfiguration.

3.4.1. Information Acquisition

The first step acquires information explained in Section 3.1.1. If c j H j 1 and the response from c j arrives within w t , then c j is selected as a new element of H i 1 and sends H j 1 . If no response is received within w t , the connection is considered broken and c j is deleted. Finally, H i 2 is recalculated using Eq. (1).

3.4.2. f c i j Calculation

In the second step, f c i j is obtained in Section 3.2.1. If both r s s i j and the H j 1 elements are within F R , the updated r s s i j is selected as f c i j ; otherwise, F i remains unchanged.

3.4.3. F i Calculation

In the third step, using F i calculated in Section 3.2.2, if H i 2 for the newly computed f c i j is non-empty, the elements of f c i j and H i 2 are compared. Next, r s s i , 12 is calculated using Eq. (5) when f c i j < r s s ( H i 2 ) . If the resulting f c i j is minimal, it is assigned to m i n . r s s . The new m i n . r s s is then compared with the previous value; if it remains minimal, a new f c i j is computed using Eq. (6) and becomes the member of F i . If H i 2 is empty, the minimal f c i j is assigned to m i n . r s s after compared with the previous value, and a new m i n . r s s is used to update F i via Eq. (7).

3.4.4. N i Calculation

The fourth step investigates neighbors described in Section 3.1.2, using H i 1 and H i 2 computed from the first step. c i first selects the element of H i 1 with the highest number of edges E i to cows in H i 2 (Eq. (3)) as the first neighbor. The corresponding elements in H i 1 and H i 2 are then removed. This process is repeated to select subsequent neighbors until H i 2 is empty.

3.4.5. G i Reconfiguration

In the fifth step, G i is partially reconstructed using updated information, following the same procedure as the G i generation function. First, the cow’s state is determined based on its movement. If F i changes, the vertices of c i and newly selected n i are updated in V i . If H i 1 changes, the connections between the new H i 1 and H i 2 members are recalculated using Eq. (4). Similarly, variations in H i 2 immediately trigger reconfiguration of its connections with H i 1 . This partial reconfiguration maintains G i without requiring a full rebuild.

4. Development and Operational Experiments of Wireless Sensor Tag Device

This section describes a wireless sensor tag device (hereafter referred to as the “sensor tag”) that implements the above algorithm for identifying herd patterns in cows.

4.1. Design Concept of Wireless Sensor Tag Device

The development process of the tag is divided into three parts: the components, the frame of attaching the tag to each cow, and the monitoring system through a server receiver. These elements are required for the execution of the algorithm explained in Section 3. First, the tag should support mutual communication with R S S I acquisition. Second, the tag should execute computations using the algorithm. Third, the tag should temporally store data received from other tags.
Next, from an installation standpoint, two key requirements should be met: battery-powered operation and protective housing. Battery operation is essential since external power cannot be used when the tag is attached to cows. The tag-housing frame protects the tag, and allows for attachment to a wearable neck belt. In addition, monitoring requires a server connection to confirm tag status and collect data.

4.2. Development of Wireless Sensor Tag Device

To validate the algorithm, as illustrated in Figure 13, we developed a server tag and a sensor tag consisting of two parts: an electronic module and a frame. Details are presented in the following subsections.

4.2.1. Electronic Modules

The electronic module comprises a communication unit and an arithmetic unit. First, for the communication unit, we use the ESP32-WROOM-32 microcontrollers (Espressif Systems, China). This module combines Wi-Fi and Bluetooth in a single unit and is suitable for wireless communication. Furthermore, the module contains a 32 k H z oscillator and a 2.4 G H z band antenna. The wireless standard used is Wi-Fi: 802.11 b/g/n. Figure 14 shows the structure of the packets used for communication. As shown in Figure 3, for communication, two packet types are established: fixed-length and varying-length, depending on the type of messages. The packet format shown in Figure 14-(a) is used for e m i , a m j , and r m i . On the other hand, Figure 14-(b) illustrates the packet format used for broadcasting o m j . Specifically, in the packet, data length refers to the length of the data, the command defines the action for each message, source I D is the sender’s I D , target I D is the recipient, and data carries the information for the command.
Second, the arithmetic unit uses an ESP32 microcontroller, a low-cost, low-power SoC with an Xtensa dual-core 32-bit LX6 processor (240 MHz, <600 DMIPS) and 520 KB SRAM. A micro SD card slot and a Real-Time Clock (RTC) module (SparkFun Electronics, Colorado, USA) store the algorithm’s data along with transmission and reception timestamps.
Finally, r s s i j is obtained via the tag’s Wi-Fi module. The module first scans the network to identify the number of tags within C R , after which an R S S I I D is assigned to each detected tag. The scanned R S S I I D values, including r s s i j , are then logged to the micro-SD card.

4.2.2. Frame Unit

The frame unit, powered by three AA batteries (4.5 V), houses the electronic module in a PLA resin case with a waterproof lid and neck-belt buckle. The module and batteries are arranged in a two-layer structure (Figure 15). Module size: 55×45×20 m m ; frame size: 75×100×55 m m (including buckle). Figure 16 shows the assembled tag.

4.2.3. Monitoring Unit: Sever System

As shown on the left-hand side of Figure 13, the monitoring device consists of a computer and an electronic module. The LG gram computer is an Intel(R) Core Ultra 7 155H CPU with Microsoft Windows 11 Home. The Microsoft Visual Studio C++ 2022 environment of Visual Studio Code was used for the algorithm. A module is attached to the computer to receive the tag information.

4.2.4. Determination of Herd Behavior Pattern

For the monitoring of herd behaviors as explained in Section 2 (Figure 4), the determination function for five types of group patterns is described. We first check whether H i 1 is an empty set. If H i 1 = , the cow is classified as I S , indicating it is isolated from the herd. If H i 1 , the herd is evaluated as a single herd. If all cows belong to a single network, the herd is classified as U S . If the network is disconnected, with multiple sub-networks, the herd is classified as S S . Finally, if cows within the herd are mutually within each other’s F R and maintain a state of mutual friendship, the herd is classified as S A .

4.3. Preliminary Experiments of RSSI and Network Generation

The signal strength of the developed tag decreases with distance. To examine this attenuation, preliminary experiments were conducted using ten sensor tags and one server tag. The server tag was fixed in position, while the sensor tags were placed at 10 c m intervals up to 1 m and at 1 m intervals up to 50 m.
Figure 17 presents the measurement data where the left side depicts short-distance measurements (1 m range, 10 c m intervals), while the right side shows long-distance measurements (50 m range, 1 m intervals). At the short distance cases, signal strength decreased proportionally with distance from the server, whereas at the long-distance cases, it exhibited exponential attenuation. Based on these results, the C R range was set to 35 m and the F R range to 2 m.
Additional experiments employing the developed tags were performed to examine intercommunication among cows and assess the connectivity between the cow-mounted sensors and the server tag. As shown in Figure 18, the tags were attached to the necks of five cows housed in a free-barn with paddocks at the Miyazaki Prefectural Livestock Experiment Station. Individual left sides in Figure 19 indicate experimental scenes and the right sides are the states of the server’s local network configuration as time went on. The results confirmed that the proposed setup successfully generated a local network with the server and enabled communication among the tags attached to each cow.

5. Evaluation Results and Discussion

5.1. Experimental Results in Free-Barn with Paddocks

To begin, to examine whether the network configuration responds to cow movements, the experiments were performed with six cows with tags mounted on their neck. In Figure 20, the green-circled cow passes the yellow cow and moves toward the red cow. Figure 21 illustrates the corresponding network configuration and signal strength changes, using the green-circled cow as reference. The red rectangles (–30 to –60 d B m ) indicate close proximity. The results confirmed that network configuration could be generated and adjusted dynamically to the movements of specific cows.
Next, one tag was installed as a server in the barn, and individual tags were attached to the necks of five cows for two type of verification experiments. First, the server tag was placed in the feeding area, with white lines drawn on the ground at 1, 2, 3, 5, and 7 m intervals in a fan shape. Figure 22 and Figure 23 show the cow behaviors around the feeder and the variations in r s s i j depending on distances, respectively. The results indicated that the cow wearing the green tag closest to the feeder exhibited the strongest signal.
In the second experiments, the server tag was placed at a cowshed entrance to measure changes in r s s i j when cows entered. Figure 24 shows the scenes when cows approached to the server, and Figure 25 illustrates signal-strength variations with distance from the entrance. These changes made it possible to determine the order of entry. From both experiments, we conclude that the algorithm using developed tag can be used to monitor the frequency of visits to feeding and drinking areas and to infer dominance relationships within the herd.

5.2. Experimental Results in Grazing Field

Field experiments were conducted in a grazing environment with tags attached to 10 cows in one h a pasture. Depending on hierarchy and signs of estrus, the cows sometimes clustered near specific individuals or split into subgroups. Figure 26 illustrates the network configuration during herd integration and division. In Figure 26-(a), when multiple herds merged, “friends” were selected from cows within the effective communication range defined in the basic experiments. In Figure 26-(b), when the herd split, the connection with H i 1 was temporarily lost and then re-established, demonstrating that the network could dynamically generated and reconfigured connectivity.
Figure 27 shows r s s i j received by a tag attached to one cow when two cows separated from the herd. The signals from the cow moving with the herd were highlighted in red, with strong signals observed in specific periods. The periods marked by the brown arrow correspond to intervals of a licking behavior, an affiliative interaction. These results indicate that the network accurately reflected inter-cow distances both during affinity behaviors and when cows temporarily split from the herd.

5.3. Simulation Results for Larger Number of Cow

In the pasture-field experiments, 10 cows were employed. To investigate the effectiveness of the proposed algorithm for the larger herds of cows, verification evaluations were conducted using our in-house network simulator. The simulator implemented in the Microsoft Visual C++ environment was used to model herd movements and depict neighbor–friend relationships graphically.
Simulation results for herds of 50 cows are shown in Figure 28. Light blue and yellow circles indicate the C R range of each cow, while black lines represent edges from c i to c j , namely n i j . The thick red lines show neighbors selected as friends after network generation. G i , comprising many fixed cows and five moving cows, undergoes partial updates since the red cows move arbitrarily. The findings demonstrate that G i responds to local variations in relative positions through partial updates, rather than full reconfiguration. Consequently, we confirmed the self-organizing capability of the proposed algorithm in adapting to network dynamics.
To evaluate the advantages of N i selection under the proposed algorithm, simulations of G i configuration were conducted while varying C R . The simulations employed 30 distinct initial distributions of 50 cows, with C R configured to 50, 75, and 100 units. After G i configuration in individual simulations, the numbers of cows in H i 1 and N i for each cow were recorded and summed. Additionally, one cow was selected to compare its behavior with that of the entire 50-cow herd. The statistical results are shown in Figure 29, where error bars indicate 95% confidence intervals and boxes represent the 25–75% interquartile range. As expected from 1 H o p communication properties, the number of cows in H i 1 increased with the expansion of C R . In contrast, the size of N i remained largely stable regardless of C R . Similarly, the F i selection exhibited a consistent trend regardless of C R . Consequently, these findings demonstrate that N i selection is robust to variations in C R , as each tag identifies neighbors with higher connectivity using local distribution information.

6. Conclusions

In this study, we focused on the monitoring of herd patterns and inter-cow relationships by using relative-communication distances and neighbor-centered networks. We proposed a local network generation algorithm using a two-layer communication range, and validated it through extensive experiments with cows equipped with wireless sensor tags. The proposed algorithm enabled the configuration of star networks among selected neighbors, and by combining local networks, a global partially connected mesh network self-organized. By incorporating signal strength relative to distances, the network adapted to changes caused by cow movements. Field experiments demonstrated that the friend selection function reflects both affiliative interactions and social isolation in cows, whereas simulations confirmed the feasibility of generating and reconfiguring networks within large herds. The proposed algorithm allows monitoring of an affinity behavior and isolation status in grazing environments, potentially reducing labor for livestock management and improving productivity.

Author Contributions

Conceptualization, G.Lee; methodology, G.Lee, K.Okabe, and F.Sugino; software, T.Yamane, K.Okabe, and Y.Kyung; validation, G.Lee, F.Sugino, and Y.Kyung; formal analysis, T.Yamane, K.Okabe, and F.Sugino; investigation, G.Lee and K.Okabe; resources, G.Lee and F.Sugino; data curation, G.Lee and Y.Kyung; writing—original draft preparation, G.Lee and K.Okabe; writing—review and editing, G.Lee, T.Yamane, and Y.Kyun; visualization, G.Lee and T.Yamane; supervision, G.Lee and F.Sugino; project administration, G.Lee; funding acquisition, G.Lee and F.Sugino. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

All experiments were conducted in compliance with the protocol which was reviewed by the Institutional Animal Care and Use Committee and approved by the President of the University of Miyazaki (Permission Number: 2021-026-2).

Data Availability Statement

Data are contained within the article.

Acknowledgments

Special thanks to Seiya Sakaguchi and Ryoichi Aizawa for data analysis and technical assistance. Their extraordinary contributions have greatly improved the quality of this thesis paper.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
C R communication range of each cow
F R specific range determined by radio wave strength where ( C R F R )
S A mutual friends within F R
S S split into multiple local networks
U S unified single network
I S isolated state

References

  1. Dawkins, M.S. Smart farming and artificial intelligence (AI): How can we ensure that animal welfare is a priority? Applied Animal Behaviour Science 2025, 283, 106519. [Google Scholar] [CrossRef]
  2. Yin, M.; Ma, R.; Luo, H.; Li, J.; Zhao, Q.; Zhang, M. Non-contact sensing technology enables precision livestock farming in smart farms. Computers and Electronics in Agriculture 2023, 212, 108171. [Google Scholar] [CrossRef]
  3. Lee, G.; Ogata, K.; Kawasue, K.; Sakamoto, S.; Ieiri, S. Identifying-and-counting based monitoring scheme for pigs by integrating BLE tags and WBLCX antennas. Computers and Electronics in Agriculture 2022, 198, 107070. [Google Scholar] [CrossRef]
  4. Wang, R.; Li, Y.; Tian, F.; Liu, Y.; Wang, Z.; Yuan, C.; Lu, X. Estrus detection in dairy cows using advanced object tracking and behavioral analysis technologies. Computers and Electronics in Agriculture 2025, 235, 110331. [Google Scholar] [CrossRef]
  5. Merkelytė, I.; Siukscius, A.; Nainiene, R. The role of sensor technologies in estrus detection in beef cattle: A review of current applications. Animals 2025, 15, 2313. [Google Scholar] [CrossRef] [PubMed]
  6. Bretzinger, L.F.; Hölper, M.; Tippenhauer, C.M.; Plenio, J.-L.; Madureira, A.; Heuwieser, W.; Borchardt, S. Evaluation of four different automated activity monitoring systems to identify anovulatory cows in early lactation. Animals 2024, 14, 3145. [Google Scholar] [CrossRef] [PubMed]
  7. Johansen, F.P.; Buijs, S.; Arnott, G. Providing concentrate feed outside of the milking robot increases feed intake in dairy cows without reducing motivation to visit the robot. Animal 2025, 19, 101459. [Google Scholar] [CrossRef]
  8. Romano, E.; Brambilla, M.; Cutini, M.; Giovinazzo, S.; Lazzari, A.; Calcante, A.; Tangorra, F.M.; Rossi, P.; Motta, A.; Bisaglia, C.; et al. Increased cattle feeding precision from automatic feeding systems: Considerations on technology spread and farm level perceived advantages in Italy. Animals 2023, 13, 3382. [Google Scholar] [CrossRef]
  9. Han, Y.; Wu, J.; Zhang, H.; Cai, M.; Sun, Y.; Li, B.; Feng, X.; Hao, J.; Wang, H. Beef cattle abnormal behaviour recognition based on dual-branch frequency channel temporal excitation and aggregation. Biosystems Engineering 2024, 241, 28–42. [Google Scholar] [CrossRef]
  10. Jurkovich, V.; Hejel, P.; Kovács, L. A review of the effects of stress on dairy cattle behaviour. Animals 2024, 14, 2038. [Google Scholar] [CrossRef]
  11. Arablouei, R.; Bishop-Hurley, G.J.; Bagnall, N.; Ingham, A. Cattle behavior recognition from accelerometer data: Leveraging in-situ cross-device model learning. Computers and Electronics in Agriculture 2024, 227, 109546. [Google Scholar] [CrossRef]
  12. Ding, L.; Lv, Y.; Jiang, R.; Zhao, W.; Li, Q.; Yang, B.; Yu, L.; Ma, W.; Gao, R.; Yu, Q. Predicting the feed intake of cattle based on jaw movement using a triaxial zccelerometer. Agriculture 2022, 12, 899. [Google Scholar] [CrossRef]
  13. Nogoy, K.M.C.; Chon, S.-i.; Park, J.-h.; Sivamani, S.; Lee, D.-H.; Choi, S.H. High precision classification of resting and eating behaviors of cattle by using a collar-fitted triaxial accelerometer sensor. Sensors 2022, 22, 5961. [Google Scholar] [CrossRef]
  14. Benaissa, S.; Tuyttens, F.A.M.; Plets, D.; Martens, L.; Vandaele, L.; Joseph, W.; Sonck, B. Improved cattle behaviour monitoring by combining Ultra-Wideband location and accelerometer data. Animal 2023, 17, 100730. [Google Scholar] [CrossRef]
  15. Ojo, M.O.; Viola, I.; Baratta, M.; Giordano, S. Practical experiences of a smart livestock location monitoring system leveraging GNSS, LoRaWAN and cloud services. Sensors 2022, 22, 273. [Google Scholar] [CrossRef] [PubMed]
  16. Bloch, V.; Pastell, M. Monitoring of cow location in a barn by an open-source, low-cost, low-energy bluetooth tag system. Sensors 2020, 20, 3841. [Google Scholar] [CrossRef]
  17. Wang, Y.; Perea, A.; Cao, H.; Bakir, M.; Utsumi, S. A two-stage machine learning approach for calving detection in rangeland cattle. Agriculture 2025, 15, 1434. [Google Scholar] [CrossRef]
  18. Liao, M.; Morota, G.; Bi, Y.; Cockrum, R.R. Predicting dairy calf body weight from depth images using deep learning (YOLOv8) and threshold segmentation with cross-validation and longitudinal analysis. Animals 2025, 15, 868. [Google Scholar] [CrossRef] [PubMed]
  19. Ferreira, C.; Todorovic, M.; Sugrue, P.; Teixeira, S.; Galvin, P. Review: Emerging sensors and instrumentation systems for bovine health monitoring. Animal 2025, 19, 101527. [Google Scholar] [CrossRef]
  20. Galik, R.; Bod’o, Š.; Lüttmerding, A.; Knížková, I.; Kunc, P. Tracking differences in cow temperature related to environmental factors. Applied. Science 2024, 14, 7205. [Google Scholar] [CrossRef]
  21. Li, J.; Ling, M.; Fu, B.; et al. UAV based smart grazing: a prototype of space-air-ground integrated grazing IoT networks in Qinghai-Tibet plateau. Discover Internet of Things 2025, 5. [Google Scholar] [CrossRef]
  22. Casas, R.; Hermosa, A.; Marco, Á.; Blanco, T.; Zarazaga-Soria, F.J. Real-time extensive livestock monitoring using LPWAN smart wearable and infrastructure. Applied Science 2021, 11, 1240. [Google Scholar] [CrossRef]
  23. Cabezas, J.; Yubero, R.; Visitación, B.; Navarro-García, J.; Algar, M.J.; Cano, E.L.; Ortega, F. Analysis of accelerometer and GPS data for cattle behaviour identification and anomalous events detection. Entropy 2022, 24, 336. [Google Scholar] [CrossRef] [PubMed]
  24. Rivero, M.J.; Grau-Campanario, P.; Mullan, S.; Held, S.D.E.; Stokes, J.E.; Lee, M.R.F.; Cardenas, L.M. Factors affecting site use preference of grazing cattle studied from 2000 to 2020 through GPS tracking: A review. Sensors 2021, 21, 2696. [Google Scholar] [CrossRef]
Figure 1. Concept of monitoring application to a herd of pastured cows.
Figure 1. Concept of monitoring application to a herd of pastured cows.
Preprints 183017 g001
Figure 2. Definitions and notations.
Figure 2. Definitions and notations.
Preprints 183017 g002
Figure 3. Three message types used for communication.
Figure 3. Three message types used for communication.
Preprints 183017 g003
Figure 4. Collective behaviors of cows.
Figure 4. Collective behaviors of cows.
Preprints 183017 g004
Figure 5. Schematic flow of monitoring algorithm based on G i .
Figure 5. Schematic flow of monitoring algorithm based on G i .
Preprints 183017 g005
Figure 6. Illustration of c j acquisition (left: cow distribution; right: corresponding table T i , j ).
Figure 6. Illustration of c j acquisition (left: cow distribution; right: corresponding table T i , j ).
Preprints 183017 g006
Figure 7. I i , 12 and I i , 21 computation process.
Figure 7. I i , 12 and I i , 21 computation process.
Preprints 183017 g007
Figure 8. Illustration of N i calculation (left: cow distribution; right: calculation table).
Figure 8. Illustration of N i calculation (left: cow distribution; right: calculation table).
Preprints 183017 g008
Figure 9. Illustration of f c i j calculation (left: cow distribution; right: calculation table).
Figure 9. Illustration of f c i j calculation (left: cow distribution; right: calculation table).
Preprints 183017 g009
Figure 10. Illustration of F i calculation (left: cow distribution; right: calculation table).
Figure 10. Illustration of F i calculation (left: cow distribution; right: calculation table).
Preprints 183017 g010
Figure 11. Illustration of G i generation.
Figure 11. Illustration of G i generation.
Preprints 183017 g011
Figure 12. Variations in communication conditions with cow movements.
Figure 12. Variations in communication conditions with cow movements.
Preprints 183017 g012
Figure 13. Hardware configuration of a wireless sensor and a server tags.
Figure 13. Hardware configuration of a wireless sensor and a server tags.
Preprints 183017 g013
Figure 14. Structure of packets used for communication.
Figure 14. Structure of packets used for communication.
Preprints 183017 g014
Figure 15. Specification and layout of electronic module.
Figure 15. Specification and layout of electronic module.
Preprints 183017 g015
Figure 16. Wireless sensor tag mounted on frame unit.
Figure 16. Wireless sensor tag mounted on frame unit.
Preprints 183017 g016
Figure 17. Measurement results for variation in signal strength over distance.
Figure 17. Measurement results for variation in signal strength over distance.
Preprints 183017 g017
Figure 18. Experimental environment and sensor tag mounted on cows.
Figure 18. Experimental environment and sensor tag mounted on cows.
Preprints 183017 g018
Figure 19. Experimental results for network generation with respect to server tag according to movements of five sensor tags.
Figure 19. Experimental results for network generation with respect to server tag according to movements of five sensor tags.
Preprints 183017 g019
Figure 20. Experimental scene for network configuration with respect to green circled cow.
Figure 20. Experimental scene for network configuration with respect to green circled cow.
Preprints 183017 g020
Figure 21. Experimental results for changes in network configuration according to movements of green-circled cow.
Figure 21. Experimental results for changes in network configuration according to movements of green-circled cow.
Preprints 183017 g021
Figure 22. Experimental scene for network configuration observed when cows gathered at feeder.
Figure 22. Experimental scene for network configuration observed when cows gathered at feeder.
Preprints 183017 g022
Figure 23. Distance-dependent variation in signal strength from feeder.
Figure 23. Distance-dependent variation in signal strength from feeder.
Preprints 183017 g023
Figure 24. Experimental scene for network configuration observed when cows entered cowshed.
Figure 24. Experimental scene for network configuration observed when cows entered cowshed.
Preprints 183017 g024
Figure 25. Distance-dependent variation in signal strength from entrance.
Figure 25. Distance-dependent variation in signal strength from entrance.
Preprints 183017 g025
Figure 26. Experimental result for group behaviors of grazing cows and corresponding network configuration.
Figure 26. Experimental result for group behaviors of grazing cows and corresponding network configuration.
Preprints 183017 g026
Figure 27. Variations in signal strength when two cows leaving herd.
Figure 27. Variations in signal strength when two cows leaving herd.
Preprints 183017 g027
Figure 28. Simulation results for network configuration based on movements of five cows.
Figure 28. Simulation results for network configuration based on movements of five cows.
Preprints 183017 g028
Figure 29. Simulation results for the number of cows in H i 1 , N i , and F i with varying C R .
Figure 29. Simulation results for the number of cows in H i 1 , N i , and F i with varying C R .
Preprints 183017 g029
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated