A new design method for binary phase grating used as array generator is presented and the effects of fabrication errors on the efficiency of the grating are investigated. As a example
a phase grating made by using film deposition was tested and the results agree with the theoretical analysis.