Hi all,
I'm wondering if anybody would mind sharing their experience or advice with tuning the PID settings in UCCNC please?
I have a Denford Triac mill with a DC spindle motor and sprint 1200 dc drive. I'm using 0-10v analog control, which seems to be working well, but I'm having trouble with the PID values to get the motor to be fast at responding to changes in speed, ie, Id like to use it for rigid tapping.
I am using an incremental encoder with 50ppr, after changing from a 1000ppr encoder because my AXBB-E couldn't handle the pulse rate with the spindle speed. (Ideally I'd have chosen a 200ppr encoder, but I had the other one to hand).
Currently my settings are:
Kp: 0.142
Kd:0
Ki:0.0172
Sample time: 20ms
With these settings the speeds are reached in around 3 seconds, but fluctuate slightly around the desired rpm for a little, then settle close to or at the desired speed.
I have played around with the settings for quite a while, and changing the values in whole numbers too much causes VERY erratic motor behaviour, so these settings are the best I have got so far
Any pointers would be appreciated,
Thanks