A digital timing read back and an adaptive feedforward compensation
algorithm to reduce harmonic distortion is disclosed. More specifically,
the approach generates harmonic components digitally with the same
magnitude but at an opposite phase to the output harmonic distortion. An
anti-distortion signal is generated and added to the input signal. The
magnitude and phase of the harmonic distortion change with the modulation
level or index and the frequency of the input signal. In addition, the
harmonic distortion level varies significantly with different timing
error statistics in different power devices. The inventive method takes
the modulation level or index, the frequency of the input signal and the
timing error statistics acquired through a digital read back circuit as
input variables to determine the magnitude and phase of the
anti-distortion signal.