S transform and its improved algorithms are limited by the Gaussian window, which cannot realize high time-frequency energy concentration and exact identification of harmonic time-frequency parameters. A significant improvement has done in this paper: K-S decomposition is built based on the idea of FFT + Kaiser window + IFFT. The Each column vector of the two-dimensional time-frequency complex matrix obtained by K-S decomposition represents the frequency of the signal and each row is instantaneous magnitude in each selected frequency in time domain. Thus the parameter of amplitude, spectrum, time and phase can be achieved and adaptive time-frequency analysis is realized. The simulation experiments of the complex power system harmonic verify the feasibility and adaptive ability of K-S decomposition.