In the spacecraft formation task, a spacecraft failure or formation of the mission to change the need for reconstruction of the formation. In the process of reconstruction, how to carry out spacecraft anti-collision has been widespread concern. In this paper, barrier theory is adopted. By establishing Hamilton function, the optimal control law is obtained. According to the theory of barrier
... [Show full abstract] construction, the corresponding barrier trajectory is constructed. Then, the barrier is divided into collision area and non-collision area, so as to realize the formation flight anti-collision design. The simulation results show that the method can avoid the perturbation effect and has a certain theoretical value for the anti-collision between the spacecrafts during the formation process. © 2018, Editorial Board of Journal of Northwestern Polytechnical University. All right reserved.