Aiming at the problem that the image focusing degree is seriously reduced dueto the three-dimensional swing of shipborne inverse synthetic aperture radar ( ISAR)platform, a motion compensation method for radar platform based on echo data is proposed.Firstly, time-frequency analysis of the echo data is performed and the swing period isestimated by estimating the period of Doppler frequency, Then, the swing amplitude of theplatform is obtained by using the image entropy. Finally, compensation signal is constructecand image is performed, Simulation results show that the method can effectively compensatethe radar platform swing and improve the quality of ISAR image.