FOC in speed mode + FOC with encoder

Discussions regarding the Field Oriented Control (FOC) implementation on the VESC.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
alexisthethe
Posts: 6
Joined: 14 May 2017, 07:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

FOC in speed mode + FOC with encoder

Postby alexisthethe » 15 Sep 2017, 21:48

Hi guys,

I am trying to control a brushless motor of a robotic arm with the VESC.
I am stuck with some problems, I would love to have your help and feedback on where I am now.

1) The FOC control (sensorless and with hall sensors) does not work in speed mode. I have segmentation fault everytime I launch it with BLDC-tool. Is it normal ?

2) I changed the hardware to enable encoder by removing the right capa and res and replace the good res by a 0ohm res
with the magnetic encoder AS5047P or with a standard incremental encoder (no index) or with AMT102, the FOC control does not work at all.
It does want to start.
Is someone got similar problems? How did you fix it ?

jbendes
Posts: 2
Joined: 26 Oct 2017, 05:46
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: FOC in speed mode + FOC with encoder

Postby jbendes » 30 Nov 2017, 23:25

Did you ever figure this out? I am trying to get FOC working with the same encoder (have removed and bypassed the filter circuitry) but when I try to do the resistance measurement in the bldc tool, the tool segfaults and quits


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “FOC”

Who is online

Users browsing this forum: No registered users and 13 guests