<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2021.93008</article-id><article-id pub-id-type="publisher-id">JCC-108072</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Hybrid Location Algorithm Based on Cuckoo and Statistical Manifold
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xiaofeng</surname><given-names>Qin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bin</surname><given-names>Xia</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Liye</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xianzhi</surname><given-names>Zheng</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Computer Science and Technology, Shandong University of Technology, Zibo, China</addr-line></aff><pub-date pub-type="epub"><day>26</day><month>02</month><year>2021</year></pub-date><volume>09</volume><issue>03</issue><fpage>110</fpage><lpage>117</lpage><history><date date-type="received"><day>8,</day>	<month>February</month>	<year>2021</year></date><date date-type="rev-recd"><day>27,</day>	<month>March</month>	<year>2021</year>	</date><date date-type="accepted"><day>30,</day>	<month>March</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  To improve the location accuracy, a hybrid location algorithm based on cuckoo and statistical manifold method is proposed. It combines the cuckoo algorithm's strong global optimization ability and the statistical manifold
  ’
  s accurate positioning ability fully. The simulation results show that the hybrid location algorithm has higher accuracy and reduces the influence of initial value selection on location accuracy.
 
</p></abstract><kwd-group><kwd>Hybrid Location Algorithm</kwd><kwd> Statistical Manifold Method</kwd><kwd> Cuckoo Algorithm</kwd><kwd> Location Accuracy</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The key of location service application for wireless sensor network is to obtain the accurate location of the node. For example, the location information of the node plays an important role in robot [<xref ref-type="bibr" rid="scirp.108072-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref3">3</xref>], modern agriculture [<xref ref-type="bibr" rid="scirp.108072-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref5">5</xref>] and other fields. Therefore, improving the location accuracy is very important for the location service application. The disadvantage of traditional statistical manifold [<xref ref-type="bibr" rid="scirp.108072-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref9">9</xref>] localization algorithm is that the location information between unknown nodes is not fully considered, which leads to incomplete location information and low location accuracy. Thus, an improved statistical manifold localization algorithm [<xref ref-type="bibr" rid="scirp.108072-ref10">10</xref>] which fully uses all the location information between unknown nodes is presented. Although the improved algorithm improves the location accuracy, its location accuracy depends heavily on the initial value. Meanwhile, the cuckoo algorithm [<xref ref-type="bibr" rid="scirp.108072-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.108072-ref15">15</xref>] is a new intelligent bionic algorithm based on the cuckoo’s Levy flight and parasitic breeding mechanism, which can provide a good initial value for the improved statistical manifold algorithm. In view of this, a new hybrid location algorithm is proposed in this paper, which makes full use of the global optimization ability of the cuckoo algorithm and the high-precision location ability of the statistical manifold algorithm to optimize the overall location performance.</p></sec><sec id="s2"><title>2. Cuckoo Algorithm</title><p>Cuckoo algorithm [<xref ref-type="bibr" rid="scirp.108072-ref16">16</xref>] is a population intelligent optimization algorithm. Its core idea is to expand the search scope and search the optimal solution through the Levy flight and parasitic breeding mechanism of the cuckoo.</p><p>Suppose that the cuckoo algorithm satisfies the following three conditions:</p><p>1) Each cuckoo can only lay one egg at a time, and the nest chosen for storage is random.</p><p>2) In the process of randomly searching for available nests, the best nest to keep the eggs was selected.</p><p>3) Let the probability of cuckoo eggs being found by the nest host be P. When the exotic eggs are found, the host will abandon the nest and find another place to rebuild the nest.</p><p>Assuming the above three conditions are satisfied, the updating formula of the nest’s location is as follows:</p><p>X n ( t + 1 ) = X n ( t ) + a ⊕ L ( λ ) , n = 1 , 2 , ⋯ , N (1)</p><p>where X n ( t ) represents the nth nest’s position of the tth generation; X n ( t + 1 ) represents the nest’s position of the new generation; ⊕ represents the point-to-point multiplication operation; α is used to define the search range of the step size, and its value follows the normal distribution; L ( λ ) represents the flight path.</p></sec><sec id="s3"><title>3. Location Algorithm Based on Statistical Manifold</title><p>In the location region, ( x i , y i ) , i ∈ ( 1 , 2 , ⋯ , I ) is the location of the unknown node and ( u k , v k ) , k ∈ ( 1 , 2 , ⋯ , K ) is the location of the anchor node. According to the measurement distance between the unknown node and all nodes, the location model is established</p><p>{ d ′ i , j = ( x i − x j ) 2 + ( y i − y j ) 2 + e ′ i , j , i &lt; j , i = 1 , 2 , ⋯ , I ; j = 2 , 3 , ⋯ , I } Distancebetweenunknownnodes d i , k = ( x i − u k ) 2 + ( y i − v k ) 2 + e i , k , i = 1 , 2 , ⋯ , I ; k = 1 , 2 , ⋯ , K } Distancebetweenunknownnodeandanchornode (2)</p><p>where d ′ i , j and ( x i − x j ) 2 + ( y i − y j ) 2 represent the measurement distance and the true distance between the unknown node ( x i , y i ) and the unknown node ( x j , y j ) respectively; e ′ i , j represents the measurement error. d i , k and</p><p>( x i − u k ) 2 + ( y i − v k ) 2 represent the measurement distance and the true distance between the unknown node ( x i , y i ) and the anchor node ( u k , v k ) respectively; e i , k represents the measurement error.</p><p>Let X = [ x 1 , y 1 , ⋯ , x I , y I ] T and d = [ d 11 , d 12 , ⋯ , d I , K , d ′ 1 , 2 , d ′ 1 , 3 , ⋯ , d ′ ( I − 1 ) , I ] T , so the location model can be expressed as</p><p>d = Φ ( X ) + e       ( e ~ N ( 0 , Σ w ) ) (3)</p><p>where Σ w is the covariance matrix of the measurement error. The distribution of location model in (3) can be arranged into the form of bending index distribution</p><p>p ( d / X ) = exp { C ( d ) + θ T ( X ) F ( d ) − φ ( θ ( X ) ) } = p ( d / θ ( X ) ) (4)</p><p>where θ ( X ) is the natural parameter; F ( d ) is the sufficient statistic of θ ( X ) ; φ ( θ ( X ) ) is the potential function of the distribution. Through the iterative calculation of the following formula, the estimated location can be obtained [<xref ref-type="bibr" rid="scirp.108072-ref10">10</xref>]</p><p>X ( k + 1 ) = X ( k ) + λ G − 1 ( X ( k ) ) ∇ θ T ( X ( k ) ) &#215; [ F ( d ) − η ( X ( k ) ) ] (5)</p><p>where λ is the iteration step; G ( X ) is the metric tensor of the manifold; η ( X ) is the expected parameter of the distribution.</p></sec><sec id="s4"><title>4. Hybrid Location Algorithm</title><p>The hybrid algorithm based on cuckoo and statistical manifold improves the positioning accuracy by taking advantage of all the distance information. Firstly, the cuckoo algorithm is used to obtain the initial values of all unknown nodes. Then, based on the initial values, the statistical manifold algorithm is used to obtain the final values. The specific steps are as follows:</p><p>Step 1. Let i = 1.</p><p>Step 2. Assume that the number of nests is N, and the position of the nth nest is X n ( l ) = ( x n ( l ) , y n ( l ) ) . The corresponding fitness function is defined as:</p><p>F n ( l ) = ∑ k = 1 K ( x n ( l ) − u k ) 2 + ( y n ( l ) − v k ) 2 − d n , k 2</p><p>where l is the iteration number, ( u k , v k ) is the coordinate of the kth anchor node, and d n , k is the distance from the nth nest to the kth anchor node.</p><p>Step 3. Calculate the fitness value corresponding to the nest’s location, and search the best location X ∗ .</p><p>Step 4. A new nest’s location X n ( l + 1 ) is generated by Levy flight mode, and the optimal location x ∗ is obtained according to the corresponding fitness value F n ( l + 1 ) .</p><p>Step 5. The new nest’s location generated by random walk mode replaces the bad nest’s location discarded by probability p. Then, update the nest’s location of the new generation, and search the optimal location x ∗ .</p><p>Step 6. Compare the fitness value F n ( l + 1 ) of the new generation with that of the best location X ∗ . If the fitness value of the new generation is better, replace the location X ∗ with the location x ∗ .</p><p>Step 7. Keep the best nest’s location. If the number of iterations is reached, proceed to the next step; otherwise, go to step 4.</p><p>Step 8. If all the unknown nodes have been calculated, proceed to the next step; otherwise, turn to step 2 and calculate the initial location of the i + 1 th unknown node.</p><p>Step 9. The initial value ( x ^ 1 , y ^ 1 , ⋯ , x ^ I , y ^ I ) of all unknown nodes is obtained by cuckoo algorithm, and then the iteration step is λ , set k = 0 .</p><p>Step 10. Iteration loop.</p><p>while e ( k ) &gt; ε</p><p>X ( k + 1 ) = X ( k ) + λ [ ∇ X Φ ( X ( k ) ) ] − 1 [ d − Φ ( X ( k ) ) ] (6)</p><p>G ( X ( k + 1 ) ) = ∇ X T Φ ( X ( k + 1 ) ) Σ w − 1 ∇ X Φ ( X ( k + 1 ) )</p><p>e ( k + 1 ) = ‖ X ( k + 1 ) − X ( k ) ‖ , k + 1 → k</p><p>end</p><p>The final iteration result according to formula (6) is the estimated location. Using the proposed method, the location of all unknown nodes can be calculated simultaneously. The flow chart of the hybrid algorithm is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p></sec><sec id="s5"><title>5. Analysis of Simulation Results</title><p>In order to demonstrate the performance of the proposed method, we perform a</p><p>simulation study, and the simulation parameters are shown in <xref ref-type="table" rid="table1">Table 1</xref>. The location error is defined as</p><p>∑ i = 1 I ( x ^ i − x i ) 2 + ( y ^ i − y i ) 2 / I</p><p>where ( x ^ i , y ^ i ) is the estimated location of the unknown node.</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows the influence of the variance of the measurement error on the location error. As can be seen from <xref ref-type="fig" rid="fig2">Figure 2</xref>, the hybrid algorithm uses the initial value provided by the cuckoo positioning, which leads to its location error is significantly smaller than that of the other two algorithms.</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the influence of the nest number on the location error. Under the condition of the same nest number, the location accuracy of the hybrid algorithm is better than that of the cuckoo algorithm. With the increase of the nest number, the location error of the two algorithms decreases significantly. For example, the location error of the hybrid algorithm tends to be stable when nest number increases to 4.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Simulation parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Simulation parameters</th><th align="center" valign="middle" >Setup</th></tr></thead><tr><td align="center" valign="middle" >Simulation area</td><td align="center" valign="middle" >20 m &#215; 20 m Square area</td></tr><tr><td align="center" valign="middle" >Node</td><td align="center" valign="middle" >Random distribution</td></tr><tr><td align="center" valign="middle" >Number of unknown nodes</td><td align="center" valign="middle" >20</td></tr><tr><td align="center" valign="middle" >Number of anchor nodes</td><td align="center" valign="middle" >4</td></tr><tr><td align="center" valign="middle" >Step size</td><td align="center" valign="middle" >0.2</td></tr><tr><td align="center" valign="middle" >Probability of discovery</td><td align="center" valign="middle" >0.25</td></tr><tr><td align="center" valign="middle" >Nest number</td><td align="center" valign="middle" >20</td></tr><tr><td align="center" valign="middle" >Measuring distance error</td><td align="center" valign="middle" >Obey the Gaussian distribution with mean 0 and variance σ 2</td></tr></tbody></table></table-wrap><p><xref ref-type="fig" rid="fig4">Figure 4</xref> shows the influence of the maximum iteration number on the location error. Under the condition of the same iteration number, the location accuracy of the hybrid algorithm is better than that of the cuckoo algorithm. With the increase of the maximum iteration number, the location error of the two algorithms decreases significantly. For example, when the maximum iteration number increases to 20, the location error of the cuckoo algorithm tends to be stable.</p></sec><sec id="s6"><title>6. Conclusion</title><p>A hybrid location algorithm based on cuckoo and statistical manifold method is proposed, which fully uses all the location information between unknown nodes. The simulation results show that the hybrid localization algorithm can reduce the impact of ranging error on the positioning accuracy.</p></sec><sec id="s7"><title>Acknowledgements</title><p>This work was supported in part by the National Natural Science Foundation of China under Grant 62001272, in part by Shandong Provincial Natural Science Foundation, China (ZR2019BF022).</p></sec><sec id="s8"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s9"><title>Cite this paper</title><p>Qin, X.F., Xia, B., Zhang, L.Y. and Zheng, X.Z. (2021) Hybrid Location Algorithm Based on Cuckoo and Statistical Manifold. Journal of Computer and Communications, 9, 110-117. https://doi.org/10.4236/jcc.2021.93008</p></sec></body><back><ref-list><title>References</title><ref id="scirp.108072-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wu, P., Luo, Q. and Kong, L. (2017) Cooperative Localization of Network Robot System Based on Improved MPF. IEEE International Conference on Information &amp; Automation, Macau, 18-20 July 2017, 796-800.  
https://doi.org/10.1109/ICInfA.2016.7831928</mixed-citation></ref><ref id="scirp.108072-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Qin, M., Wan, X., Shao, Y. and Li, S. (2018) The Comparison between FTF-VO and MF-VO for High Accuracy Mobile Robot Localization. 2018 International Conference on Robots &amp; Intelligent System (ICRIS), Changsha, 26-27 May 2018, 48-51.  
https://doi.org/10.1109/ICRIS.2018.00020</mixed-citation></ref><ref id="scirp.108072-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hafez, O.A., Arana, G.D., Chen, Y., Joerger, M. and Spenko, M. (2020) On Robot Localization Safety for Fixed-Lag Smoothing: Quantifying the Risk of Misassociation. 2020 IEEE/ION Position, Location and Navigation Symposium (PLANS), Portland, 20-23 April 2020, 306-317.  
https://doi.org/10.1109/PLANS46316.2020.9110126</mixed-citation></ref><ref id="scirp.108072-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Lian, J., Wang, D. and Hui, X. (2012) Intelligent Search Algorithm for Modern Tobacco Agriculture. Proceedings of the 10th World Congress on Intelligent Control and Automation, Beijing, 6-8 July 2012, 823-826.  
https://doi.org/10.1109/WCICA.2012.6357992</mixed-citation></ref><ref id="scirp.108072-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Mekala, M.S. and Viswanathan, P. (2017) A Novel Technology for Smart Agriculture Based on IoT with Cloud Computing. 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, 10-11 February 2017, 75-82. https://doi.org/10.1109/I-SMAC.2017.8058280</mixed-citation></ref><ref id="scirp.108072-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, Y.Q., Wang, X.Z., Caelli, T., Li, X. and Moran, B. (2011) Optimal Nonlinear Estimation for Localization of Wireless Sensor Networks. IEEE Transactions on Signal Processing, 59, 5674-5685. https://doi.org/10.1109/TSP.2011.2166547</mixed-citation></ref><ref id="scirp.108072-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, Y.Q. (2012) Information Theory and Geometric Methods of Radar Signal Processing. Ph.D. Dissertation, University of Defense Technology, Changsha, 118-120.</mixed-citation></ref><ref id="scirp.108072-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Akaho, S., Hino, H. and Murata, N. (2019) On a Convergence Property of a Geometrical Algorithm for Statistical Manifolds. 26th International Conference, ICONIP 2019, Sydney, 12-15 December 2019, Part V, 262-272.  
https://doi.org/10.1007/978-3-030-36802-9_29</mixed-citation></ref><ref id="scirp.108072-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Cui, P., Wang, X. and Yang, Y. (2020) Statistics Manifold Learning Approach and Its Application to Non-Gaussian Process Monitoring. Chinese Control Conference, Shenyang, 27-29 July 2020, 4054-4059.  
https://doi.org/10.23919/CCC50068.2020.9189523</mixed-citation></ref><ref id="scirp.108072-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Xia, B., Yuan, W.H., Xie, N. and Liu, Q. (2018) A Localization Algorithm Based on Statistical Manifold. Journal of Huazhong University of Science and Technology (Natural Science Edition), 46, 21-24.</mixed-citation></ref><ref id="scirp.108072-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, J. and Xia, L. (2016) An Effective Cuckoo Search Algorithm for Node Localization in Wireless Sensor Network. Sensors (Switzerland), 16, 1390.  
https://doi.org/10.3390/s16091390</mixed-citation></ref><ref id="scirp.108072-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M. (2017) Source Localization Using TDOA and FDOA Measurements Based on Modified Cuckoo Search Algorithm. Wireless Networks, 23, 487-495.  
https://doi.org/10.1007/s11276-015-1158-y</mixed-citation></ref><ref id="scirp.108072-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, L.P., Peng, F., Cao, P. and Ji, W.J. (2017) An Improved Three-Dimensional DV-Hop Localization Algorithm Optimized by Adaptive Cuckoo Search Algorithm. International Journal of Online Engineering, 13, 102-118.  
https://doi.org/10.3991/ijoe.v13i02.6358</mixed-citation></ref><ref id="scirp.108072-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Niu, G., Gao, J. and Du, T.H. (2020) Passive Radar Source Localization Based on Cuckoo Search NVTDOA. International Journal of Antennas and Propagation, 2020, Article ID: 1410692. https://doi.org/10.1155/2020/1410692</mixed-citation></ref><ref id="scirp.108072-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Abd EI Aziz, M. (2017) Source Localization Using TDOA and FDOA Measurements Based on Modified Cuckoo Search Algorithm. Wireless Networks, 23, 487-495.  
https://doi.org/10.1007/s11276-015-1158-y</mixed-citation></ref><ref id="scirp.108072-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Yang, X.S. and Deb, S. (2009) Cuckoo Search via Lévy Flights. World Congress on Nature and Biologically Inspired Computing, Coimbatore, 9-11 December 2009, 210-214. https://doi.org/10.1109/NABIC.2009.5393690</mixed-citation></ref></ref-list></back></article>