Reducing GPS Error for Smart Collars Based on Animal’s Behavior

: Global Positioning Systems (GPS) are successfully used in many ﬁelds such as navigation, meteorology, military tasks, mapping, virtual fencing, and more. Smart collars are currently the most convenient device for determining animal location in virtual fencing systems, however; these systems are still su ﬀ ering from environmental e ﬀ ects and propagation in direct visibility. These types of side e ﬀ ects may reduce the work of GPS receivers. The current article deﬁnes a method for improving animal location accuracy using a virtual fence smart collar worn around the animal’s neck by the aid of maximum probability of movement from one point to another. The proposed approach ﬁrst checks the current position of the animal, and after receiving a GPS signal from satellites it calculates the distance between the two GPS signals. Secondly, the method checks the animal’s behavior for the receiving period of the two points. Finally, the approach calculates a probability of maximum animal movement for the two-point receiving period. If the animal can pass the distance in the time frame of the two signals, then the second signal is taken as the correct position; otherwise, the point is taken which the animal could pass. Real-time animal behavior is classiﬁed using Support Vector Machines (SVM). The proposed method was veriﬁed within seven days of experiments. Consequently, the proposed approach experiments were su ﬃ ciently successful. The recreated locations from our approach appeared very close to the real point. The mean average of passed distance by the marked line decreased to 16.2, 5, 0 m for running, walking, and resting conditions, respectively. On the other hand, the unﬁltered geolocations of the GPS receiver, give results signiﬁcantly further from the animal’s actual position such as 148.8, 182.7, 136.2 m for running, walking, and resting conditions.


Introduction
Animal localization plays a vital role in monitoring and controlling animals in real-time using virtual fence applications [1]. Global Positioning System (GPS) devices obtain coordinates from internal GPS modules which monitor signals from satellites in near-earth orbit. GPS technology is designed to determine geoposition and has in recent times been extensively used in many Internet of Things (IoT) devices such as smart collars [2,3]. However, the accuracy of the positioning of the single-frequency GPS module is not sufficient for safe IoT applications in agriculture, such as intelligent farming systems and virtual fencing systems, to avoid incorrect monitoring and convenient animal management. GPS receivers embedded in smart collars are commonly low-cost single-frequency modules, and their normal location error is around 10-15 m [4,5]. These characteristics are sufficient for coarse navigation, but they are not accurate enough from a security point of view. In addition, in overcast weather and inside cites with urban canyons, the positioning characteristics deteriorate significantly.
Many methods have been proposed to increase the GPS positioning accuracy. One commonly used method is relative positioning [6]. Methods such as relative positioning, including static, fast static, kinematic, pseudo-kinematic, and kinematic in real-time, have proven the ability to improve GPS accuracy [7][8][9]. Hurm in 1989 [10] and 1993 [11] carefully studied the principles of operation, the degree of internal error as well as the methods used to reduce errors associated with GPS. Since animals of medium and large size wear GPS collars, it seems to have little effect on their behavior [12]. However, the GPS technology offered a magnificent opportunity for recording animal movements in arbitrary zones [13][14][15], use of resources and their activities [16,17].
One of the problems of studying the behavior of animals using GPS based smart collars, inherent inflationary impact of system errors in the movement of animals [18]. As a rule, GPS accuracy can be related to several aspects such as satellite geometry, atmospheric conditions, receiver or satellite errors, numerous road effects, satellite orbit errors [11], and topography, depending on the air tires or adjacent structures [19,20]. The error of the GPS signals does not make exact distance [21].
The technology of virtual fencing has allowed fast modern approaches and demonstrated technical capabilities for goats [22]. Normally, virtual fencing systems for animals use a method which combines animal behavior with GPS to develop complete virtual fencing [22][23][24][25]. Similar to physical fences, a virtual fence system provides a border for animals, but, unlike normal ones, they do not create physical barriers [26]. The perception and development of reducing GPS error in virtual fencing technology for goats are less advanced. Nevertheless, the potential of virtual fencing technology for goat grazing was demonstrated very well. A wide study is needed to correct GPS errors for improving performance of the virtual fence system for goats, determining the management of goats in their correct coordinates.
This study utilizes research results from our virtual fence project for controlling and monitoring the behavior of goats [22]. While conducting our project study, we faced several problems related to goat GPS position error. For example, occasionally, we received wrong coordinate data from the GPS module and, as a result, test goats were given electronic or sound stimuli unnecessarily.
In this study, we have purposed two objectives. First, to achieve goats' current behavior using Support Vector Machines (SVM) which contribute to the effectiveness of individual accelerometer units [22]; and second, to demonstrate GPS error correction based on achieved real-time goat behavior. The rest of this article is organized as follows. Section 2 summarizes information about the materials and methods of the proposed GPS error filter method. Moreover, it discusses the related algorithms, which are the main reference algorithms for obtaining the complete working method. Section 3 extensively explains the experiment schedule, process, and its results; and Section 4 concludes.

GPS Based Smart Collars
In a previous study, we introduced the use of a smart collar, which can be worn around the neck of a goat, and for the convenience of the user, we introduced a smart virtual fence application to monitor and control the movement of goats. Communication applications "smart collar" and "virtual fence" were implemented in the form of a centralized client-server architecture, where the server component is responsible for determining the virtual fence zones using a decision-making algorithm. Figure 1a represents the components of the center shield of a smart collar. These are Arduino Nano (Arduino, Ivrea, Italy) as a central microcontroller, XBee module (Digi International Worldwide Headquarters, Hopkins, MN, USA) for communication with the server, GPS receiver, MPU-6050 accelerometer and gyro sensors (InvenSense, Technology Dr. San Jose, CA, USA), for the stimuli it is used MP3 player (developed by the DFRobot Electronics in Shanghai, China) and high voltage electric shocker. Figure 1b illustrates a fully assembled smart collar around the neck of a goat. We used the Adafruit GPS device to determine the current position of the goats. This device was connected to a serial port (TX1, RX0) and 3v power port. Adafruit GPS module is a high-quality GPS module capable of tracking up to 22 satellites through 66 channels. The device is able to receive up to 10 location updates per second for high speed, high sensitivity of recording or tracking [27].
The MPU-6050 was used to obtain accelerometer and gyroscope data; get the current activity behavior of the animal. The MPU-6050 devices combined a triaxial gyroscope and a triaxial accelerometer on a single chip along with an integrated Digital Motion Processor, which processed complex six-axis algorithms MotionFusion. In addition, there was a built-in temperature sensor which had an I2C bus interface for communicating with microcontrollers, such as an Arduino Nano.

Software Infrastructure
In our previous study, we implemented a virtual fence application [22] whose main task was to create virtual fences using a remote PC. This allowed us to view, monitor and track the behavior and location of goats through a wireless network in real-time and determine the deviated position of animals in the reception area. We were able to add the current GPS error correction method to the virtual fence application.
We did not limit our GPS error filter method to only specific types of animals, for example, goats; we were able to add a feature that makes our method available for all types of animals. Using our virtual fence applications, farmers can now easily choose their animal types and include a GPS error filter function for them.

Behavior Based Algorithm
To reduce GPS error in virtual fencing systems, we proposed a method which uses an animal's real-time behavior and speed.
First, the method calculates animal position in two dimensions with signals received from the smart collar worn around the animal's neck (as shown in Figure 2). Simultaneously, the method retains position calculation time and helps to calculate the animal's travel speed between two consistently received GPS position data (points). Secondly, it checks animal's behavior for two received GPS position time periods. If the animal's behavior was "running" or "walking," the method calculates maximum probable travel distance for the time period. The device then compares the distances between two GPS receiver points and maximum probable traveled distance. If the distance between the two GPS points is more or less than the calculated maximum probable traveled distance, the method creates a new geolocation which lies somewhere on an imaginary line between the two We used the Adafruit GPS device to determine the current position of the goats. This device was connected to a serial port (TX1, RX0) and 3v power port. Adafruit GPS module is a high-quality GPS module capable of tracking up to 22 satellites through 66 channels. The device is able to receive up to 10 location updates per second for high speed, high sensitivity of recording or tracking [27].
The MPU-6050 was used to obtain accelerometer and gyroscope data; get the current activity behavior of the animal. The MPU-6050 devices combined a triaxial gyroscope and a triaxial accelerometer on a single chip along with an integrated Digital Motion Processor, which processed complex six-axis algorithms MotionFusion. In addition, there was a built-in temperature sensor which had an I2C bus interface for communicating with microcontrollers, such as an Arduino Nano.

Software Infrastructure
In our previous study, we implemented a virtual fence application [22] whose main task was to create virtual fences using a remote PC. This allowed us to view, monitor and track the behavior and location of goats through a wireless network in real-time and determine the deviated position of animals in the reception area. We were able to add the current GPS error correction method to the virtual fence application.
We did not limit our GPS error filter method to only specific types of animals, for example, goats; we were able to add a feature that makes our method available for all types of animals. Using our virtual fence applications, farmers can now easily choose their animal types and include a GPS error filter function for them.

Behavior Based Algorithm
To reduce GPS error in virtual fencing systems, we proposed a method which uses an animal's real-time behavior and speed.
First, the method calculates animal position in two dimensions with signals received from the smart collar worn around the animal's neck (as shown in Figure 2). Simultaneously, the method retains position calculation time and helps to calculate the animal's travel speed between two consistently received GPS position data (points). Secondly, it checks animal's behavior for two received GPS position time periods. If the animal's behavior was "running" or "walking," the method calculates maximum probable travel distance for the time period. The device then compares the distances between two GPS receiver points and maximum probable traveled distance. If the distance between the two GPS points is more or less than the calculated maximum probable traveled distance, the method creates a new geolocation which lies somewhere on an imaginary line between the two points received from the GPS receiver. For the other conditions, the method does the same as well. For example, if the animal's condition is "standing" or "laying," the method reports the last position as current.
Appl. Sci. 2019, 9, x FOR PEER REVIEW 4 of 11 points received from the GPS receiver. For the other conditions, the method does the same as well. For example, if the animal's condition is "standing" or "laying," the method reports the last position as current. The main components that build up the complete system are the algorithm for measuring the distance between two points on a spherical surface, the classification of behavior using machine learning algorithms and calculated destination points using a given distance and bearing from the starting point. All algorithms used are discussed in the following sections.

Physical Activity Classification
The physical activity classification is one of the essential techniques of the current study. The previous research classification method is used for the current study. Table 1 shows the five classified goat activity behaviors from our previous study. For an individual goat, 10-dimensional raw data acquired from the smart collar, including six-dimensional data of the accelerometer sensor: accelerometer data: , , , gyro data: , , , a and the four-dimensional quaternion raw data [28]: , , , (they are x, y, zaxis and w-rotation amount). The quaternion plays the most crucial role in distinguishing between the five considered goat behaviors. The four-dimensional quaternion calculation supported by the I2Cdevlib Arduino library [29]; (as shown in Equation (1)).
The 10-time series were combined for classification: where is an array of the 10-time series at a particular time sample index .  The main components that build up the complete system are the algorithm for measuring the distance between two points on a spherical surface, the classification of behavior using machine learning algorithms and calculated destination points using a given distance and bearing from the starting point. All algorithms used are discussed in the following sections.

Physical Activity Classification
The physical activity classification is one of the essential techniques of the current study. The previous research classification method is used for the current study. Table 1 shows the five classified goat activity behaviors from our previous study. For an individual goat, 10-dimensional raw data acquired from the smart collar, including six-dimensional data of the accelerometer sensor: accelerometer data: x accx (t), x accy (t), x accz (t), gyro data: x gyrox (t), x gyroy (t), x gyroz (t), a and the four-dimensional quaternion raw data [28]: x quatx (t), x quaty (t), x quatz (t), x quatw (t) (they are x, y, z-axis and w-rotation amount). The quaternion plays the most crucial role in distinguishing between the five considered goat behaviors. The four-dimensional quaternion calculation supported by the I2Cdevlib Arduino library [29]; (as shown in Equation (1)). Table 1. Activity classes: the five goat activities described in this study were, standing, walking, running, grazing, and laying.

Class Description
Standing A goat is normally standing Walking A moving goat taking steps with head in an upright position Running A faster-moving goat with frequent body shakes

Grazing
The goat's head is tilted downward and positioned near the ground. The goat is either eating or searching for pasture Lying A goat laying down The 10-time series were combined for classification: where X(t) is an array of the 10-time series at a particular time sample index t.
A machine learning algorithm called the SVM classifier was used to classify goat's activity in real-time. SVM-classification was used because it copes well with small and unbalanced data. SVM is a classifier used for classification and regression analysis tasks. It belongs to the family of linear classifiers and can also be considered as a special case [30,31]. As a result, the liner classification algorithm can be written as shown in Equation (2): where S is the number of the Support Vector, x is an object space of feature vector, w is a normal vector to the separating hyperplane, b is an auxiliary parameter. The linear classifier tends to show high performance if the feature vector is classified as linear. However, our classification data is multidimensional. It can be better classified using nonlinear classification methods. In this case, the Kernel Trick technique was used to classify goat behavior using multidimensional data. So, in our previous study, we used the RBF kernel to classify the activities of goats [22,25]. Using the Radial Basis Function (RBF) kernel-based SVM classification, we could obtain sufficiently good results in the previous study. The total archived F-score accuracy of classification was 91%, as shown in Table 2. The accuracy of the classification was evaluated using the precision (P), recall (R), and F-score metric [32]: The number of intervals from the class that was correctly classified is truepos, the number of intervals from another class that was incorrectly classified as the class is falsepos, and the number of intervals belonging to the class that was classified as another class is falseneg. The precision (also called positive predictive value) is the fraction of relevant instances among the retrieved instances, while recall (also known as sensitivity) is the fraction of relevant instances that have been retrieved over the total amount of relevant instances. Both precision and recall are therefore based on an understanding and measure of relevance [33]. The F-score is the harmonic mean of accuracy and recall, where the F-score reaches its best value at 1 (perfect accuracy and recall) and worst at 0 [22,34].

Distance Estimation Using GPS Data
To achieve our aim, it is required to have one more critical distance measuring technique between the two received GPS points and the distance between the maximum probable traveled distance from the last received GPS point. In general, the closest distance between the two points A(x 1 , y 1 ) and B(x 2 , y 2 ) calculates by the formula below: However, this approach will not work for the simple reason that the Euclidean metric is designed to calculate the distance on the plane, and the surface of the Earth is still a figure very close to the sphere. To solve this problem, we need to turn to the frequently used algorithm called Haversine. To project the distances with higher precision, we used Google Maps API, which provides ready functions that can be used to calculate distances on the Earth surface using Haversine algorithm. The coordinates such as latitude and longitude are used as a coordinate system of Google Maps. The Haversine technique is applied to measure the length of two geolocations on the surface of the Earth, based on a 2-D geoposition. To solve many problems of navigation and mapping of small scale, the Earth is taken as a sphere (as a ball). The position of a point on the earth's sphere is determined by spherical coordinates: spherical latitude and spherical longitude (the term "geographical coordinates" is used in cartography). To determine the distance between two points, the latitude and longitude of the first point and second points are needed. The calculations are complicated by the fact that the Earth is not an ideal sphere and its radius varies slightly. We use the average radius value, which, in accordance with WGS84, is approximately 6367.45 km, which allows is to get a result with an accuracy of 99.5%. [32].
The principle work of the Haversine method is described in Figure 3. The operation of the Haversine algorithm, demonstrates the direct distance between points as a given separate sphere. A "triangle" on the surface of the sphere is defined by great circles connecting the three points u, v, and w on the sphere, where a, b and c are the distances that must be calculated [35,36]. For any two points on the Haversine sphere of the central angle between them is calculated by the formula: where hav is haversine function, d is the central angle between two points lying on the large circle, r is the sphere radius, ϕ 1 and ϕ 2 are the latitude of the first and second points in radians, λ 1 and λ 2 are the longitude of the first and second points in radians [32,33].
Appl. Sci. 2019, 9, x FOR PEER REVIEW 6 of 11 to the sphere. To solve this problem, we need to turn to the frequently used algorithm called Haversine. To project the distances with higher precision, we used Google Maps API, which provides ready functions that can be used to calculate distances on the Earth surface using Haversine algorithm. The coordinates such as latitude and longitude are used as a coordinate system of Google Maps. The Haversine technique is applied to measure the length of two geolocations on the surface of the Earth, based on a 2-D geoposition. To solve many problems of navigation and mapping of small scale, the Earth is taken as a sphere (as a ball). The position of a point on the earth's sphere is determined by spherical coordinates: spherical latitude and spherical longitude (the term "geographical coordinates" is used in cartography). To determine the distance between two points, the latitude and longitude of the first point and second points are needed. The calculations are complicated by the fact that the Earth is not an ideal sphere and its radius varies slightly. We use the average radius value, which, in accordance with WGS84, is approximately 6,367.45 km, which allows is to get a result with an accuracy of 99.5%. [32]. The principle work of the Haversine method is described in Figure 3. The operation of the Haversine algorithm, demonstrates the direct distance between points as a given separate sphere. A "triangle" on the surface of the sphere is defined by great circles connecting the three points u, v, and w on the sphere, where a, b and c are the distances that must be calculated [35,36]. For any two points on the Haversine sphere of the central angle between them is calculated by the formula: where ℎ is haversine function, is the central angle between two points lying on the large circle, is the sphere radius, and are the latitude of the first and second points in radians, and are the longitude of the first and second points in radians [32,33]. The Haversine length-to-radius ratio sign as a ⁄ , on the left side of the Equation (4). To determine the distance , it applies the archaversine (reverse haversine) or uses the arcsine function (inverse sine) [35,36]: The smart collar of our virtual fence system was developed to transmit data at 1 Hz (a data per second). Using the above functions, we can calculate the distance which the goat can travel during 1 The Haversine length-to-radius ratio sign as a d/r, on the left side of the Equation (4). To determine the distance d, it applies the archaversine (reverse haversine) or uses the arcsine function (inverse sine) [35,36]: The smart collar of our virtual fence system was developed to transmit data at 1 Hz (a data per second). Using the above functions, we can calculate the distance which the goat can travel during 1 s. A goat's maximum speed is 17 kph (17 kph = 4.72 mps), so the maximum possible traveling distance per second for a goat is 4.72 m. If the second point received from the GPS module is located further than 4.72 m, the system removes and creates a new point which is located 4.72 m away from the first point.

Study Area
This research was performed in a 2.6-ha meadow on a rural landscape in the central region of South Korea located at 36 • 56 56.8" N 127 • 54 40.8" E. The experiment ground was sufficiently large and positioned away from urban canyons, as shown in Figure 4a. This position provided the best chance to observe significant experimental results. The nearest potentially interfering buildings were 620 m distance. The research was conducted in sunny weather with a mean annual temperature of 14 • C, and recorded extremes of 9 • C and 24 • C. We chose a playground as an experiment zone, as the area's visible borders helped define the actual path, as shown in Figure 4b. The total length of the line is 345 m, the width is 68 m, and the height is 104 m. In all field experiments, we visually observed individual goat behavior using the smart collar, (as illustrated in Figure 1a), and occasionally, series of experiments were provided on any given day. In the current research, we provided experiments in seven days.
Appl. Sci. 2019, 9, x FOR PEER REVIEW 7 of 11 than 4.72 m, the system removes and creates a new point which is located 4.72 m away from the first point.

Study Area
This research was performed in a 2.6-ha meadow on a rural landscape in the central region of South Korea located at 36°56′56.8′′ N 127°54′40.8′′ E. The experiment ground was sufficiently large and positioned away from urban canyons, as shown in Figure 4a. This position provided the best chance to observe significant experimental results. The nearest potentially interfering buildings were 620 m distance. The research was conducted in sunny weather with a mean annual temperature of 14 °C, and recorded extremes of 9 °C and 24 °C. We chose a playground as an experiment zone, as the area's visible borders helped define the actual path, as shown in Figure 4b. The total length of the line is 345 m, the width is 68 m, and the height is 104 m. In all field experiments, we visually observed individual goat behavior using the smart collar, (as illustrated in Figure 1a), and occasionally, series of experiments were provided on any given day. In the current research, we provided experiments in seven days.

Data Collection
We collected data for individual goat behavior such as running, walking, and resting (standing, eating, laying). For seven days, we collected data for three conditions every day (as illustrated in Table 3). The experimental goat ran and walked by the tagged line exactly. For the resting condition, the goat kept in the center of the experiment area. All data was collected from the virtual fence application by the database. The data was saved to the database as filtered and unfiltered data. Unlike earlier studies, our total number of filtered and unfiltered data was the same because our GPS error reducing method never erased error locations. Instead of erasing it, it created a new geolocation.

Data Collection
We collected data for individual goat behavior such as running, walking, and resting (standing, eating, laying). For seven days, we collected data for three conditions every day (as illustrated in Table 3). The experimental goat ran and walked by the tagged line exactly. For the resting condition, the goat kept in the center of the experiment area. All data was collected from the virtual fence application by the database. The data was saved to the database as filtered and unfiltered data. Unlike earlier studies, our total number of filtered and unfiltered data was the same because our GPS error reducing method never erased error locations. Instead of erasing it, it created a new geolocation.

Analyses
The reason we conducted the experiment in seven days was to illustrate true results because GPS errors depend upon many aspects, as mentioned in previous sections. The path with GPS errors is in shown in Figure 5 for all three conditions. The results of the proposed method are compared in Figure 6.

Analyses
The reason we conducted the experiment in seven days was to illustrate true results because GPS errors depend upon many aspects, as mentioned in previous sections. The path with GPS errors is in shown in Figure 5 for all three conditions. The results of the proposed method are compared in Figure 6. By the images, it is difficult to determine the trajectory based on the results of positioning the conventional or proposed locations. In contrast to the proposed method, it is possible approximately get the trajectory. To quantify the error, this article considers some variables called "unfiltered bias" and "filtered bias". The "unfiltered bias" is a dependent response variable for the distance between the consecutive GPS trajectory and the actually passed trajectory, and the "filtered bias" responses

Analyses
The reason we conducted the experiment in seven days was to illustrate true results because GPS errors depend upon many aspects, as mentioned in previous sections. The path with GPS errors is in shown in Figure 5 for all three conditions. The results of the proposed method are compared in Figure 6. By the images, it is difficult to determine the trajectory based on the results of positioning the conventional or proposed locations. In contrast to the proposed method, it is possible approximately get the trajectory. To quantify the error, this article considers some variables called "unfiltered bias" and "filtered bias". The "unfiltered bias" is a dependent response variable for the distance between the consecutive GPS trajectory and the actually passed trajectory, and the "filtered bias" responses By the images, it is difficult to determine the trajectory based on the results of positioning the conventional or proposed locations. In contrast to the proposed method, it is possible approximately get the trajectory. To quantify the error, this article considers some variables called "unfiltered bias" and "filtered bias". The "unfiltered bias" is a dependent response variable for the distance between the consecutive GPS trajectory and the actually passed trajectory, and the "filtered bias" responses for the actual distance, units moved along the marked line marks of the smart collar and filtered GPS trajectory by the proposed method [21]: A confident estimate implies that GPS measures an exaggerated distance, whereas negative values indicate that GPS data underestimates the distance [21]. In the literal sense, both cases reported a GPS error. Table 4 presents the mean average of GPS unfiltered, GPS filtered, and actual goat's total passed trajectory distances across the line tags. The seven days experiment results of unfiltered and filtered bias are illustrated in Table 5. It shows the maximum and mean of the error passed distances among the tests. This result shows that when using the proposed method, the maximum error of running, walking, and resting behavior can be reduced from 153 to 20 m, 190 to 8 m, 162 to 0 m respectively; the average error is from 148.8 to 16.2 m, 182.7 to 5 m, 136.2 to 0 m as well.

Conclusions
The new proposed method for GPS error correction is applied well for virtual fence technology for goats, in this study. The proposed technique helps to improve the position accuracy of virtual fencing technologies with GPS based smart collars. The proposed method is based on animal behavior in real-time. For our current experiments, we used a smart collar from our previous study [20]. The current study method's implementation was made technically possible with results from the previous study's virtual fence application. Our smart collar transmits 3-D GPS coordinates and 10-D accelerometer sensor data at 1 Hz. The transmitted data is logged and received in the virtual fence application database.
In the current study, we conducted experiments over a seven-day period for the three different goat behavior activity such as running, walking, and resting (standing, grazing, laying). During the seven days of experiments, the device received several GPS signals with errors. The proposed method was capable of finding incorrect GPS coordinates and determining the accurate position information.
As stated by the results of our experiment, GPS positioning accuracy has improved significantly compared with traditional methods.
With unfiltered geolocations, the average distance offset is measured by the true position of the smart collar, and the coordinates obtained from the settlers were 110-190 m. Our proposed method significantly affected the results of the mean corrected data bias and unfiltered data bias. The mean bias of the corrected data was 0-16.2 m. The bias of unfiltered and filtered data for each goat behavior are found in Table 5. Besides, the second day experiment results were visualized in Figures 5 and 6.
The proposed method, however, is mainly oriented for use in virtual fencing systems. The method aids in obtaining true animal positions and reduces incidents of incorrect stimuli administration (sound, electronic, etc.).