sittner / linuxcnc-ethercat

LinuxCNC EtherCAT HAL driver
GNU General Public License v2.0
200 stars 137 forks source link

How fine tune PLL ? #109

Open serdigi opened 2 years ago

serdigi commented 2 years ago

Hello Sasha. I don't know this platform very well. Maybe I'm posting in the wrong place. I have a question. Sorry again, I guess I'm in the wrong place. Referring to your explanation https://github.com/sittner/linuxcnc-ethercat/issues/45. My problem was solved with method B, but there is still oscillation. How do I fine tune the P I controller you mentioned?

More precisely, which is the P parameter, which is the I parameter? And how to set it correctly. Thank you for your contribution to the world.

Best Regadrs

sirop commented 2 years ago

Hi.

Maybe this https://github.com/machinekit/machinekit-hal/search?p=1&q=pll will give you some hints.

BTW, do you mix up PLL ( phase locked loop) with proportional–integral–derivative controller (PID) ?