Pid tuning 8i20.

More
08 Jan 2023 00:33 #261222 by M4MazakUser
Pid tuning 8i20. was created by M4MazakUser
So I'm finally there with the shenyang machine I've been retrofitting.  Currently boring a millimetre out of the spindle bore so I can fit a larger pull tube. As far as tuning the 8i20 cards I have a working set of pid values(I'll post a pic), I've read on the forum here that ff1 really dosent apply to torque mode drives.  But after much testing and going cross-eyed, I found that if I put around 15. Something in it it took away the (I geuss) wind up, as in as feeding along the error would creep up to say 1.2mm then hold there. Whereas with around 15 in ff1 this would remove the issue. But, at a higher than 3000mm/min speed, I  still get the same problem,  it dosent seem to scale properly.  Anyway any thoughts?the pic is before I put an ff1 value in. 
Attachments:

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

More
08 Jan 2023 00:59 #261230 by PCW
Replied by PCW on topic Pid tuning 8i20.
What is you servo thread rate? Torque mode tuning gets easier at higher thread rates

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

More
08 Jan 2023 01:06 #261234 by andypugh
Replied by andypugh on topic Pid tuning 8i20.
If you want to get fancy, the "lincurve" component was actually originally intended to allow for PID parameters that change with velocity, error, etc.

But be warned that doing that makes tuning exponentially more complicated.

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

More
08 Jan 2023 02:29 #261237 by M4MazakUser
Replied by M4MazakUser on topic Pid tuning 8i20.
I've had it running at 3k or whatever-
Thinking of bumping it up now as I just turned off temp monitoring in the bios, (the fan runs constantly now) as i was intermittently getting real time errors if I left it unattended for hours.
I'll go to 3.5 and see.

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

More
08 Jan 2023 16:11 #261272 by PCW
Replied by PCW on topic Pid tuning 8i20.
If you were already running at 3 KHz, that's probably OK.

If you have such a huge following error are you running into the torque limits
or a stability issue?

(a ~1 mm error with a P term of 838 is 20X past saturation which suggests you are torque limited or not stable)

A halscope plot of a jog would help a lot here,

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

More
08 Jan 2023 16:12 #261273 by PCW
Replied by PCW on topic Pid tuning 8i20.

If you were already running at 3 KHz, that's probably OK.

If you have such a huge following error are you running into the torque limits
or a stability issue?

(a ~1 mm error with a P term of 838 is ~25X past saturation  at 30A fulscale which
suggests you are torque limited or not stable)

A halscope plot of a jog would help a lot here,
 

 

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

More
09 Jan 2023 23:37 #261390 by M4MazakUser
Replied by M4MazakUser on topic Pid tuning 8i20.
Probably torque limited, I will change the z drive to a 2:1 reduction belt drive, its 1:1 now, it just trips under rapid, I did this with x, and don't have any issues.

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

More
09 Aug 2023 10:51 #277420 by M4MazakUser
Replied by M4MazakUser on topic Pid tuning 8i20.
For future reference,  
I found after using halscope that my main problem seems that due to the servo motor being on the limit of what the 8i20 can handle the tuning has to be close otherwise it seems that the current gets jumpy and can be prone to running out of limit constraints. 

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

Time to create page: 0.149 seconds
Powered by Kunena Forum