The dynamic characteristics and optimization of a cutting mechanism about aluminum electrolytic capacitor casing machine were investigated with a lumped mass-spring damper model in this paper. In the lumped mass-spring damper model, compliance of the links and effects of mechanism position on deformable transfer relationship are taken into account. Besides, torsional and bending vibrations of camshaft are also considered. Cam profile is an important input excitation of the cutting mechanism and has important influence on the dynamic performance. Therefore, optimization of cam profile was also studied based on the dynamic model and B-spline. Acceleration fluctuations were significantly reduced after the optimization.