The main purpose of the harmonic filter is to maintain the quality of the power supply, prevent damage to electrical equipment and improve the overall efficiency of the power system. Harmonic distortion can cause a number of problems, including increased heat generation in transformers, motors, and other electrical equipment, low power factor, and interference in communication and control systems. A harmonic filter can help prevent these problems by reducing harmonic distortion and providing a stable and reliable power supply, which reduces the amount of harmonic distortion in the system and helps maintain the quality and reliability of the power supply.