Power electronics can do more than drive a motor