At first, after comparing the working method of puncturing mud dragon with impact spears which tracks can be controlled, the pneumatic impact machanism of puncturing mud dragon was designed and its mathematic model was deduced and the numerical value method was used to solve its dynamic process. Second,the influence between the piston displacements at different position and its mass was analyzed and output parameters, impact frequency, impact velocity and returning velocity, and the relation of their connection and restriction were pointed out. Third, the optimization design of the pneumatic impact machanism was put up based on the shortest of piston journey and the optimization design parameters were obtained. In the end, the performance tests on impact force, impact frequency and so on for the impact machine were done, and validated its rationality.