You are here

VESC Firmware

physical meaning of current KI and current KP coefficients

Submitted by ExiD on Tue, 2019-10-15 16:38

What is the physical meaning of current KI and current KP in FOC mode?
Motor resistance and inductance not use for motor spinning, but it need to calculate current KI and current KP coefficient using time constant.
Also VESC measure L and R values not correct, real motor phase inductanse 90uH, VESC measure 50uH, real R is 150mOhm, VESC measure 100mOhm.
How to choose a time constant to calculate KP and Ki? Need I use VESC's measurements R and L or RLC meter values?

USB connection problem

Submitted by Ironman223 on Sat, 2019-10-12 13:53

Hello,

 

I have a new kind of problem which i could not understand.

i have written a stand alone app to rotate motor at a fix speed.

but it only works when i connect VESC tool to it with USB.

otherwise the motor starts to cog and the motor vibrates very badly.

The code is shown below.

Limiting switching frequency of the SPWM for big IGBT´s

javivi's picture
Submitted by javivi on Wed, 2019-10-09 13:32

Hello dark wizards of firmware Javier here, im trying to use fabulous VESC firmware with 400V IGBTs to drive big motors.

spwm



The IGBTs have a minimum switching on-off time of around 2,5us.

So far im having issues with the SPWM modulation not respecting the minimum times resulting in nasty shortcircuits (IGBTs dont have the time to fully open or close).

200kHz PWM

Submitted by c10yas on Sun, 2019-09-22 17:06

Hi,

I'm trying to use VESC for a wide bandgap motor controller that I am designing but am concerned that the F405 cannot operate its control loop at 200kHz. Is it fast enough to do this? Should I look into porting the code base for the H7 series which can reach 480MHz? Alternatively, is it an option to run the control loop at a lower frequency (20kHz) and have the switching occur at 10x the speed. This would result in the PWM changing its duty cycle only every 10 cycles. Are there any issues that anyone can think of if I were to do this?

- Chai

Problems with flashing firmware to FLIPSKY ESC

Submitted by xx11xx on Wed, 2019-08-14 18:10

Dear All,

I followed this instruction to set up the environment for the VESC:

https://vesc-project.com/node/310

I had a problem at the "make upload" step. I tried for 3 days but I cannot solve it.

Could you please tell me any solutions for this problem.?

Thank you so much.

 

I use ST-Link v2 ISOLATION.

SWD: GND, RST, CLK, SWDIO.

The ESC is powered by a 6S Lipo battery.

 

Add serial port

Submitted by CTSchorsch on Wed, 2019-08-14 15:30

Hi all,

i have a custom PCB based on the public VESC6 schematic. I removed the fixed NRF Hardware and add a few solder pins instead to use the CPU Pins for some other stuff.

Now i want to use two of the pins as serial interface. Can i configure some kind of soft-uart ?

Thanks in advance

Georg

Problem report: VESC keeps running at full reverse throttle after PPM input returns to mid-stick

Submitted by chunkulator on Sun, 2019-08-11 00:34

Hi All,

I have been using VESCs for some time now but am stuck on a problem I haven't seen before. I suppose I've discovered a bug in the VESC firmware. Basically the issue is everything appears to be working fine, until I yank the throttle up to full reverse (1 ms input PPM pulse length). After that it stays running at full reverse throttle even after I've returned the throttle to mid-stick position (1.5ms pulse length).

Pages

Subscribe to RSS - VESC Firmware