Studies on Control Algorithms for Series Hybrid Active Power Filter