A Modified Natural Sampling Strategy for Microprocessor Implementation of PWM Inverters