Focusing on the singularities of a spacecraft using control moment gyros(CMGs)to do the large angle maneuvers,a new mixture steering law is proposed to avoid the singularities.According to this method,if the CMGs are far away from the singularity,the Moore-Penrose pseudo-inverse steering law(MP)is used directly.If the CMGs are close to the singularity,instead of solving the inverse matrix,a set of optimal gimbal angles are sought for the singular measurement to reach the maximum,which can avoid the singularities.Simulations show that the designed steering law enables the spacecraft to carry out the large angle maneuver and avoid the singularities simultaneously.