Active Common-Mode Filter for Photovoltaic Transformerless Inverters