Cheap FOCer 3 (Open-source, Low-cost, VESC 6 based ESC) (In Development)


New Features and Improvements vs CFOC2:

  • 16S safe operation
  • Estimated 120A motor operation
  • USB-C connector
  • Phase filters
  • DRVless design
  • Easy Bluetooth module addon
  • Further improvements to electrical stability from lessons learned in my more powerful designs
  • 1A 5V auxiliary output

The intent is to refresh the CFOC design so that it can actually be made by DIYers again in this chip shortage. I also intend to actually make these things with full heatsink/enclosure and sell them at the most affordable price that I possibly can. Thereā€™s not a hard ETA right now.

UPDATE!

A small batch has been made and is available through the below vendors.

48 Likes

Only got as far as performing basic power supply functions check, programming it, and seeing if it boots up. So far so good but got a long way to go to see how it does. A lot of new things to test on this baby.

One thing Iā€™m going to change is adding more caps. Shorter ones but slightly fatter and more of them like in the pic below.

14 Likes

ŠŠŠŠ THE DICK STAYED!

14 Likes

Yes Iā€™m still here

18 Likes

Beautiful! I canā€™t wait.

4 Likes

Omg! Yes! Best Easter egg ever :joy:

4 Likes

You beautiful bastard

4 Likes

Out of curiosity, where the ā€˜ā€˜lack of capsā€™ā€™ and longer leads part of the issue with cfoc2 sometimes being unhappy on aggressive launches?

4 Likes

Awesome!!!

Holy crap, that looks a lot more complex than CFOC2. Removing the DRV really bumped up the component count. Canā€™t wait to see how it works!

3 Likes

This is very cool, I want to test it

2 Likes

Nah. Most likely gate drive thing.

3 Likes

Iā€™m hoping DRV removal will improve reliability as well. I was mostly satisfied with V2 apart from the oddball generic drv fault that popped up when doing hard launching or trying to throttle against the hill. Though it may seem to be rooted somewhere in FOC sensorless mode as the V2ā€™s ran a lot better once I connected the sensors. Canā€™t wait for this to be out to do a long needed upgrade.
@shaman Are there any estimates on how much this unit will cost assembly wise?

3 Likes

It was $40ish per unit when doing 10 units from JLCPCB. Plus the cost of the caps, FETs, and cables. I maxed out JLCPCBā€™s service which included having them do the connectors. One could save a little bit more by doing all the though-hole stuff yourself.

10 Likes

after the Raiden Zescs died out I was waiting for your DRV-less design to come to action, just hoping for those screw terminals for power and motor phase connectors, I just love it, itā€™s so easy to fix cable lengths and switch vescs between builds when you have those setup :green_heart:

3 Likes

o.O

Wow canā€™t wait to see this in the field haha

1 Like

Unfortunately JLCPCB doesnā€™t seem to have the terminals that would work here.

1 Like

Can you eli5 how a drvā€™less design is different from the usual one, no specific really just more of a curiosity on my behalf, ie what is used instead

3 Likes

The DRV chips we use are MOSFET gate drivers with some extras, their job is to take digital signaling and use it to switch on and off the gates of a MOSFET quickly and efficiently. Basically fet gates need fairly small amounts of energy to switch on or off, but pumped into them quickly to minimise the time spent transitioning between off, half on, and on.

A normal logic out from a microcontroller canā€™t do that so you either use an integrated package like the DRVs or build a set of drivers yourself. You need 6 drivers per motor (3 phases and a circuit for high and low on each. I think this requires 6 but I might be missing a way to do it with 3) that each take up a bit of board space and add complexity to the layout. DRVs also have extra features like handling low power internal supplies like the 5v used by the processor, and they have current measurement circuits to accurately gauge motor current

(Apologies if you know this already and were looking for a more detailed explanation of how to implement a gate driver or something)

13 Likes

Gotyah, thanks

Alright so I started taking a look at the gate drive waveforms and current sense quality. The gate driver Iā€™m using is just barely strong enough to turn off the MOSFETs in a reasonable time. Not ideal but itā€™s something I can work with by adding some ā€œhelpā€ to boost the drive strength. Iā€™d like to use this gate driver since itā€™s well stocked right now.

The current sense signals are a bit noisy and I think I found why. Has to do with the switching frequency of the primary buck converter. I can adjust the switching frequency of the buck converter to be higher and also add some key capacitors in places to help squash the noise.

So far thereā€™s nothing detrimental. Stuff I can deal with one way or another.

20 Likes