More protection for variable speed drives