An active filter that can remove harmonic noises other than the
fundamental wave in a system having many unspecified harmonics and can
contribute to the stable operation of the system, and improvement in the
quality of power is provided. Using the following power equation (1) for
a single-phase circuit as a basic expression, an active power effective
value P and a reactive power effective value Q are obtained by
integration operation with an active power instantaneous value and a
reactive power instantaneous value, an instantaneous voltage estimation
value is calculated, the system side fundamental wave current is obtained
based on these values, and then the system side fundamental wave current
is subtracted from the load current to obtain compensation current as the
output of the active filter.