Research Article | Open Access
Bin Ge, Kai Wang, Jianghong Han, Bao Zhao, "Improved RSSI Positioning Algorithm for Coal Mine Underground Locomotive", Journal of Electrical and Computer Engineering, vol. 2015, Article ID 918962, 8 pages, 2015. https://doi.org/10.1155/2015/918962
Improved RSSI Positioning Algorithm for Coal Mine Underground Locomotive
Aiming at the large positioning errors of traditional coal mine underground locomotive, an improved received signal strength indication (RSSI) positioning algorithm for coal mine underground locomotive was proposed. The RSSI value fluctuates heavily due to the poor environment of coal mine underground. The nodes with larger RSSI value corrected by Gaussian-weighted model were selected as beacon nodes. In order to reduce the positioning error further, the estimated positions of the locomotives were corrected by the weighted distance correction method. The difference between actual position and estimated position of beacon node was regarded as the positioning error and was given a corresponding weight. The results of simulation show that the positioning accuracy of Gaussian-weighted model is better than statistical average model and Gaussian model and it has a high positioning accuracy after correcting positioning error correction. In the 10 m of communication range, positioning error can be maintained at 0.5 m.
Due to the closed and harsh environment of coal mine and the narrow and intricate roadway, mine transportation accidents often occur. It always accounts for a large proportion in all kinds of coal mine accidents. Achieving coal mine underground locomotive positioning technology is significant for reducing economic losses and transportation accidents. It also not only can allocate resource reasonable, but also can repair locomotive timely when it breaks down.
At present, the underground positioning technologies are Bedford and Kennedy  proposed evaluation of ZigBee (IEEE 802.15.4) Time-of-Flight-based distance measurement for application in emergency underground navigation. Lei et al.  introduced a positioning technology of underground moving target which is based on Wi-Fi (wireless-fidelity) and Web GIS (geographic information system). It uses trilateration algorithm to calculate relative coordinate of the target. Hongpeng Chi et al.  introduced a laser-based positioning system. The laser light is reflected back to locomotive using time difference to calculate the distance and achieve positioning. Gao et al.  proposed a locomotive position system in coal mine which is based on the piezoelectric accelerometer, through integrating over the collected acceleration value of the electric locomotive and solving out the speed and position. Zhang et al.  used the inertial navigation system into the coal mine locomotive localization system. Han et al.  introduced a weighted centroid localization algorithm which is based on received signal strength indicator. It can access to the path of decline index dynamically, and then calculate its own location using weighted centroid algorithm.
These researches of the positioning technology provide some useful exploration for achieving the coal mine locomotive positioning, but they have defect in practical application. In literature [1, 2] they are simple but have low accuracy and do not suit high-precision mine operations. In literature  it is influenced by the environment and may get larger positioning errors in harsh environment. In literatures [4, 5] they have limits; for example, if locomotive gets rapidly speedy, positioning accuracy will become low and there is greater cumulative error and it takes longer time in positioning process. In literature  it is achieved easily and has better accuracy, but it is not stable and the error fluctuates greatly with the change of locomotive location.
According to the analysis, considering the low cost, complexity, and without any additional hardware device of RSSI location and arranging nodes sufficiently in the pit [7–9], this paper uses RSSI location and makes improvement. The positioning errors of RSSI positioning algorithm for coal mine underground locomotive have two primary factors. Firstly, the RSSI value is very unstable, because it is influenced by bad environment such as diffraction, multipath, and obstructions. Secondly, location algorithm is not precise enough and cannot deal with some inaccurate date effectively. The main methods of managing RSSI value are statistical mean model, weighted model, Gaussian model, and so forth. Literature  simulated several models and the results show that the highest ranging precision is Gaussian model. Literature  proposed a correction algorithm based on Gaussian anchor nodes; literature  proposed a D-Gaussian model, it can filtrate variance level interference. Literature  used hybrid filtering method to optimize RSSI value. This paper presents a Gaussian-weighted model to get more accurate distance, uses weighted least squares method to estimate location of the locomotive, and corrects positioning error using weighted distance correction method.
2. Wireless Communication Model and RSSI Ranging Model
2.1. Wireless Communication Model of Coal Mine
Because coal mine tunnel is narrow and has rails, the nodes cannot be arranged anywhere. In order to collect wireless signal of the nodes correctly, the beacon nodes are arranged on both sides of the track and spaced in a certain distance to reduce interference between the signals, as shown in Figure 1.
In Figure 1, Wireless AP (access point) is a node which can communicate with other wireless AP using wireless technology and A, B, C, and D are the beacon nodes which are arranged on both sides of the rail. When the locomotive is running to this location shown in Figure 1, it can communicate with beacon nodes and it is ensured that the number of the nodes which can communicate with locomotive is greater than or equal to 4. That ensures the calculation of exact location. In order to guarantee the number of communication nodes, the distance between nodes A and B should not exceed the range of the communication; the same goes for C and D, in Figure 1. To obtain more accurate RSSI values, the distance between A and B or C and D can be reduced. If the distance is short sufficiently, the number of communication nodes may be increased to five or more and the relative cost and complexity of the algorithm will increase.
2.2. RSSI Ranging Model
As the propagation distance of radio signal increase, the signal strength decay. It has different attenuation amplitude, in different environments. In WSN (Wireless Sensor Network), the commonly used wireless signal propagation models are: free space propagation model, 1og-distance path loss model, Hata model, log-distance distribution model, and so forth [14, 15].
Log-distance distribution model can be used to calculate the path loss when nodes received information. The model is shown as follows: where is the path loss after signal transmitting distance , the unit of the path loss is dB, is a Gaussian distribution random variable whose mean value is 0 and standard deviation is (generally 4–10), is path attenuation factor and always takes 2–5, is reference distance and usually equals 1 meter, and is a path loss after signal transmitting distance (generally 1 m).
The RSSI of nodes at distance is where is transmitting power and is the gain of antenna.
Similarly where is the RSSI at the distance of .
3. Improved RSSI Positioning Algorithm of Underground Locomotive
RSSI values show a great probability of randomness and volatility, when the wireless signal is propagating in coal mine. If only use formula (4) to calculate distance, is unknown and it is not a solution. Without or it takes 0 the fluctuation range of positioning error is large. Obviously this is not consistent with the positioning requirements of underground. To reduce the positioning error RSSI value correction is an essential part of the positioning algorithm. So a new correction model of RSSI value (Gaussian-weighted model) is proposed. Then estimate locomotive position using the least squares method. At last correct the estimation position using weighted distance correction.
3.1. Correct RSSI Value
Gaussian-weighted model combines the advantages of several models; concrete steps are as follows.(1)High probability of RSSI values is selected by Gaussian model. When the unknown node receives several RSSI values from a same beacon node, the RSSI values with a probability density less than 0.6 (this value may be due to environment) are filtered by Gaussian model . Arrange the remaining RSSI values from small to large: , where is number of remaining RSSI.(2)Calculate the weight of the RSSI values of . Suppose that and are the mean and variance of these RSSI values. Consider Define the formula of weights: where is to make the weight value smoother. As long as the difference between RSSI value and mean is less than the overall variance, take to determine the weight of size. On the contrary, it is . From (6) it can be drawn that the larger the difference, the smaller the weight.(3)Calculate the RSSI value after correcting. Let the RSSI value multiply with the weight values of themselves; then sum the multiplied values as the correction RSSI value. The formula is After correcting, formula (4) turns to
3.2. Weighted Least Square Method
Suppose that the coordinate of locomotive is and the coordinates of beacon nodes are , , where is the number of beacon nodes and . There are measurement equations, when each beacon node can communicate with the unknown node, which showed where and is measurement error. Formula (9) is linearized and both sides are squared
Define and : ; .
Formula (10) is turned to
Simplifying formula (11) we can obtain the following: where
The following is the least-square solution of formula (12): where is the inverse matrix of covariance matrix of Gaussian noise.
3.3. Correct Positioning Error
Because weighted least square method cannot correct some positioning error which is caused by some inaccurate date, estimated location must make further correction and calculate more precise location. The method is weighted distance correction. Estimate the position of beacon nodes as unknown nodes and then the difference of coordinates between estimated position and actual position as the positioning errors and give them appropriate weight. Finally calculate correction value. There are 3 steps.(1)Every beacon node is used as unknown node to estimate its own estimated position and calculate the error between estimated position and actual position. Suppose that the estimated position is which is calculated by the way of above. So the positioning error is (2)Determine the weights of localization errors of every beacon node. Because in the coal mine the closer the distance between beacon node and unknown node, the more similar of environment and the closer the positioning errors, its weight should be greater. The weights of beacon nodes which are involved in positioning are defined as follows: where is the distance from unknown node to beacon nodes. They are calculated by formula (8).(3)Calculate the final location coordinate. The correction values are obtained by multiplying formulae (15) and (16). Consider
So the final positioning coordinates of unknown node (locomotive) are
3.4. Select Better Beacon Nodes
Selected beacon node also has a great influence on the positioning error. A feature of the wireless signal is path loss when it is spread; the closer the distance between the node and locomotive, the smaller the path loss and the smaller the effect of various positioning error . Equation (4) shows that the RSSI value is greater when it has closer communication distance. So the beacon nodes of bigger RSSI value are selected. These beacon nodes have more decision power to the location of the locomotive that can improve the positioning precision of the algorithm. The specific process is as follows.(1)When the number of beacon nodes is larger or equal to 4 which is communication with the locomotive , arrange the RSSI values. Select ahead of () RSSI values as beacon nodes and involve in the calculation of the next step.(2)When , space some time and continue to signal until . Then execute step .
4. Process of Improved Algorithm
From the above analysis to improved algorithm for coal mine locomotive positioning, we can know that the process is divided into the following steps.(1)Before receive positioning signal, beacon nodes calculate their own positioning errors using formula (15). Then they wait for positioning.(2)After the positioning signal is emitted by locomotive, the nodes that can communicate with locomotive send the positioning errors which are calculated by step ; then the locomotive records them. Do it repeatedly and record RSSI values. These exact RSSI values of each node can be calculated by formula (7).(3)These RSSI values are arranged and select the number of RSSI which is larger than others as beacon nodes.(4)These RSSI values are translated into distance by formula (8). Then estimate the initial position of locomotive. At last determine the location of locomotive by formula (18).
5. Simulation and Experiment
Using MATLAB simulation platform for experiment, in order to make the simulation results more in line with the actual environment of locomotive, we selected a plane of and arranged nodes on both sides of the track. ZigBee technology is used as wireless communication technology. Because it shows low power consumption, low cost, short time delay, large network capacity, reliability, and security and can meet the need of mine. Suppose the initial coordinate of locomotive is , path attenuation factor is 3.5, takes −45 dB, is Gaussian distribution whose mean is 0, and standard deviation is 6. The speed of the locomotive is about 5 m/s. Six beacon nodes were in range of communication. Firstly, it will increase the communication and calculation time of locomotive. Secondly, it will cause more interference. The simulation is divided into the following three aspects.(1)Compare correction models of RSSI value. Compare ranging accuracy among statistical mean model, Gaussian model, and Gaussian-weighted model. If it has higher ranging accuracy, its correction of RSSI values is more precise. The result is shown in Figures 2 and 3. Figure 2 is a relationship between the number of RSSI of a single node and ranging error and communication radius is 20 m. The number of RSSI values of a single node has a great influence on ranging accuracy. When the number of RSSI value increases, the cost of the location is higher and the positioning accuracy increases. It can be seen from Figure 2 that the accuracy of the three models is increased, as the number of RSSI value increases, particularly within 100 the errors fall fastest. The Gaussian-weighted model has the highest ranging accuracy and the error decline is most obvious. When the number of RSSI values is more than 100, ranging error decreased slowly significantly and the positioning error of three models becomes closer. When the number of RSSI values is taken to 500, ranging error is very similar. From the above analysis, it is best to take 100 as the number of the RSSI values in this simulation. That costs less and the Gaussian-weighted model maintains high ranging accuracy. Figure 3 shows the comparison of ranging error of the three models. The number of the RSSI value of each node is 100. As can be seen from Figure 3, the error of statistical mean model is maximum and the maximum ranging error is 4.5 m, approximating 10% of measurement distance. The error of Gaussian-weighted model is minimum and the maximum ranging error is 3 m, approximating 7% of measurement distance. With the expansion of communication radius, ranging errors of three models are increased. The error of statistical mean models fluctuates bigger and grows faster than the other two models. In order to obtain more accurate data, we took the communication radius 20 m and did experiment repeatedly to calculate the average error. The specific data are shown in Table 1. The results can be taken from the experiment that the highest ranging precision is Gaussian-weighted model. Its average error is less than 1 m within communication radius of 20 m and maximum error does not exceed 2 m. The lowest ranging precision is statistical mean model. Its average ranging error already exceeds 2 m within the communication radius of 20 m. Gaussian model is between them; compared to the statistical mean model the error is more stable. So the most accurate correction model of RSSI value is Gaussian-weighted model and its error is more stable.(2)Comparison of positioning error. Firstly, compare positioning accuracy of statistical mean model, Gaussian model, and Gaussian-weighted models with or without weighted distance correction. The result is shown in Figure 4. Secondly, the positioning accuracies are compared with different numbers of the beacon nodes. The result is shown in Table 3. From Figure 4(a) it can be seen that the minimum positioning error is Gaussian-weighted model and with the increasing of communication radius it grows more stable. The maximum positioning error is statistical mean model and the error is not stable enough. Gaussian model is between the other two models and the error grows stable. Comparing the positioning error of Figures 4(a) and 4(b), it can be seen that if algorithm is corrected by weighted distance correction, it is more accurate than without correcting. Gaussian-weighted model is the best. At a communication radius of 40 m, error of Gaussian-weighted model is reduced 33%, while the statistical mean model and the Gaussian model are reduced 19% and 22%. The specific comparison data is shown in Table 2. In Table 3, communication radius is 20 m. From Table 3 it can be seen that positioning error is small when the number of beacon nodes increased. But with the increase of beacon nodes, the reduced amount of positioning error is decreased, particularly Gaussian-weighted model. This is because the amount of calculation of Gaussian-weighted model is larger than the Gaussian model and the statistical mean model. It will cost more time to perform the calculation when the beacon nodes are increased. So positioning error will become large when the locomotive is moving. From Table 3 and considering the cost, 6 is the most appropriate choice.(3)For comparison of positioning algorithm, compare these algorithms of literatures [6, 11–13] and this paper in the same environment; the simulation result is shown in Figure 5. As can be seen from Figure 5, the positioning accuracy of this paper is highest. The algorithm of literature  has high positioning accuracy within 25 m. Out of 25 m, its positioning grows faster than others. The other three algorithms have higher positioning error than this paper, but they are more stable than in the literature . The results of above experiment show that in the case of positioning error correction Gaussian-weighted model has highest positioning accuracy. The smaller the communication radius, the less the positioning error is. When the communication radius is 10 m, the positioning accuracy can be maintained at about 0.5 m.
(a) Without positioning error correction
(b) With positioning error correction
(1)This paper analyzes a number of factors of locomotive positioning errors for coal mine and proposes a coal mine locomotive positioning algorithm based on RSSI. Because the RSSI value in coal mine is very unstable, it is corrected by weighted-Gaussian model. This model combines the advantages of Gaussian model and weighted model. It has high ranging precision in the coal mine of harsh environment.(2)Just using weighted least square method to estimate the position of locomotive cannot reduce the impact of some inaccuracy dates effectively. Correcting the estimated position is necessary. This paper proposes a weighted distance correction method. The positioning errors of each beacon node are calculated using Gaussian-weighted model and weighted according to the distances from locomotive to the beacon node. The closer the distance is, the greater the weight is.(3)The algorithm which is proposed is simulated by MATLAB. The results of experiment show that Gaussian-weighted model is the best model. In the case of positioning error correction, positioning error is descendant while communication radius is the same and the minimum positioning error is less than 0.5 m.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work was financially supported by the National Natural Science Foundation of China (61070220 and 61170060), Anhui Provincial Natural Science Foundation of China (1408085ME110), Anhui Provincial Major Project of Colleges and Universities Natural Science (KJ2013ZD09), and Anhui Provincial Key Project of Colleagues and Universities Natural Science (KJ2012A096).
- M. D. Bedford and G. A. Kennedy, “Evaluation of ZigBee (IEEE 802.15.4) time-of-flight-based distance measurement for application in emergency underground navigation,” IEEE Transactions on Antennas and Propagation, vol. 60, no. 5, pp. 2502–2510, 2012.
- M. Lie, D. Enjie, F. Qiyan et al., “Underground moving target positioning and historical trajectory extraction based on Wi-Fi and WebGI,” Geography and Geo-Information Science, vol. 28, no. 3, pp. 109–110, 2013.
- H. Chi, K. Zhan, and B. Shi, “Automatic guidance of underground mining vehicles using laser sensors,” Tunnelling and Underground Space Technology, vol. 27, no. 1, pp. 142–148, 2012.
- Y. Gao, H. Sun, and Y. Yang, “The locomotive position system in coal pit based on the piezoelectric accelerometer,” Piezoelectrics and Acoustooptics, vol. 34, no. 5, pp. 782–784, 2012.
- Q.-Z. Zhang, S.-B. Zhang, J. Wang, and H.-F. Bian, “Low-cost GPS/INS in-motion alignment model for open-pit mine transport truck monitoring and dispatch system,” Journal of the China Coal Society, vol. 38, no. 8, pp. 1362–1367, 2013.
- D.-S. Han, W. Yang, Y. Liu, and Y. Zhang, “A weighted centroid localization algorithm based on received signal strength indicator for underground coal mine,” Journal of the China Coal Society, vol. 38, no. 3, pp. 522–528, 2013.
- X. Wang, S. Yuan, R. Laur, and W. Lang, “Dynamic localization based on spatial reasoning with RSSI in wireless sensor networks for transport logistics,” Sensors and Actuators, A: Physical, vol. 171, no. 2, pp. 421–428, 2011.
- R.-B. Zhang, J.-G. Guo, F.-H. Chu, and Y.-C. Zhang, “Environmental-adaptive indoor radio path loss model for wireless sensor networks localization,” International Journal of Electronics and Communications, vol. 65, no. 12, pp. 1023–1031, 2011.
- Z. Wei, Z. Lv, C. Yang, J. Han, and L. Shi, “Wireless positioning method based on correctness judgment of received signal strength for mine locomotive,” Chinese Journal of Scientific Instrument, vol. 35, no. 1, pp. 178–184, 2014.
- J.-W. Zhang, L. Zhang, Y. Ying, and F. Gao, “Research on distance measurement based on RSSI of ZigBee,” Chinese Journal of Sensors and Actuators, vol. 22, no. 2, pp. 285–288, 2009.
- G. Wan, J. Zhong, and C. Yang, “Improved algorithm of ranging and locating based on RSSI,” Application Research of Computers, vol. 29, no. 11, pp. 4156–4158, 2012.
- J.-Q. Xu, W. Liu, Y.-Y. Zhang, and C.-L. Wang, “RSSI-based anti-interference WSN positioning algorithm,” Journal of Northeastern University, vol. 31, no. 5, pp. 647–650, 2010.
- W. Tao, Y. Zhu, and Z. Jia, “A distance measurement algorithm based on RSSI hybrid filter and least square estimation,” Chinese Journal of Sensors and Actuators, vol. 25, no. 12, pp. 1748–1753, 2012.
- J. Zheng, C. Wu, H. Chu, and Y. Xu, “An improved RSSI measurement in wireless sensor networks,” Procedia Engineering, vol. 15, pp. 876–880, 2011.
- G. Blumrosen, B. Hod, T. Anker, D. Dolev, and B. Rubinsky, “Enhanced calibration technique for RSSI-based ranging in body area networks,” Ad Hoc Networks, vol. 11, no. 1, pp. 555–569, 2013.
- X. Luo, W. J. O’Brien, and C. L. Julien, “Comparative evaluation of received signal-strength index (RSSI) based indoor localization techniques for construction jobsites,” Advanced Engineering Informatics, vol. 25, no. 2, pp. 355–363, 2011.
Copyright © 2015 Bin Ge et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.