A Axis creeping - Bias not fixing it - axis not responding to jog buttons

More
18 Jan 2025 21:45 #319319 by B.Reilly01
I'm attempting to add a 4th axis to my mill, but I'm running into roadblocks.  The axis jogs (but still creeps) under "open loop testing" in PNCCONF.  When I launch ProbeBasic, it no longer jogs  (while the other axes do), and it creeps at a rate of about 1/2 degree per second.  Adding bias doesn't seem to effect it.  PID is not tuned yet.  When I try to jog it it following error errors out instantly.  As you can see in my INI file, I set the following error to 5 degrees to be able to see how fast it was creeping.  What are reasonable numbers for accel for a 4th axis?  
Attachments:

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

More
18 Jan 2025 21:54 #319320 by PCW
if you get a continuous creep, it indicates a problem with feedback.
(backwards, noise generating false counts, PID with no P term etc)
The following user(s) said Thank You: B.Reilly01

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

More
19 Jan 2025 00:56 #319329 by B.Reilly01
I'm seeing the DRO move with the creeping (that's how I identified the creep), I disconnect the analog output to the drive and it stops, I'm measuring 10mv about on the output to the drive, so the creep is being generated by the control. I tried switching the Encoder direction, no change.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Jan 2025 02:39 #319340 by tommylight
Up the P value, check by hand if that stiffens the shaft after clicking on "test".
Are you using the "calibration" from the "machine" menu?
The following user(s) said Thank You: B.Reilly01

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

More
19 Jan 2025 03:01 #319343 by PCW
With a 10 mv offset and a P gain of 150 it should only take
0.0000666667 inches of following error to zero the bias.

Continuous creeping means an feedback issue of some kind.

I tried switching the Encoder direction, no change.

If feedback was working, this would cause an instant runaway.
The following user(s) said Thank You: B.Reilly01

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

More
19 Jan 2025 16:03 #319379 by B.Reilly01
Ya'll are great help - I went searching for differences between the axes in the INI and HAL since the encoder switch should have been a major problem and I found that I didn't add the do.pid.calcs to the servo thread for the a axis (addf pid.a.do-pid-calcs servo-thread). Now I got a tuneable axis with WAY too much coast (possibly a drive param issue), but now I have an axis that obeys at least. On to tuning!
The following user(s) said Thank You: tommylight

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

Time to create page: 0.076 seconds
Powered by Kunena Forum