VESC4X

Support for creating custom user applications on the VESC.
hackware
Posts: 9
Joined: 10 Dec 2017, 18:51
Location: backwoods mississippi

VESC4X

Postby hackware » 18 Dec 2017, 18:19

reading through the docs at http://vedder.se/2015/01/vesc-open-source-esc/

Features
The hardware and software is open source. Since there are plenty of CPU-resources left, the customization possibilities are almost endless.
STM32F4 microcontroller.

just how much headroom remains...?

would there be enough to drive 4x DRV8302 drivers...?

then output the DRV8302 signals to external fet/igfet high power modules...?

since most of the software mods would be to "loop" through existing code, to replicate driver service, a higher level wrapper, and extended scratchpad for each "motor" would be required...

this level of software hacking even i could perhaps do...
(not as well as Ben, and many of you other "real" programmers, but i can see this being doable)...

i just do not know if the STM32F4 has enough headroom to do 4x (+overhead) workload...

william...

hackware
Posts: 9
Joined: 10 Dec 2017, 18:51
Location: backwoods mississippi

Re: VESC4X

Postby hackware » 19 Dec 2017, 14:42

follow on to above...

mouser has the discovery board STM32F412G-DISCO containing the STM32F412G for $25...

would that be a good place to start for a VESC4X recode...?
(4-5x runtime requirements over vesc standard load)...

or should i go for a full blown rebuild on a raspberry pi...?
(asus pi clone tinkerboard - 12x speed with 4 cores and 2gb ram)...

i am not a "real" programmer, but i've hacked from 8051's to ibm 3090's...

anybody have constructive thoughts...?

william...

arvidb
Posts: 232
Joined: 26 Dec 2015, 14:38
Location: Sweden, Stockholm

Re: VESC4X

Postby arvidb » 19 Dec 2017, 15:33

Make sure the hardware you choose has all the peripherals needed (timers, ADC channels etc) and that they can be used together in the way necessary (I believe the VESC needs to be able to sync ADC measurements to certain parts of the PWM output - this needs hardware support).

Also, make sure your platform supports the necessary real time requirements. An RPi running Linux is NOT the right platform for this.

rew
Posts: 940
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.

Re: VESC4X

Postby rew » 23 Dec 2017, 23:52

The STM32F412 does not have the 3 ADC modules that the VESC uses.


Return to “Custom Applications”

Who is online

Users browsing this forum: No registered users and 1 guest