Using traditional five-interferogram algorithm to unwrap phase for length measurement, the phase steps must be equal to \pi/2 exactly, but it is almost impossible to achieve in nanometer positioning technique. Aiming to overcome this defect of tradit