The K-TFC intelligent controller adopts intelligent algorithms and encoding methods to control multiple sets of compensation filter banks for precise compensation, improving compensation accuracy, solving the problems of over compensation and under compensation, and ensuring that the power factor is always in the optimal compensation state. The measurement function includes: a three-phase four wire circuit or all phase voltage/line voltage (V), current (I), power (P, Q), power factor (COS Φ), frequency (F), harmonic (%), and harmonic bar graph analysis. It can measure up to the 15th harmonic and provide protection against total harmonic distortion rate of voltage.