The invention relates to an active wave compensation device applied to inland waterway measurement, which is characterized in that the device comprises a mounting base assembly, a linear module, a lifting motor, an adapting base assembly, a turntable assembly, a turntable assembly, a rocking motor, a limit switch, a fixing sleeve, a mounting rod and a posture gauge. The invention measures the motion parameters of the ship hull swing and heave and converts them into digital signals, transmits them to the control system for processing, calculates the compensation amount of the swing and heave through the inverse solution operation, drives the servo motor and the linear module to move by the processed signals, and realizes the compensation of the swing and heave direction of the compensationplatform. The two compensating units transmit power by means of transmission, which can compensate the sounder affected by swing and heave motion accurately and quickly, so that the sounder can safelyand efficiently execute the detection task under complex sea conditions. The invention has the characteristics of wide compensation range, high reliability, accuracy and rapidity, simple and portablestructure, etc.