A novel digital control strategy of three-phase shunt active power filter under non-ideal mains voltages