Numerically controlled grinder

The invention relates to a numerically controlled grinder for forming and grinding an intermediate shaft channel of a rzeppa coupling. A numerical control system is respectively connected with servo motors and a stepping motor. A servo motor 1, a servo motor 2 and a servo motor 3 are respectively arranged on a grinding head frame, a stand column and a grinder body pedestal to respectively realize linear motion of the numerical control system in the Z direction, the X direction and the Y direction. A servo motor 4 is connected with a dividing mechanism to realize numerical control division or axial rotation of a workpiece; the stepping motor is connected with a trimmer to realize gyroscopic motion of a diamond pen; a grinding wheel spindle is driven by a grinding head motor to provide grinding main movement; the numerically controlled grinder is provided with a semi-closed shield, an air draft and dedusting system and a cooling and circulating system; and the servo motors are driven by a four-axis linkage numerical control system, and the stepping motor and the four-axis linkage numerical control system are controlled by a program controller. The invention is widely applied to carrying out ground finish on various curved surfaces of metal parts. In the invention, motion and positioning of the components can be numerically controlled and operated, the automation degree is high, the grinding wheel dressing precision is high, the working surface is smooth, the workpiece division accuracy is accurate, the labour environment can be improved and the labour intensity can be reduced.