ASD-A2 EtherCAT on LinuxCNC

More
20 Jun 2020 20:35 #172183 by jirkam
Good day.
I would like to ask you for advice on how to better set up ASD-A2 and LinuxCNC with Velocity control. (I hope it's Velocity control - I don't know)
I can't set the curve without oscillations.
So far, this is only the "X" axis.
I tried different PID setting procedures. The result is still the same.
In ASDA_SOFT I used "Auto Gain Tining" - values ​​were set, "Auto Resonance Suppression Mode Selection" P2-47 - but no values ​​were set. (for the file "YYXZ servo X last after autotuning.txt overwrite the extension on" .par ").
In the pictures you can see the error when milling the spiral at speeds of 300mm / min and 600mm / min. When I place my hand on the spindle, I feel a jerky movement.
Sometimes it will make a "zigzag error.png" error.
Don't know what I could have set wrong?
Wouldn't Position control be better? (But I don't know how to set it)

HW:
- Chines Milling Router 1325
- 750W Delta servo motor ECMA-CA0807RS
- Delta driver ASD-A2-0721-E
- PC Latency test after startup - Max Jitter 1000 ns, after a while and after resizing the Internet browser window - Max Jitter up to 15,000 ns.
- Linux CNCRouter 4.9.0-11-rt-686-pae # 1 SMP PREEMPT RT Debian 4.9.189-3 + deb9u2 (2019-11-11) i686 GNU / Linux Lcnc 2.9

I will be happy for any advice.
Jirka

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

More
20 Jun 2020 20:36 - 20 Jun 2020 20:45 #172185 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Configs
Last edit: 20 Jun 2020 20:45 by jirkam.

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

More
20 Jun 2020 21:29 #172196 by tommylight
Those graphs look strange for an f-error, most probably due to some FF1 values that i have never seen, never seen an FF1 of over 1 !
That might be why you can not tune them.
Not sure if this is helpful but it does have a lot of info on tuning velocity servo systems with the loop closed in LinuxCNC.
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to

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

More
20 Jun 2020 22:34 #172203 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
When I decrease or increase FF1 by 5, the error increases greatly.
I'll try to tune it again. I was probably adding great values for FF1.
I will try to add the value of FF1 in 0.1 increments.

What do you think would be the ideal MAX_OUTPUT value in my case?

Thank you very much for your response.
Jirka

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

More
20 Jun 2020 22:56 #172207 by tommylight
Did you see this on that link:
-PCW mentioned several times that the FF1 value can be:

You either calculate FF1 (10/velocity@10V)
or
scale the analog output in velocity in which case FF1 = 1.0
That simplifies tuning a lot, but just so i do not make a mess trying to explain it, i will leave that to someone more "vocal" than me.

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

More
20 Jun 2020 23:24 #172210 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Yes. I have seen that. But I thought it was just about Mesa cards.
"velocity @ 10V" means velocity at 10V?
And then would it be like this? (10 / (12000 / 230V * 10V)) = 0.01916666? The Velocity 12000 is just an example and 230V is because the ASD-A2-0721-E operates at 230V. I apologize for the stupid questions. :blush:

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

More
20 Jun 2020 23:38 #172212 by PCW
Replied by PCW on topic ASD-A2 EtherCAT on LinuxCNC
The velocity scaling would have no relation to voltage, I would expect the default
scaling is in RPM or RPS, but that is just a guess. Doesn't the drive manual specify the velocity scaling?

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

More
21 Jun 2020 08:54 - 21 Jun 2020 09:02 #172224 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
I'm not sure I know what information to look for.
I'm looking for it here:
When you have a moment, please take a look at it?
Very Thanks
Last edit: 21 Jun 2020 09:02 by jirkam.

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

More
21 Jun 2020 15:00 #172241 by PCW
Replied by PCW on topic ASD-A2 EtherCAT on LinuxCNC
Velocity is specified in units of 0.1 RPM ( operation manual page 6-15 )

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

More
21 Jun 2020 16:35 #172250 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Thank you for the info.
I found something similar on page 5-8 but I didn't know how to use this value in the calculation.

I probably won't delay you anymore and I'll try to tune it again tomorrow. :)
I'll write if I succeeded.
Thank you so much for your time.
Jirka

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

Time to create page: 0.101 seconds
Powered by Kunena Forum