To improve the efficiency of tooth surface homogenization adjustment in gear grinding stage,an intelligent calculation method of multi-constraint adjustment based on MATLAB is proposed.According to the data of full-tooth scanning report,the maximum and minimum contained tooth surface equations of each tooth surface are established.The tooth surface transformation equation is established through end face adjustment(end face adjustment amplitude and phase)and radial adjustment(radial adjustment amplitude and phase).By MATLAB programming,the optimal solution is obtained,and the variation of the extreme value(maximum and minimum)of the allowance between the contained tooth surface and the reference tooth surface is found.According to the actual engineering application,the constraint conditions are set as follows:ensuring that each tooth surface meets the minimum grinding allowance required by the process;the first stage head of carburized layer depth meeting the design requirements after grinding the maximum allowance;the fluctuation of gear grinding allowance being as uniform as possible.The accuracy of MATLAB program is verified by three-dimensional model.