This paper presents a comparative study between two commands of the shunt active filter under non- sinusoidal condition. In fact: 1) theory PQ. 2) Synchronous detection theory. The principal objective of this work is to test the sensitivity and robustness of the identification methods of the currents references, by calculating the THD. Interesting results are presented and analyzed below.