During the construction for solving geological hazard of landslide, there often existed the accidents of sticking pipe and burying drilling caused by borehole collapse. It resulted that drilling tool couldn’t be pulled out, and scraped the drilling tool and borehole. So it was necessary to research a kind of pneumatic hammer which could realize drilling at normal work, and push out the drilling tool by reverse impact when the formation collapse caused sticking pipe and bury drilling. In order to research profoundly the pneumatic hammer work mechanism and describe piston movement laws in detail, physical model was established according to the actual conditions, finite difference method was adopted, thermodynamics and kinematics were applied. Using object-oriented programming, the bidirectional pneumatic hammer software was developed whose integrated development environment was VB. The software could calculate acceleration, velocity, displacement, pressure, temperature of the front and back air chamber at any time and the operating performance parameters of the pneumatic hammer. Not only the bidirectional pneumatic hammer, but also the unidirectional pneumatic DTH hammer and the no-dig impactor were designed by the software.