Converter for wind turbine and electrical systems control