You are here

VESC Firmware

New Control Algorithm for asynchronous machines

Submitted by ajpina on Sun, 2019-05-19 22:13

Hi all,

I am working on implementing scalar control and foc control for induction machines, so I am wondering what the recommendations are in order to carry on with the programming. After reviewing the firmware source code, my first thoughts were to copy/rename/overwrite "mcpwm_foc.h" and "mcpwm_foc.c", so the microcontroller-related code could stay and I would focus on the motor control.

Could any of you with more experience in VESC firmware suggests me the best approach, best practices?, warnings are also welcome.

Thanks. 

Notified of new version of firmware, can't DL it...

Submitted by kchxaz on Sun, 2019-05-19 03:28

Hi All,

I'm relatively new to the VESC tool and how to use it, etc...when I opened the tool the couple times I was notified there is an updated version. However when I follow the link it takes me to VESC home page and I can not find the link to DL the newest firmware. Does anyone know what I am supposed to do to get the new version? I am a bronze member and when I try to DL the current package I get denied.

Am I supposed to upgrade my VESC tool to the silver level or what exactly?

Get Current over CAN bus

Submitted by chriswei on Thu, 2019-05-16 13:57

I'm using the comm_can_get_status_msg_index(int index) function to read the slave vesc's can status messages. The rpm and duty cycle are reported as expected (same values as in the vesc-tool), but the reported current is not the same as in the vesc-tool.

I saw that the current measure in the status message is generated with the mc_interface_get_tot_current_filtered(void) function so I played around with different current getter functions, but for no function I see the same output as in the realtime data page of the vesc-tool...

Easy way to save VESC parameters before updating FW with VESC tool ?

Submitted by unimotion on Sat, 2019-05-11 19:15

Do you know if there is an easy way to save Motor and App setup before updating FW so that the initial parameters can be reloaded after FW update, to avoid having to begin again setting VESC up ?

I tried to use file save and load configuration XML but it looks like some parameters are not saved (or loaded) and one has to review completely setup.

Sorry if this question is not relevant I'm a new user even if a big fan of VESC project. 

Problem with BLDC and Firmware 3.55

Submitted by NPH22 on Thu, 2019-05-02 19:21

Hello, 

I'm using the Vesc 4.12 Hardware. I also added an NRF based BLE to stream real time data to my phone. The vesc mobile App said I have to update the Firmware to 3.55 if i want to use the tool with full access, so I update the Vesc to 3.55. Now BLE connection ist also stable and I get real time data to my phone. But from now I can't use motor detection and the red LED is flashing. For a test I downgraded the firmware and everything worked, but not the BLE connection with full access to motor config, realtime data, ... 

 

Switching Frequency and current loop speed

Submitted by bobfrank on Tue, 2019-04-23 10:34

Hi,

I am looking for a motor controller or to modify a motor controller to operate a very low inductance motor at high voltage.
The motor is a 5-10uh motor, and I intend to operate it at around 180-200v~
With such a low inductance, with most controllers, current decays to 0 before the next PWM cycle, leading to massive eddy current losses, hysteresis losses, skin effect losses and the controllers have issues regulating/controlling the current.

No firmware listed, after DRV repair

Submitted by anymorez on Thu, 2019-04-18 14:24

Hi,
My VESC is after DRV8302 replacement, because I shorted outputs when running engine. I corrected all pins seperately, they are connected neatly and properly to PCB now. Blue and green LED are on.
VESC tool connects to the device on limited mode (old firmware windows pops on on connection, and recommends to upgrade). When I go to firmware tab I see no firmware's available on the list, and whatsmore in this tab I can't connect to the target although I am actually connected to device, I see connected (limited) in right bottom corner. 

Pages

Subscribe to RSS - VESC Firmware