A DSP-Based Implementation of the p-q Theory in Active Power Filtering Under Nonideal Voltage Conditions | IEEE Journals & Magazine | IEEE Xplore