Search found 310 matches

by pf26
01 Jun 2018, 08:26
Forum: General
Topic: Vesc constant speed control in code?
Replies: 1
Views: 381

Re: Vesc constant speed control in code?

You don't need to change the code. You can add a little application to the firmware. You can create a file like this: // Settings #define SpeedReference 3000 #include "ch.h" // ChibiOS #include "hal.h" // ChibiOS HAL #include "mc_interface.h" // Motor control functions ...
by pf26
25 May 2018, 17:03
Forum: General
Topic: FOC vs BLDC Torque Question
Replies: 9
Views: 2074

Re: FOC vs BLDC Torque Question

For a given RPM, the motor (mechanical power) output is determined by the load, namely the propeller, and they keep the same one during all the experiment.
You can check the powers seem to vary approx as a cube law of RPM, which makes sense.
by pf26
25 May 2018, 12:43
Forum: General
Topic: FOC vs BLDC Torque Question
Replies: 9
Views: 2074

Re: FOC vs BLDC Torque Question

If you assume the VESC efficiency is 100%, and the motor efficiency does not vary much between BLDC and FOC, then you get the same torque when running at a certain speed with a given power input from the battery. But in your case, with high coil resistance and large input current, the motor Joule lo...
by pf26
29 Apr 2018, 18:51
Forum: FOC
Topic: FOC braking?
Replies: 21
Views: 8002

Re: FOC braking?

I imagine you use "brake mode" and set a brake current using BLDCTools. Did you try to use "current mode", and set a negative current ? I suspect the issue is related to this in mcpwm_foc.c : // When the filtered duty cycle in sensorless mode becomes low in brake mode, the // obs...
by pf26
11 Apr 2018, 09:33
Forum: General
Topic: Writing to VESC
Replies: 3
Views: 763

Re: Writing to VESC

You can use Portmon or other COM port monitors (assuming you are using windows) to spy the serial ports when using BLDCTools (or VESC tool) and then with your packet geenrator, to see where the difference lies.
by pf26
02 Apr 2018, 18:23
Forum: General
Topic: OFF switch options
Replies: 3
Views: 698

Re: OFF switch options

I think the MINI Vesc made by antonchromjak has a nice "enable" pin to remove most of its standby power consumption (which is quite heavy on the standard VESC, and from my point of view, not suitable even with large batteries) Maybe the "MINI" is powerfull enough for your applica...
by pf26
18 Mar 2018, 19:22
Forum: General
Topic: Low speed high torque
Replies: 3
Views: 1022

Re: Low speed high torque

Did you try to play with the Speed Tracker Kp and Ki parameters in BLDC tools, so as to improve the motor speed estimation, and in turn, the speed control ? In FOC mode, the speed estimation is made by the pll_run function in mcpwm_foc.c If this doesn't work I fear you need to add some sort of index...
by pf26
12 Feb 2018, 17:34
Forum: General
Topic: Strange motor behavior
Replies: 4
Views: 850

Re: Strange motor behavior

Why not use FOC + current_control ?
by pf26
10 Feb 2018, 16:17
Forum: General
Topic: Parallel FETs
Replies: 3
Views: 722

Re: Parallel FETs

Driving FET gates requires a lot of current spikes to be quickly charged/discharged to switch. The DRV is used near its max gate driving capacity. Also be aware that the pcb layout of the power section impacts a lot the performances (as you can see in the thread and many iterations of the minivesc f...
by pf26
10 Feb 2018, 15:56
Forum: General
Topic: Strange motor behavior
Replies: 4
Views: 850

Re: Strange motor behavior

I assume you use FOC (I could not convert your .7z file now). You should open the mcpwm_foc.c and look how "duty_cycle" mode is implemented. I think you better use current control mode, and send current (ie torque) requests to the VESC. And better still would be to implement your control i...

Go to advanced search