Mesa 7i39+5i20
![:-) :-)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
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
if you load it with
loadrt bldc cfg=qh,qh
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.
Please Log in or Create an account to join the conversation.
- nikos.chalikias
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
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.
Eventually, yes, though it is anybodies guess when.Does this mean that with: git pull
I will get new EMC2.5 source including your new bldc component?.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
- nikos.chalikias
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
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?
Please Log in or Create an account to join the conversation.
- nikos.chalikias
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
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.
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)I have placed bldc.comp to ~/emc2-dev/src/hal/components
then I compiled emc2.5 as below
The fixed version should be available here:
news.gmane.org/gmane.linux.distributions.emc.devel
No, you should just need "make" for a new realtime component./autogen.sh
./confugure
make
make install-menus
sudo make setuid
WAS THIS NEEDED?
That also works (and is the only way to do it if you don't have the full source tree)"sudo comp --install bldc.comp"
I think you can ignore those, I get them too and it all works.seems that worked but there are warnings
Please Log in or Create an account to join the conversation.
- nikos.chalikias
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
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
![:( :(](/media/kunena/emoticons/sad.png)
Nikos
Please Log in or Create an account to join the conversation.
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.