You are here

VESC Firmware

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).

what do you guys think about this "curr_samp_volt "?

Submitted by jem on Thu, 2019-08-08 14:45

i have seen that this question in this vesc forums.
jennyxcy2008' question:
1:switch (comm_step) {
      case 1: curr_samp_volt = (1 << 0) || (1 << 2); break; 
      case 2: curr_samp_volt = (1 << 1) || (1 << 2); break;
      case 3: curr_samp_volt = (1 << 1) || (1 << 2); break;
      case 4: curr_samp_volt = (1 << 0) || (1 << 1); break;
      case 5: curr_samp_volt = (1 << 0) || (1 << 1); break;

Help setting up dual vesc via CANBUS

Submitted by Jaystro16 on Sun, 2019-08-04 01:39

I have 2 vesc 4.12s with the latest vesc tool. I cant seem to figure out how to connect them together. i have done everthing that I have seen and I got it to work by chance. Then I turn off the power and turn it on again and it quits working. if anyone know how to do this it would be greatly appreciated I have been fighting this for 2 days now.

VESC Firmware update not working

Submitted by timhermanson94 on Wed, 2019-07-31 18:42

Hi - 

 

I recently bought a new pre-built Trampa board with 2 VESC 6s. One is on firmware 3.48 and the other on 3.57 and I am trying to set them up using the new VESC tool 1.16. It tells me that I need to update the firmware everytime they connect, but every time I update it secussfully goes through but then when it reboots it's on the same exact firmware and not updating. Is there anything else I can try? 

 

Thanks,

Tim 

Pages

Subscribe to RSS - VESC Firmware