VESC-controller

Electric Motors and Controllers
ElectronS
10 mW
10 mW
Posts: 22
Joined: Mar 04, 2013 2:55 pm

Re: VESC-controller

Post by ElectronS » Sep 30, 2017 2:25 pm

Hi

Great work ,

just a random question, what is the software you are using for designing the pcb , it looks awesome in 3D , much better than ALtium Designer 2016

cheers

casainho
10 kW
10 kW
Posts: 953
Joined: Feb 14, 2011 2:43 pm

Re: VESC-controller

Post by casainho » Sep 30, 2017 3:21 pm

ElectronS wrote:Hi

Great work ,

just a random question, what is the software you are using for designing the pcb , it looks awesome in 3D , much better than ALtium Designer 2016
I am answering because I also went to verify this. It is the OpenSource free KiCAD :-)
Developer of OpenSource firmware for EBike BMSBattery S/Kunteng KT motor controllers: https://opensourceebikefirmware.bitbucket.io/

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Sep 30, 2017 7:00 pm

casainho wrote:
ElectronS wrote:Hi
Great work ,
just a random question, what is the software you are using for designing the pcb , it looks awesome in 3D , much better than ALtium Designer 2016
I am answering because I also went to verify this. It is the OpenSource free KiCAD :-)
Exactly,
http://www.kicad.org

If you wanna try, remember there is a bunch of people developing if for you to capitalize on it for free, don't complain if it doesn't work like the CAD you're used to =)

I use the unstable, also known as nightly versions. Those include new features that are under testing so they are stable for the kicad 5 release.

User avatar
notger
100 W
100 W
Posts: 233
Joined: Mar 14, 2013 3:05 am

Re: VESC-controller

Post by notger » Oct 07, 2017 2:31 am

That's amazing.
I remember some freaks trying to make high Voltage VESCS before on Vedders Forum.

There is some Gossip that adaptto might stop business, so your controller would be an amazing alternative to adapttos.
unless people also allready implemented Display support as a Dashboard for VESCS and lots of other Stuff.

How easy would it be for you to implement the possibility of charging the battery via a coil and phase wire like adaptto does it.
Cause than its a real alternative.

I'm really curious how it goes on.

PS.: does your design actually base on VESC6 or VESC4 ?

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Oct 07, 2017 6:37 am

implemented Display support as a Dashboard
I've seen better than a lcd display
https://youtu.be/P_thNysQvNI
A bluetooth adapter board hanging out somewhere would get this build that realtime display.
How easy would it be for you to implement the possibility of charging the battery via a coil and phase wire like adaptto does it.
Cause than its a real alternative.
I didnt know about their charging scheme, thanks for pointing me at it. IMO this controller would go in bigger systems with big batteries that you want to charge safely.
With this in theory its possible to charge the traction pack connecting 3 phase mains directly to the phase putputs of this controller. Here that would be 50hz 380v, which generates 500v dc. Charging at 10, 50 or 100kw its just a variable in the firmware, pretty much the regen variable.
However, that would be a non-isolated charging, your traction pack would be connected to mains and its not safe. I guess its not legal either.
does your design actually base on VESC6 or VESC4 ?
Its based on VESC 6, supported by the latest vesc tool software.

User avatar
notger
100 W
100 W
Posts: 233
Joined: Mar 14, 2013 3:05 am

Re: VESC-controller

Post by notger » Oct 07, 2017 6:45 am

marcos wrote: I didnt know about their charging scheme, thanks for pointing me at it. IMO this controller would go in bigger systems with big batteries that you want to charge safely.
With this in theory its possible to charge the traction pack connecting 3 phase mains directly to the phase putputs of this controller. Here that would be 50hz 380v, which generates 500v dc. Charging at 10, 50 or 100kw its just a variable in the firmware, pretty much the regen variable.
However, that would be a non-isolated charging, your traction pack would be connected to mains and its not safe. I guess its not legal either.
for charging an adaptto you still need any kind of DC source with lower voltage than the Battery is and a charging coil. (so i guess the controller acts like a kind of boost-converter )
but the amazing thing is you could charge it on DC-Charging Stations, any PSU, or even Truck or Car batteries.
Adaptto also offers Balanced charging with an external BMS-PCB

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Oct 07, 2017 7:51 am

notger wrote: for charging an adaptto you still need any kind of DC source with lower voltage than the Battery is and a charging coil. (so i guess the controller acts like a kind of boost-converter )
but the amazing thing is you could charge it on DC-Charging Stations, any PSU, or even Truck or Car batteries.
Adaptto also offers Balanced charging with an external BMS-PCB
Yes, its a boost converter. Its neat for a small battery, not so much for a big one, but yes, its doable with some custom firmware. Just don't count on using a dc charging station, they will measure isolation between the battery and chasis and probably expect an actual battery instead of a switching power supply input. Also you need to comply to a charging protocol before it sends you any power.

I made a custom scalable BMS sharing the can bus vesc uses, but thats a story for another day,

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Oct 10, 2017 2:11 pm

This thread is about a very different VESC, did you see the first post?. Go to http://vesc-project.com/forum/1 and you might find an answer.

That being said, I had a similar blow during L detection when I flashed the firmware of a v4.12 in a v.10 board (or something like that)...

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Oct 31, 2017 9:57 pm

Last week I packaged the fabrication files for automated pcb assembly, I thought I should share.

Brain board
https://github.com/paltatech/VESC-contr ... p?raw=true

Adapter board
https://github.com/paltatech/VESC-contr ... p?raw=true

Disclaimer: not tested, its okay for hardcore developers, not ready for end users yet.

Shaharov
1 µW
1 µW
Posts: 2
Joined: Nov 15, 2017 4:07 am

Re: VESC-controller

Post by Shaharov » Nov 15, 2017 4:09 am

I tried pulling the design of github.  Everything seems to be ok but I did encounter 2 problems (and they may be related).  The system can't find the library "/home/marcos/paltatech/tools/paltatech.lib" and was wondering if I could get a copy to relink into the design.  Also when I add the netlist there are 339 missing footprints, which may be from the library file that's missing.

Thanks for your help in this.

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Nov 15, 2017 6:25 am

Paltatech.lib is not necessary, every schematic symbol is duplicated in vesc-controller_cache.lib so you won't have missing symbols. I can get you a link to an updated paltatech.lib if you want to get rid of the message, or you can remove it from the library manager.

About missing footprints, they should be there, let me check, maybe its reláated to github submodules.

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Nov 15, 2017 9:06 am

Well, I didn't use submodules in this repo... maybe its libary management issue?
Maybe you're missing paltatech.pretty (the footprint library I use).
netlist_check.png
(220.06 KiB) Not downloaded yet
In any case, here are our libs, but don't take them as a good reference.
http://paltatech.com/files/paltatech.lib
http://paltatech.com/files/paltatech.pretty.zip

Shaharov
1 µW
1 µW
Posts: 2
Joined: Nov 15, 2017 4:07 am

Re: VESC-controller

Post by Shaharov » Nov 15, 2017 2:54 pm

Thanks... when I get back home I'll have a look. I know kicad can have issues with library management

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Nov 30, 2017 11:11 am

New boards under testing!
20171130_104027.jpg
In this revision I wanted to test the gate driver power supply, it is there so you can supply the controller with anything between 9v to 30v and the board will deliver a stable 24v for the picky, usually unregulated gate drivers. Many gate drivers need 12v or 15v, changing a single feedback resistor will get you there.

The regulator is intended to supply up to 24W, its plenty for 6 gate drivers, here is the steady state at full 24W power.
img_thermal_1512056565465.jpg
Most folks I guess will use it at less than 15W. Anyway I might change a shottky diode, most of the heat comes from D16 so a beefier or better heatsinked part will improve the temperature situation.

So far its looking good, I had a couple of wrong part# in the BOM that are now fixed in the design files.

ENNOID
10 µW
10 µW
Posts: 5
Joined: Dec 01, 2017 3:26 pm

Re: VESC-controller

Post by ENNOID » Dec 01, 2017 4:04 pm

Hi,

Very interesting project marcos

Let me know if you want a beta tester!

I am planning to give a try to this high power VESC controller. I will probably order the controller + adapter board through OSHpark in the coming weeks...

I am looking to modify the adapter board a bit thought... I would like to add the "gate drivers" on this adapter board. Do you think it is a good idea?

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Dec 01, 2017 4:22 pm

Ping me before sending the pcb to mfg, I have some uncommited changes. Very minor, only added copper to the diode that runs hot and moved reference silkscreens a bit, and bigger mounting holes. The big change is in the BOM that I didn't rebuild yet.
I can sell my first patched version of the board if you prefer. There is also a company that made this board and might have some assembled spares to sell, I can ask if you want. Anyway I know its far more rewarding to assemble this by yourself.

About the adaptor board, you can entirely avoid the adapter board if you design a gate driver with the correct pinout and sensing capabilities.

In this thread I made a reference gate driver board that directly connects to this controller.
See the second image
viewtopic.php?f=30&t=84930

Those 3 connectors on top are aligned to connect this vesc board.

ENNOID
10 µW
10 µW
Posts: 5
Joined: Dec 01, 2017 3:26 pm

Re: VESC-controller

Post by ENNOID » Dec 01, 2017 5:38 pm

Thanks for sharing this info,

Assembled spares from the company might be interesting if they do exist and are functionnal. Depending on the price of course, but at the end I doubt there will be any saving by ordering & soldering the board by myself. I know this project is gonna be expensive anyway :lol:

I will have to assemble a modified adapter board to fit on my existing IGBT modules anyway :wink:

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Dec 01, 2017 8:47 pm

Great, I'll ask and PM if they are into that.

Do you have gate drivers made for your IGBT modules or are you planning on designing your own gate drivers?
If you have to make your own gate drivers you can probably connect those boards directly to the controller if you use the correct pinout ;-).

If you use plug&play drivers designed especifically for your modules, then yeah, you probably need an adapter board. Its a very simple board anyway.

User avatar
madin88
10 MW
10 MW
Posts: 2328
Joined: May 27, 2013 2:02 am
Location: Austria

Re: VESC-controller

Post by madin88 » Dec 02, 2017 5:59 am

Fantastic work. This seems to be the first VESC 6 board for really high power applications.
I am no expert in controller design so a set with all parts/board needed to assemble a complete controllers would be nice to see.

Would it be possible to combine this brain board with a power stage made of mosfets instead of IGBT? I think of 100V components good for 10kW+.

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Dec 02, 2017 11:54 am

Sooner or later a ready to run kit will happen, we need more testing until its ready for users that don't want any trouble.

A couple of mosfet powerstages for <200v for this controller are in planning stage now. Keen to see more showing up :)

ENNOID
10 µW
10 µW
Posts: 5
Joined: Dec 01, 2017 3:26 pm

Re: VESC-controller

Post by ENNOID » Dec 02, 2017 12:58 pm

marcos wrote:
Dec 01, 2017 8:47 pm

Do you have gate drivers made for your IGBT modules or are you planning on designing your own gate drivers?
If you have to make your own gate drivers you can probably connect those boards directly to the controller if you use the correct pinout ;-).
I don't have gate drivers, that's why I'm planning to integrate them on a dedicated board which will replace the original adapter board, but I will try to keep the same board dimensions. Attached is the cad picture from the watercooled inverter that I assembled last year, but with your VESC board on top to replace the initial board.

Have you tested your gate driver design until now? I could give it a try maybe :wink: Perhaps, I will replace the bulky transformer with an isolated Murata's 2W 24V to -8.7V & 24 to 15V dc dc isolated power supply to make things a bit simpler https://www.digikey.ca/product-detail/e ... ND/4840075, but I don't know if 2W per gate is enough for big IGBT bricks like the one we are using...does someone here knows?
Attachments
Sans titre.png
Sans titre.png (111.32 KiB) Viewed 215 times

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Dec 02, 2017 5:24 pm

Why no one likes my amazing power supply? :p Its half the cost and provides reinforced isolation.
Those murata are a good fit. You can calculate the gate driver power requirements from the igbt parameters, I dont know which switch are you planning to use, I used this quick math
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Try to avoid EMI coming from the gate driver to the controller, so shield it from the switching side or at least dont place it so close. If you want, keep me in the loop, maybe we can add your adapter board to the controller repository.
Last edited by marcos on Dec 02, 2017 6:02 pm, edited 1 time in total.

marcos
100 W
100 W
Posts: 153
Joined: Nov 19, 2016 11:38 pm

Re: VESC-controller

Post by marcos » Dec 02, 2017 5:51 pm

Short teaser from a customer:

The controller stretching its muscles at 300 phase amps

Assembled spares from the company might be interesting if they do exist and are functional.
PM sent!

User avatar
SplinterOz
10 kW
10 kW
Posts: 532
Joined: Apr 21, 2010 4:29 am
Location: Canberra
Contact:

Re: VESC-controller

Post by SplinterOz » Dec 02, 2017 6:36 pm

marcos,

that is an awesome teaser and a solid result.
SplinterOz
In the Capital of Australia
http://rgelectric.wordpress.com

ENNOID
10 µW
10 µW
Posts: 5
Joined: Dec 01, 2017 3:26 pm

Re: VESC-controller

Post by ENNOID » Dec 13, 2017 1:30 am

marcos wrote:
Dec 02, 2017 5:24 pm
Those murata are a good fit. You can calculate the gate driver power requirements from the igbt parameters, I dont know which switch are you planning to use, I used this quick math
https://docs.google.com/spreadsheets/d/ ... sp=sharing
I just don't understand those formulas but anyway while surfing on that topic, I just found this doc from Texas instrument:
http://www.ti.com/lit/ug/tidu355a/tidu355a.pdf
To me, the maths are easier to understand in this doc, but thanks for the info.

I looked thoroughly to the paltatech H-bridge design on Github, but I need something a bit different.

So today, I just started a project on Github of a Dual Gate driver that will be compatible with the VESC-controller design:
https://github.com/EnnoidMe/ENNOID-Dual-Gate-Driver

Work in progress...

I'm rather planning to create something similar to this Dual Gate driver board:

https://www.wolfspeed.com/cgd15hb62p1

Post Reply