Unusual Movement

More
19 Feb 2016 15:13 #70372 by LS
Unusual Movement was created by LS
I have been converting my existing mill from parport interface to a 5i25. So far I have everything functioning ... except something seems odd about the movement. I can rapid across the table just fine, the deceleration is okay, but in the final few mm's it moves really really slow before coming to a stop. Is there configuration to change this?

LinuxCNC 2.7.4
Mesa 5i25 to existing (parport) Controller
3-axis Mill using Steppers

PS: I wasn't sure which topic to put this under.

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

More
19 Feb 2016 15:40 #70373 by PCW
Replied by PCW on topic Unusual Movement
Try setting the P term to 1000

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

More
19 Feb 2016 17:55 #70376 by PCW
Replied by PCW on topic Unusual Movement
( assuming this is a pnnconf configuration )

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

More
19 Feb 2016 22:29 #70386 by LS
Replied by LS on topic Unusual Movement
Excellent thanks. I had just been reading your other post "suboptimal P settings" and thought it might be related.

I have a longer servo thread period, so using your calculation:
P = 1 / (servo_thread)
P = 1 / 0.003
P = 333.33
The movement is working correctly now.

I have a long servo period due to infrequent high jitter. One day I'll get some time to investigate it ...

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

More
19 Mar 2016 15:26 #71898 by LS
Replied by LS on topic Unusual Movement
Initially this seemed to have resolved it, but there is still something not quite right.

(1) Infrequently the final movement (before coming to a stop) moves very slowly.

(2) Jogging (in any axis) with fast speeds is very smooth. However, jogging at slower speeds is not smooth, and randomly sounds like its either missing steps or decelerating/accelerating.

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

More
19 Mar 2016 16:13 #71901 by PCW
Replied by PCW on topic Unusual Movement
How bad is your jitter?
Can you post your hal/ini files here?

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

More
10 May 2016 16:20 #74455 by Wirewrap
Replied by Wirewrap on topic Unusual Movement
I have found this same type of movement in a new 6i25 installation by pncconf. Pncconf has set P=20 and FF=1 as default.
When I get to this machine next time I will try to change P to 1000, but what about FF?

Setup is Debian Wheezy with LinuxCNC 2.7.4
PnCConf is Beta 1
Mesa 6i25 controlling three Gecko G213V directly.

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

More
11 May 2016 14:21 #74515 by PCW
Replied by PCW on topic Unusual Movement
FF1 must be 1
P should be 1000 for 1 KHz servo thread
The following user(s) said Thank You: Wirewrap

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

More
13 May 2016 12:18 #74594 by Wirewrap
Replied by Wirewrap on topic Unusual Movement
I changed P in my machine file to 1000 and this worked out very well.

Then I wanted to run Pncconf to improve on my axis timing.
I could not change the P values in Pncconf, the numeric fields were grayed out. I manually edited xP etc. in the .XML file but I suspect there is a way to change PID parameters in the Pncconf menus.

If you want to change step rate in Pncconf axis test, the axis has to be enabled and I tried similar variations for PID parameters but no luck.

So, how do one change PID params in Pncconf?

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

More
13 May 2016 12:40 - 13 May 2016 12:40 #74595 by PCW
Replied by PCW on topic Unusual Movement
Like stepconf, pncconf works well for making an initial ha/ini file set but
later changes are best made by direct editing of the files

If you want to change the PID parameters on a live system, the calibrate menu in Axis is a good way
Note that there is really not much to tune unless you have special problems you need to solve

P=1000
FF1=1
everything else 0

Is very close to optimum for a 1 KHz servo thread system
Last edit: 13 May 2016 12:40 by PCW.

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

Moderators: cmorley
Time to create page: 0.074 seconds
Powered by Kunena Forum