{'fraction_non_alphanumeric': 0.032114183764495985, 'fraction_numerical': 0.012326656394453005, 'mean_word_length': 4.631050228310502, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Weighted Centroid Correction Localization in Cellular Systems

Problem statement: There is a large demand for wireless Location-Based Service (LBS) and it is provided by many wireless cellular systems. In process of positioning a Mobile Station (MS), the computing speed is as important as the positioning accuracy and the algorithm should also be resistant to environmental influences. Approach: A new positioning method based on Weighted Centroid Correction Localization (WCCL) for wireless cellular systems is introduced in this article. Firstly, referring to the receiving-state of an MS in cellular systems, it computes a weighted centroid of surrounding Base Stations (BSs) as a rough approximate position of the MS. Then, according to the distances between the MS and the BSs being less or bigger than the computed distances between the BSs and the weighted centroid, it corrects the coordinate of the weighted centroid towards the directions of the BSs by moving it closer or farther in turn. Results: According to our experiments, WCCL improves the positioning accuracy, as well as to provide a better resistance to environmental influences. Conclusion: As a modified centroid-based localization algorithm, WCCL obtains weighting factors from the receiving-state of MS in multi-cells structured cellular systems and obtains a better positioning result in cellular systems without updating the network equipment. Therefore, for the cellular positioning problem, WCCL algorithm can be an alternate solution.


INTRODUCTION
There is a large demand for wireless Location-Based Service (LBS) and it is provided by many wireless cellular systems (Reed et al., 1998;Drane et al., 1998;Basi and Murthy, 2004). In process of positioning a Mobile Station (MS), the computing speed is as important as the positioning accuracy and the algorithm should also be resistant to environmental influences.
Cell-ID method is the first cellular positioning technology applied to commercial services. It adopts the coordinate of the Base Station (BS) which has the strongest signal strength as the position of the mobile station, but it only has a low accuracy (Caffery and Stuber, 1998;Drane et al., 1998). Another positioning method is the triangle algorithm, which obtains the positioning coordinate of an MS by solving a linear least-square problem based on the distances between the MS and surrounding BSs (Luo and Wu, 2010;Zheng et al., 2008). However, the positioning accuracy of the triangle method is very sensitive to the precision of measured distances.
In order to obtain a better positioning result, other positioning technologies are developed in recent years, such as assisted GPS, Arrival Of Angle (AOA), Time Of Arrival/Time Difference Of Arrival (TOA/TDOA) (Caffery and Stuber, 1998;Drane et al., 1998). The positioning technology based on the assisted GPS or AOA needs to deploy the special hardware (GPS chip or antenna array) in an MS or a BS. If a non-synchronous system tries to locate an MS via TOA/TDOA, it needs to deploy Location Measurement Unit (LMU) to improve the timing capability and the MS also must be upgraded. Another disadvantage, they usually take much more time to respond the request of the positioning because of their complex computing process. Therefore, we need to investigate a simple and efficient method to improve the positioning accuracy with less time cost, as well as to provide a better resistance to environmental influences. The weighted centroid-based localization algorithm is a good backup approach because of its simplicity and efficiency, on the recent advancement of this class of positioning methods, one can refer to (Blumenthal et al., 2007) for the Weighted Centroid Localization (WCL), (Behnke and Timmermann, 2008) for the adaptive WCL (AWCL), (Schuhmann et al., 2010) for the improved WCL (IWCL) and so on.

MATERIALS AND METHODS
In this study, we proposed a new localization algorithm for wireless cellular systems, which is called the Weighted Centroid Correction Localization (WCCL). Compared with other weighted centroidbased algorithms, the different characteristic of WCCL is that its weighting factors are obtained from the receiving-state of an MS in multi-cells structured cellular systems. In order to improve the positioning accuracy of an MS, we use the distances between the MS and surrounding BSs to correct its primary computed position.
In wireless cellular systems, directional antennas are widely deployed and every BS usually has three or four directional antennas and each antenna aims toward different direction (Takai et al., 2002;Vasquez and Hao, 2001). We usually use a cell to express the electromagnetic wave transmitted by an antenna. If an MS is in the coverage of a BS, it may receive signals from multi-cells of that BS. We call those cells as Effective Cells (ECs) and call that BS as an Effective Base Station (EBS).
If an isolated BS has three directional antennas which aim to three different directions with the spacing of 120° respectively, the coverage of three antennas overlap each other in some regions. We divided the coverage of a BS into several regions which are marked by A-G, as depicted in Fig. 1.
The coverage radius of main lobe R 3 is bigger than back-lobe's coverage radius R 1 since the gain of an antenna's main-lobe is stronger than that of back-lobe. R 2 is a boundary of the two types of regions, where an MS can receive signals from two antennas or one antenna. Therefore, the receiving-states of an MS in different regions A-G are listed in Table 1.
From Table 1, we can conclude that the number of effective cells is 3 when an MS is in a region of R 1 and the number of effective cells is 2 if the distance between the MS and the BS ranges from R 1 -R 2 and the number of effective cells is 1 if the MS is beyond the region of R 2 but still in the coverage of the BS. In a cellular system, in order to guarantee the continuous coverage of a network and the successful Fig. 1: The analysis of a base station's coverage handover of an MS, the spacing between BSs is usually set within the range from R 2 -R 3 . Therefore, we take the number of effective cells of a BS as a weighting factor of that BS. This basic feature is important for WCCL.
Publicized algorithms of the centroid location methods use the centroid to calculate the position of an MS (Blumenthal et al., 2007;Schuhmann et al., 2010;Bulusu et al., 2000). For example, an MS receives signals from multi-cells at the position M (x,y) and the cells belong to BSs with positions of B i (x,y) (i=1,2,…,n.), then the approximated position M'(x,y) of the MS can be calculated by Eq. 1: The positioning error e is defined as the distance between the exact position M(x,y) and the approximated position M' (x, y) of an MS by Eq. 2: A centroid location method only uses the average of the coordinates of BSs to approximate the location of an MS. A WCL (Blumenthal et al., 2007) uses the weighted coefficients to ensure an improved localization which is formulated by Eq. 3: where the weight w i is defined by: i (d =distance between MS and BS , g=degree) In order to improve the positioning accuracy, we give a new centroid-based localization algorithm, i.e., the Weighted Centroid Correction Localization (WCCL). Its weighted factor w' i is obtained from the receiving-state of an MS in multi-cells structured cellular systems. The approximated weighted centroid M wc (x,y) is computed by Eq. 5, where the weight of the i-th BS w' i equals the number of effective cells which belong to that BS: Then, according to the distance d i between the i-th BS B i (x,y) and the MS M(x,y) being less or bigger than the computed distance d' i between that BS B i (x,y) and the weighted centroid M wc (x,y), we correct the coordinate of the weighted centroid towards the direction of the i-th BS by moving it closer or farther. The above process is executed for every the effective base station by turns. Therefore, the final corrected position M wcc (x,y) is obtained by: where, v n is a correcting factor which relates with the number of effective base stations.

RESULTS
In order to verify the performance of positioning methods in real cellular network, we choose a region with 4×2 km around Jinmen Bridge in Haidian District Beijing China as a test environment. The test mobile station moves along seven main roads which are indicated in Fig. 2. Those test experiments were performed in a GSM network and we obtained 3744 valid test points.  The test mobile station can receive wireless signals from seven cells at most, some of which may belong to same BSs. We divided those test points into four classes according to the Num of EBSs and the different classes of test points are marked by different colors in Fig. 2, respectively. Their statistical results are listed in Table 2.
Positioning error is the geometric distance between the exact position M(x,y) and the approximated position M wcc (x,y) of an MS computed by (5-6). We chose the parameters v 2 = 0.5, v 3 = 0.5 and v i = 0.4 (i = 4, 5, 6, 7) in (6). The Cumulative Distribution Function (CDF) of the positioning error by WCCL in experimental model is shown by Fig. 3 and the positioning error achieves 120 meters with the successful positioning probability of 67%.

DISCUSSION
The distance d i between an MS and the i-th BS is very important for triangle algorithm, WCL and WCCL. Because of multipath and non-light-of-sight parameters, the estimating error is inevitably. We denote the exact distance between an MS and the i-th base station as d 0i and the estimating error Δd i reflects the deviation level from d 0i to d i , which is obtained by: The precision of the estimated distance affects the accuracy of positioning. Therefore a good positioning algorithm should be resistant to environmental influences as well as imprecise distances. In order to quantify environmental impacts, we propose a parameter R Δdmax defined by (8), which is called the maximum relative error rate of estimated distance: In order to compare WCCL with other popular positioning algorithms, we estimate the coordinates of all the test points with more than two EBSs, by cell-ID, CL, WCL, WCCL and the triangle algorithm, respectively. Figure 4 illustrates the positioning errors with the probability of 67% by different localization algorithm in our experimental model and the curves show the trends of positioning errors by different localization algorithms, which change with the increasing of R Δdmax .
From Fig. 4, owing to the absence of distance information in localization computing, we find that cell-ID and CL can only roughly localize the coordinate of an MS with low precision. The triangle algorithm can obtain a good positioning result if the distance estimating error is low and the positioning error will deteriorate sharply with the increasing of R Δdmax . Therefore, the triangle algorithm cannot be resistant to environmental influences.
WCL algorithm improves the positioning accuracy of an MS and the positioning error can be reduced to almost a half from CL with the probability of 67% and also be resistant to the increasing of R Δdmax . As a new centroid-based localization algorithm, WCCL obtains weighting factor w' i from the receivingstate of an MS in multi-cells structured cellular systems which is discussed in the second section and uses the distances between the MS and BSs to correct the approximated weighted centroid. As is illustrated in Fig. 4, WCCL algorithm can reduce the positioning error by near 30% from WCL with the probability of 67% and Fig. 4 also shows that the position accuracy of WCCL is not sensitive to the maximum relative error R Δdmax . Before R Δdmax increases to 0.5, the positioning result of WCCL is always much better than that of WCL.

CONCLUSION
In comparison with several other popular positioning methods, WCCL obtains a better positioning result in cellular systems and it also shows a good resistance to environmental influences. Furthermore, WCCL can be easily implemented in a wireless cellular system and it does not need to update the equipment of the network or MS. Therefore, for the cellular positioning problem, WCCL algorithm can be an alternate solution. and Grant BUPT2009RC0118 from the Fundamental Research Funds for the Central Universities.