A matrix converter for variable speed AC motor drives