The control problem of multi-robots system in obstacles environment was researched. The low-power infrared sensors were used to perceive surroundings according to the characteristic of small size of micro-robot, and the values of sensors were employed to transform to the obstacles positions. The safety disk of each robot was set and an obstacle avoidance path planning algorithm was proposed to realize motion control of the robots without collision based on artificial bee colony algorithm. The effectiveness of this control method is verified by simulation results.