In order to meet security requirements of space on orbit service, an obstacle avoidance trajectory planning method using improved particle swarm optimization had been presented in this paper. On the basis of the actual overall structure of 7 degrees of freedom redundant space manipulator and the characteristics of obstacles, the envelope method was used to model the arm and obstacles, respectively. The limit conditions to avoid the collision between them were analyzed. Then, the fitness function under the symmetrical conditions of avoiding the collision and searching for the shortest trajectory was constructed. In addition, the obstacle avoidance trajectory planning was solved based on improved particle swarm optimization (IPSO). Finally, simulation experiments were carried out to prove its effectiveness and rationality, where there were symmetrical advantages in two aspects. It can be concluded that the presented method based on IPSO has strong robustness.