The application relates to the technical field of adaptive filtering, and discloses a deviation compensation
affine projection adaptive filter based on a logical distance criterion, wherein a desired
signal vector, a noisy input
signal vector and a matrix, and an adaptive weight vector are respectively constructed according to a desired
signal sample value, a noisy input signal sample value and an adaptive
weight value; an anti-impulse error square median is obtained according to an estimated
error signal, an
error signal variance
estimation value is calculated, and an input
noise variance
estimation value is calculated in combination with a noisy input signal vector and an adaptive weight vector variance power
estimation value; a derivative and a second derivative of a logical distance function are calculated according to an estimated
error signal vector; a deviation compensation matrix is calculated by using the second derivative of the logical distance function, an intermediate matrix, a vector formed by a
diagonal line of the intermediate matrix, a deviation compensation vector and the input
noise variance estimation value, the adaptive
weight value is updated, and adaptive filtering of a
system output signal to be estimated is realized.