Hi Andy

>> By the way. I only found a man page on bldc and the pages in
>> the wiki, is there any documentation that I'm missing.
> 
> I started to write a Wiki page, then didn't finish it. Maybe one 
> day i will remember to get back to it.


You are talking about this page:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BLDC Right? So I'll add some
info once I'l trough with this.


I got trapezoidal commutation working again, cleaned things up a bit.

Regarding the sinusoidal commutation I'm no longer sure if I ever had
this working. After some thinking on the problem it's actually not easy
to get this running on a motor with an incremental encoder with an index
signal.

There is some kind of initialization necessary: Turing the motor in
trapezoidal until the index is reached. Than a encoder offset (an index
offset) is needed to correct the phase of the encoder signal. An now
sinusoidal commutation can begin.


As fare as I see bldc provides bldc.N.init man bldc.N.init-done to start
in initialization sequence. Is this the init procedure I need? Can I set
the mode to iqh (index input, hall inputs, inc. encoder inputs). And the
init pin revives the rising flank the motor should run to the index
mark, the offset should be stored and mode switched to sinusoidal.

See you
Flo

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to