Abstract:Due to the large number of low earth orbit (LEO) constellation satellites, it is difficult to maintain the time synchronization accuracy of the constellation for a long time on the premise of ensuring low cost. To solve this problem, a distributed time synchronization architecture based on the inter-satellite laser links to achieve the whole constellation packet synchronization was proposed, and on this basis, a satellite clock configuration and packet synchronization method based on the improved k-means algorithm was put forward. Four types of constellation configurations were constructed and the original k-means algorithm, k-mediods algorithm and the improved k-means algorithm were respectively adopted for simulation to achieve grouped time synchronization of the constellations. The results show that the k-mediods algorithm fails to solve the problem that the original k-means algorithm tends to fall into local optimization, while the improved k-means algorithm can better solve it. Furthermore, its final synchronization error of the whole network is superior to that of both the original k-means algorithm and the k-mediods algorithm. For the four constellations, the final overall network error of the original k-means algorithm was reduced by 9.13%, 8.05%, 16.16% and 17.24% compared with the initial overall network error, respectively; the corresponding reductions for the k-mediods algorithm are 10.59%,8.32%,17.60% and 18.92%; while the improved k-means algorithm achieves reductions of 20.95%, 20.23%, 23.02% and 23.18%. Furthermore, its time synchronization performance is also superior to that of both the original k-means algorithm and the k-mediods algorithm.