Mesa 7i39+5i20

More
09 Jan 2011 13:38 #6570 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
Ah, yes, of course, I should have thought of that myself :-)

Please Log in or Create an account to join the conversation.

More
09 Jan 2011 13:55 #6571 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
nikos.chalikias wrote:

IF YOU HAVE STOPPED DEVELOPING bldc_sine
Is it good idea that I continue trying with your new component "bldc" ????


Possibly, yes.
It would be a good idea to switch over if your motor has Hall sensors, as the new component can start in Hall mode, and then switch to sinusoidal mode as soon as it has an angle fix. This removes the need for the "init" pin and is likely to work a lot better with stiff/heavy axes.

I am hoping to submit the driver to the project today, but if you want to try it out, I have attached it.

If you load it with
loadrt bldc cfg=q
in the hal file then you should get something which looks exactly like bldc_sine (with a couple more pins)
if you load it with
loadrt bldc cfg=qh,qh
then you will get two of them with extra pins for hall-sensor startup.

You will need to comp --install the new component, but it can co-exist in the system with bldc_sine and bldc_hall3.

man bldc should give you more information once it is installed. I would welcome any feedback or bug reports.

File Attachment:

File Name: bldc.comp
File Size:36 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Jan 2011 14:54 #6572 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
"I am hoping to submit the driver to the project today"

Does this mean that with: git pull
I will get new EMC2.5 source including your new bldc component?
If YES, then I will wait for it, while fine-tuning my PID.

Please Log in or Create an account to join the conversation.

More
09 Jan 2011 15:01 #6573 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
nikos.chalikias wrote:

Does this mean that with: git pull
I will get new EMC2.5 source including your new bldc component?.

Eventually, yes, though it is anybodies guess when.

Please Log in or Create an account to join the conversation.

More
09 Jan 2011 20:23 #6582 by BigJohnT
Replied by BigJohnT on topic Re:Mesa 7i39+5i20
Until Andy gets it into master you can just copy the comp to the same directory as the rest of the comps and build EMC2.

John

Please Log in or Create an account to join the conversation.

More
10 Jan 2011 08:13 #6589 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
"Until Andy gets it into master you can just copy the comp to the same directory as the rest of the comps and build EM"

I have placed bldc.comp to ~/emc2-dev/src/hal/components

then I compiled emc2.5 as below
./autogen.sh
./confugure
make
make install-menus
sudo make setuid
WAS THIS NEEDED?
with reference to wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HowToWriteNewHalComponent

from ~/emc2-dev/src/hal/components
"sudo comp --install bldc.comp"

seems that worked but there are warnings
I have attached the response
IS IT OK?

File Attachment:

File Name: install_comp_bldc.txt
File Size:2 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Jan 2011 08:29 #6590 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
documentation at
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BLDC

seems to end ... at === Input Options===
Is there more documentation to come?

what is the meaning of qH or a6?
what are the other options ?

Nikos

Please Log in or Create an account to join the conversation.

More
10 Jan 2011 11:00 #6591 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
nikos.chalikias wrote:

I have placed bldc.comp to ~/emc2-dev/src/hal/components
then I compiled emc2.5 as below

Rather embarasssingly I found out yesterday that changes I had made to get the 8i20 to reverse properly had left the 7i39 not reversing at all (reversing the phase angle and the current == no change)

The fixed version should be available here:
news.gmane.org/gmane.linux.distributions.emc.devel

./autogen.sh
./confugure
make
make install-menus
sudo make setuid
WAS THIS NEEDED?

No, you should just need "make" for a new realtime component

"sudo comp --install bldc.comp"

That also works (and is the only way to do it if you don't have the full source tree)

seems that worked but there are warnings

I think you can ignore those, I get them too and it all works.

Please Log in or Create an account to join the conversation.

More
10 Jan 2011 11:13 #6592 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
The fixed version should be available here:
news.gmane.org/gmane.linux.distributions.emc.devel
----
From above I downloaded 3964-001.bin
I can read it with gedit, but I do NOT know what to do with it.
It is a patch? I do not know to use it :(

Nikos

Please Log in or Create an account to join the conversation.

More
10 Jan 2011 12:03 #6593 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
I don't know why it has that name. very odd.

Rename it to bldc.comp and I think it ought to work. Sorry that this is turning out so difficult.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.163 seconds
Powered by Kunena Forum