Digital signal processing in power electronics control circuits