Abstract:According to the working principal of active type drill string heave compensation system, the experiment table of the compensation system was designed and set up. The model of the experiment table was built based on AMESim software, and the displacement simulation curve of the body and piston rod of the hydraulic cylinder for compensation was gotten. The xPC Target modules of Matlab/Simulink were used to set up a real-time control system, and an experiment was carried out. The results show that the consequences of simulation and experiment match well in one same group of PID parameters, and the application of AMESim and Matlab/Simulink can raise the efficiency of the design of heave compensation system.