Serious FOCer (84V VESC 6 based controller)

Electric Motors and Controllers
shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Mar 10 2020 9:51pm

shaman wrote:
Jul 08 2019 5:02am
This controller is meant to be a balance of DIY and DFM. The DIY kit should make the DIYers happy since they can solder some components themself and even choose which FETs to use if they wish. Yes figuring out a warranty for this type of thing may be difficult. I'll have to see what sort of warranties are available for other DIY electronics kits. A warranty is more of a business aspect.
@qwerkus I've mentioned a DIY kit before. SMT stuff already done leaving the customer to finish out the rest. Customer support for that may be difficult though. This idea is still being considered.

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Apr 01 2020 11:49pm

SDS00020.jpg
SDS00020.jpg (76.4 KiB) Viewed 979 times
Slow but steady. I'm still working this...

qwerkus   1 kW

1 kW
Posts: 489
Joined: Jul 22 2017 4:00am

Re: Serious FOCer (84V VESC 6 based controller)

Post by qwerkus » Apr 02 2020 3:23pm

So you got it working! niiiiiice.

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Apr 02 2020 4:53pm

Well let's say i'm getting it dialed in. I'll throw it on my ebike with a 20s battery in a coupe of days. Special thanks to @zombiess for helping with the gate drive strength tuning.

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Apr 02 2020 10:45pm

trial-run.jpg
trial-run.jpg (36.09 KiB) Viewed 924 times
Trial run around the block. Went up to 37mph
ebike.jpg
ebike.jpg (154.73 KiB) Viewed 924 times
janky ebike I threw together to test stuff. 10s batteries in series for a 20s battery.

Well I took it around the block a bit. 60A FOC starting at 82ish volts. No issues. I'll be taking it out on a straight road tomorrow when its daylight. Let's see if I can hit 40mph!

MarkLeeds   1 W

1 W
Posts: 55
Joined: Jan 03 2016 2:27pm
Location: UK

Re: Serious FOCer (84V VESC 6 based controller)

Post by MarkLeeds » Apr 03 2020 5:39am

This looks awesome. I'm super interested. A polished product would be great but I'd be happy to pay for kit that I had to solder up if that reduced time to market. Got a bit of time on my hands at the moment

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Apr 03 2020 11:52am

Kits are still being considered for a few reasons. I might do a limited production run of some kits after beta testing. The idea is to test out production and customer support for that sort of thing.

Kalzifa   1 µW

1 µW
Posts: 4
Joined: Aug 06 2019 5:00am

Re: Serious FOCer (84V VESC 6 based controller)

Post by Kalzifa » Apr 05 2020 11:51am

Will there be a higher Voltage version for Motorcycles?
QS offers a 20kw peak motor integrated inside a 13 inch wheel, perfect for a "vespa like" electric city motorcycle.
I was wondering If i could use your board but change the FETs and Capacitors to accommodate a 26s Lipo.
I am currently looking for a controller and couldn't find anything so I guess DIY or something like you are designing is my only option

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » Apr 05 2020 12:20pm

@Kalzifa this controller will only do 20S as advertised. Trying for 26s would call for a complete redesign and not just changing out FETs and caps. You might be interested in galp's BESC. It is made for higher voltage

MarkLeeds   1 W

1 W
Posts: 55
Joined: Jan 03 2016 2:27pm
Location: UK

Re: Serious FOCer (84V VESC 6 based controller)

Post by MarkLeeds » Apr 09 2020 3:45pm

You could do kits, some youtube videos and have a few threads on forums to address support. That might help avoid onerous support. Still very keen :-)

Feist92   10 mW

10 mW
Posts: 32
Joined: Sep 12 2017 5:27pm

Re: Serious FOCer (84V VESC 6 based controller)

Post by Feist92 » Apr 10 2020 9:52pm

Great work shaman! So glad to see its working for you, Im definitely keen for whenever they're ready

bww129   10 mW

10 mW
Posts: 25
Joined: Apr 14 2020 7:44am
Location: PA

Re: Serious FOCer (84V VESC 6 based controller)

Post by bww129 » May 05 2020 2:08am

It took a few days to read through all your FOCing FOCer threads :D (great name choice) but it was well worth it to see such a great effort documented. Kudos for the multiple iterations and keeping with it this long! You must not have any kids and enjoy working long hours :wink:

On a technical note, it looks like this design uses 2512 size current sense resistors, and the ones you've spec'd look like the beefy all metal kind that can probably handle up to about 150A without derating. Have you considered the effects of continuous high phase currents on the solder joints of these components? I only ask because I've done short circuit testing on a 12V 35A brushed DC controller of my own design and was able to vaporize the solder joints on some 1mohm 2512 current sense resistors before a 35A inline fuse blew. There had to have been at least a few hundred amps flowing to get it to do that! No mosfet failures either. The current density going into the 2512 pads will be very high for the currents you're dealing with. It might be worth using two resistors in parallel or going to a bigger package.

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » May 06 2020 6:50am

I appreciate you taking the time to read! So both...no kids + long hours. This is for sure my passion.

The Little FOCer hasn't shown issues with the 2512 sense resistors and I've taken it up to 90 amps. However I did switch to size 3920 for anything larger for up to 150A. Anything more will require hall effect sensors or paralleled sense resistors like I did for the Cheap FOCer 2.

bushido   10 µW

10 µW
Posts: 6
Joined: Jun 18 2019 2:28pm

Re: Serious FOCer (84V VESC 6 based controller)

Post by bushido » May 27 2020 11:33am

@shaman can you give an estimate when we can get hands on the controllers or kits (little FOCer specifically) . are we talking about weeks or months ?

john61ct   100 GW

100 GW
Posts: 5104
Joined: Dec 18 2018 2:06pm

Re: Serious FOCer (84V VESC 6 based controller)

Post by john61ct » May 27 2020 1:53pm

And is the bigger design more developed or even farther off?

shaman   1 kW

1 kW
Posts: 324
Joined: Dec 10 2018 7:03pm
Location: Fort Worth, TX, USA

Re: Serious FOCer (84V VESC 6 based controller)

Post by shaman » May 30 2020 9:07am

I know I've given some timelines and expectations that didn't turn out to be true or were unrealistic to begin with. Here's some of the main issues contributing to the hold up on this stuff.

1. I can't do this full time. My hours have been split between my full time job (electrical engineer), my part time job (military), and various emergencies related to family. This doesn't leave nearly as much time as I want to develop this stuff.

2. I'm still learning. Understanding proper layout and operation of power electronics takes a lot of time to understand. People like @zombiess have been trying to bring me up to speed on good layout and what factors are important in power stage design. Unfortunately, I've been slow to learn and understand the physics behind Maxwell's Equations that need to be considered in good layout... but I'm finally starting to understand some of it.

3. The VESC firmware is picky about the power stage involved. In my development and testing I've discovered that the effectiveness of the VESC motor detection and control algorithms depend on the rise/fall times of the MOSFET switching. For whatever reason, the official VESC hardware switches in 50ns or less. This is unnecessarily fast for 50kHZ or less switching frequencies. Power stages with more reasonable switching times (like 150ns or more) then suffer since the software/firmware was written around this crazy fast power stage hardware. I have raised this issue with the VESC firmware developers and they have claimed to be working on a resolution. Switching in 50ns or less with my hardware causes higher dV/dt spikes and MOSFET self turnon that I do not want to accept.

4. Finalizing the design may take more time. Since gaining more understanding of proper power stage layout, I've played around with different designs than what you've seen on this thread and than what I've prototyped. Designs that have better layout, better thermal management, have 12% smaller footprint, and are more easily scalable while still being in the same class of cost.

In the end, I do not want to release an inferior product. It's better that I reset expectations of a timeline here in favor of developing the best product I possibly can. During these months of COVID lockdown, I've invested about 10,000USD in to remodeling my garage into a proper shop so that I can proceed with good development and proper testing. The Little FOCer is first up in the que of work. I want to finalize this design which will in turn allow for a more powerful version to easily be produced since it's only more or less a swap for TO-247 MOSFETs.

Post Reply