A Modified Aalborg Inverter for Grid Connection and Renewable Energy Application