Digital odd harmonic repetitive control of a single-phase PWM inverter