Controllers for 36V and 48V system