Little FOCer! 84V 5kW VESC-Based Controller

So, a lot has happened in the past 6 days. Two fried little focers and a bunch of headscratching. Here’s what you should look out for if you’re using a LF with a large hub.

Lesson 1: Hub motor temp sensors are shit. My windings melted at “77C” RIP hub. It was the TC4080 hub from this build STOBA Bomber 5kW "eBike"

Lesson 2: Vesc motor detection is good for our size of outrunners, but for hubs its not perfect. You will have to tweak some settings like observer gain, and if you’re using hall sensors you will have to tweak your sensorless ERPM. I was getting nasty cogging if I floored it until I messed with my observer gain (cut it in half) and raised my sensorless start erpm. Its unfortunately not as plug and play as we’re used to. I found that halving the calculated observer gain yielded good results.

I had tried 5.2 on the second LF and it did a bit better. NOTE: this is not the firmware available in vesc tool. Shaman compiled it for me to test with.
focer gore:

I’m hoping one of the two focers are repairable so I can continue trying to figure out how to get good large hub performance on vesc. I’m also switching to a QS205 hub which is just a better motor.
Also good cooling is imperative. I’m going to figure out some system to have a big external copper heatsink on this bad boy.

11 Likes