Hi Pseudo,
Today I spent some time on optimizing the drive setup:
Initial Setup:
- Pr0.00 = 1 (set bandwith automaticall)
- Pr0.02 = 1 (velocity mode)
- Pr1.15 = 0 (mode of position control - fixed to first gain)
- PID within LinuxCNC was basically the same for all axes with P=5; I=0; D=0; FF1=1
Then I was entering LinuxCNC and opened the hal-scope in order to check on the following error.
The speed was set to 10m/min and I moved the axis.
Following errors were about 0.35mm.
Afterwards I have changed the parameters of the drives to
- Pr0.00 = 0 (inactive)
- Pr0.02 = 0 (inactive)
- Pr1.XX Gain adjustment values set to default
- Inertia Ratio values remained unchanged
(PS: with these settings I cannot recommend to use the jogging command of Motion Studios)
The results in hal-scope basically did not change - which admittedly was a bit unexpected.
But the big game changer was that from now on I was able to adjust my PID parameters freely without any strange interferences from the drives (in the past I got rattling noises and vibration as soon as the PID parameters became to "strong").
The procedure was as follows:
- Increase P until some oscillation is visible and slighlty lower the value again (velocity set to 10m/min)
- Then I tried to use I and D to adjust the remaining error as well as overshoots without satisfying results - so I kept I = 0 and D =0
- Increase FF1 very slightly and got the effect that was expected from integral part
- Put FF2 into action to remove overshoots as expected from differential part
As you can also see in the attached pictures this helped to extremely lower the following error to values below 0.07mm at 10m/min. With these values I seem to reached a limit. Typically I am machinng with velocities of less then 3m/min. At these velocities I get following errors which are ridicolously low.
I used these settings to mill a few parts and I am really happy with it!
Attached you will find my latest settings.
Maybe you can try this approach with your machine setup and report if you also get good results?
Cheers