ASD-A2 EtherCAT on LinuxCNC

More
11 Oct 2020 20:13 #185749 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hi, chineno.
Thank you very much for the pictures.
What was the error in the oscilloscope?

Is it even realistic to achieve a better result than 0.002 mm with Delta?

I discovered new facts.
The X axis is ok. There is an error of 0.0025 mm. See "result.png



But for the Y-axis (gantry), I found that both servos were arguing. At least I think according to the picture "2xY.png". It is at a manual crossing of 18000mm / min. The eye can see how the portal vibrates.



I don't know how to set it up to improve.
Due to inaccurate combs I have to use Y1.comp file and Y.comp file. And it will be more complicated.

Thank you so much for the ideas.
Jirka
Attachments:
The following user(s) said Thank You: chimeno

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

More
12 Oct 2020 09:41 #185813 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hello.

About ok.



Jirka
Attachments:
The following user(s) said Thank You: chimeno

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

More
14 Oct 2020 19:54 - 14 Oct 2020 19:54 #186122 by chimeno
Replied by chimeno on topic ASD-A2 EtherCAT on LinuxCNC
Hello @jirkam

What was the error in the oscilloscope?

I did the tests with new servos, the error was 0.0155, I have not adjusted the servos.

Is it even realistic to achieve a better result than 0.002 mm with Delta?

the truth is that I get better results with PID in linuxcnc at high speeds I think not,

El eje X está bien. Hay un error de 0,0025 mm. Ver "result.png

it's very good!

But for the Y-axis (gantry), I found that both servos were arguing. At least I think according to the picture "2xY.png". It is at a manual crossing of 18000mm / min. The eye can see how the portal vibrates.
I don't know how to set it up to improve.
Due to inaccurate combs I have to use Y1.comp file and Y.comp file. And it will be more complicated.

Thank you so much for the ideas.

I did not realize that you were using a gate with 2 motors, I find it quite difficult to configure two PIDs to feed 2 motors at the same time and that its precision is extreme, I think that if you need such precision you could try to re-set the controller mode and go to position mode, leaving the PID in the servo drive, and the portico having a master motor and another slave, all configured in the servo drive, leaving linuxcnc free of heavy load. I'm not an expert and there are so many guys on the forum that you sure have a better idea



have you used it as
ethercat crc
while servos are in OP, working? If so, you have no problems with errors in frames, although you can still try to place the ASDAs first and then leave the inputs / outputs..


I'm sorry I'm not much more helpful

Greeting
Chimeno
Last edit: 14 Oct 2020 19:54 by chimeno.

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

More
14 Oct 2020 21:06 - 14 Oct 2020 21:07 #186128 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hello.
Thanks for the information and for your opinion.
I try to avoid switching to position control. Because I don't know how to do it. I'm a linuxcnc amateur.

I cannot use the "master-slave" servo control. The toothed combs are very inaccurate and I have to use "COMP_FILE" Y1.comp and Y2.comp.
And if I understood the "master-slave" servo control well, I don't think COMP_FILE will help me.

Yes, I tried "ethercat crc" when spiral milling.

Thanks so much for your time.
Jirka
Last edit: 14 Oct 2020 21:07 by jirkam.

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

More
21 Oct 2020 18:49 #186834 by chimeno
Replied by chimeno on topic ASD-A2 EtherCAT on LinuxCNC
Hello @jirkam,

I am also a fan of linuxcnc, I hope everything goes very well!

Greeting
Chimeno

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

More
27 Mar 2021 22:21 #203852 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Good day.

I have fine-tuned the position control (thanks to a smarter colleague from the forum) and I can do it with an accuracy of a few thousandths. It is super.

But ... :-)

The video "
" shows how it goes without any problems.
It's not okay on the video "
". It starts to show such errors, which do not affect the milling in any way, but in about 30 seconds of the video it goes to a worse variant - it can be heard on the servos and sometimes it ends with an error.

I know it depends on what's coming from Lcnc. I may have managed to capture this in the image vrceni.png.
This is a situation where the servo growls - the sound is heard and can be seen on the graph.

I don't understand why it sometimes runs for two hours without a mistake, then it growls for two seconds and continues for an hour, ok.
Then there are days when it growls from morning then does not growl for a while.
Other times, after an hour of milling, it starts to growl and Linux bugs crash.

It does it differently in all three axes. It does not depend on the movement of two axes - it only goes in X, for example, and suddenly it starts to growl.

I found no dependence on anything.

Can't think of where the problem might be?

Thank you very much and have a nice day.

Jirka
Attachments:

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

More
28 Mar 2021 06:32 #203867 by chimeno
Replied by chimeno on topic ASD-A2 EtherCAT on LinuxCNC
Hello @jirkam,
I am very glad that it works perfectly for you, it may be that you have some kind of deviation in the synchronism on the clock of the ethercat bus, you can examine the time of lcec in hal using halcope, if this were the problem the solution would be to install the add-tasks -pll-functions-2.8.patch.

Greeting
Chimeno

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

More
28 Mar 2021 21:55 #203952 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Thank you so much for the type.
I will definitely try.

Thank you
Jirka

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

More
06 Apr 2021 09:33 #205056 by manojpatil
Hi sir, I have a Delta driver with the motor I want to set up for this with linuxcnc through EtherCAT for a small college project can you please help me out. step by step procedure.

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

More
14 Apr 2021 19:58 - 14 Apr 2021 19:59 #205934 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hello, @ Chimeno.
I already had pll-functions-2.8.patch installed.
I set up .xml like this:

<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
    <slave idx="0" type="EK1100" name="EK1100"/>
    <slave idx="1" type="EL1819" name="DIN1"/>
    <slave idx="2" type="EL1819" name="DIN2"/>
    <slave idx="3" type="EL1088" name="DIN3"/>
    <slave idx="4" type="EL2809" name="DOUT1"/>
    <slave idx="5" type="EL2809" name="DOUT2"/>
    <slave idx="6" type="EL3064" name="AIN"/>
    <slave idx="7" type="EL4004" name="AOUT"/>
    <slave idx="8" type="EL2622" name="RELE1"/>
    <slave idx="9" type="EL2622" name="RELE2"/>
    <slave idx="10" type="EL2622" name="RELE3"/>
    <slave idx="11" type="EL2622" name="RELE4"/>
    <slave idx="12" type="DeASDA" name="X">
      <dcConf assignActivate="730" sync0Cycle="250000" sync0Shift="0" sync1Cycle="750000" sync1Shift="0"/>
    </slave>
    <slave idx="13" type="DeASDA" name="Y1">
      <dcConf assignActivate="730" sync0Cycle="250000" sync0Shift="0" sync1Cycle="750000" sync1Shift="0"/>
    </slave>
    <slave idx="14" type="DeASDA" name="Y2">
      <dcConf assignActivate="730" sync0Cycle="250000" sync0Shift="0" sync1Cycle="750000" sync1Shift="0"/>
    </slave>
    <slave idx="15" type="DeASDA" name="Z">
      <dcConf assignActivate="730" sync0Cycle="250000" sync0Shift="0" sync1Cycle="750000" sync1Shift="0"/>
    </slave>
  </master>
</masters>

Unfortunately, the servos are still growling.

Can you think of a solution?

Thank you very much Jirka
Last edit: 14 Apr 2021 19:59 by jirkam.

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

Time to create page: 0.170 seconds
Powered by Kunena Forum