For cam machining drive system driven by the linear motor, in many machining applications, generally the system has tracking ability of a periodic trajectory, and rejection ability of a periodic dis- turbance. According to the periodic motion characteristic of the linear motor servo system, a practical plug-in type repetitive controller was designed according to the repetitive control theory based on inner model principle. It eliminated the system error caused by the periodic input fundamental wave and har- monic wave, to reduce the system periodic steady-state tracking error. In order to further improve the per- formance of the controller, and effectively increase the operating bandwidth, a modified plug-in type re- petitive controller was designed. It reduced the tracking error of the system, and made the system track- ing performance improved. Finally, the linear servo motor driven cam machining center was studied, and the simulation results show that the proposed control scheme improves the system tracking performance and robust performance, and effectively inhibits system periodic perturbation effects, and accurately track the periodic input signal.