The aim of this work is to comparatively study two types of control of a three-phase shunt active filter (TSAF) in order to realize a system of depollution of electrical networks so as to improve the quality of electrical energy. We used two TSA control models which differ in the method of disturbed currents detection, one linear and the other non-linear. The results show that the non-linear control method, although with high calculation blocks, gives more promising results than the linear control method. When connecting a non-linear load (televisions, lamps, variable speed drives, etc.) directly to the public distribution network, the non-linear nature of the load causes the source current to be deformed due to the presence of harmonic currents and voltages. These harmonics thus generate a high reactive power, and therefore considerable electrical losses in the network. One of the solutions to reduce losses on the electricity grid is to incorporate an electronic circuit called a filter into the electricity grid. This work carried out a comparative study of two types of control of a three-phase shunt active filter (TSAF) in order to carry out a system for cleaning up electricity networks in order to improve the quality of electrical energy. We used two TSA control models that differ in the method of detecting disturbed currents, one linear and the other non-linear. The results show that the non-linear control method, although with high calculation blocks, gives better results than the linear control method.