Regulating diameter-variable moment pumping unit as the research object. which been analysed by virtual prototyping technology, by this way, the application ways and realization means of virtual prototyping technology is explored in this field.The virtual prototyping technology is introduced into the dynamic characteristics analysis and optimization for pumping units, and the 3D CAD software, multibody system dynamics analysis software and finite element analysis software were combined. The digital physical prototype for pumping units is established by UG software; ADAMS was Used to establish the function virtual prototype and virtual test system, to develop the test analysis and optimize its structure parameters according to the movement requirements for pumping units; The finite element analysis of the pumping unit parts is processed in the ANSYS environment, and structural design is optimized in accordance with the stress distribution characteristics of pumping components. In this paper, CAD and CAE technology are used with close combination, the pumping units dynamics analysis and simulation is developed from the systemic perspective. The research has the characteristics of high precision analysis, wide range of applications and good practical value.