Index Homing odd offset

More
05 Nov 2015 01:40 #64759 by PCW
Replied by PCW on topic Index Homing odd offset
Note that tuning is partially done in your drive, any tuning issues there will become
apparent when you try and close the loop in LinuxCNC.

(If you run the drives open loop you might not ever notice the errors)

Tuning issues in the drive will not be fixable in LinuxCNC and must be fixed by tuning the drive

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

More
05 Nov 2015 02:16 #64762 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
That is a very good point. The dmm drives do come with a basic tuning program. I adjusted the pid settings there and ended up with something close to the default numbers. Too much P and the motor got noisy so I backed off. I have a very small amount of overshoot on the heavy Z, around .0005" to .001", always returns to 0 on the dial indicator. This is in stepper mode, slow feed or rapids, and I think that can be adjusted out in the drive pid loop or I can live with it.
In stepper mode, it feels responsive and I have not been able to fault out the drive itself.
In closed loop, it feels way off, more like some parameter is missing. Axis either creeps, dithers or is bouncing back and forth with frequency increasing at no external jogging command given. Axis jogs okay at 12-17 ipm or below, above that it joint following errors out. Direction change sometimes triggers error at slow speed.
If the drive remains powered up with no steps being sent, the motor stays at rest with no oscillations as expected.

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

More
05 Nov 2015 02:25 #64763 by andypugh
Replied by andypugh on topic Index Homing odd offset
It would be interesting to see if the velocity scaling is correct.
With P = 0 do you see the encoder-velocity and the stepgen.velocity-command matching?

They should be pretty much exactly the same number without PID interfering.

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

More
05 Nov 2015 03:08 #64764 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
Andy,

I will try to capture that with halscope.

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

More
05 Nov 2015 03:26 #64766 by PCW
Replied by PCW on topic Index Homing odd offset
Also if the drives have any input command filtering options enabled they will likely need to be turned off.
Any significant delay from the step command to motion will make closed loop tuning nearly impossible

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

More
05 Nov 2015 04:08 #64770 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
I think in ste/dir mode input filtering is always active. I glanced thru their manuals and I didn't see an option on turning it off. :(

www.dmm-tech.com/Dyn3.html

Maybe I should have purchased an analog Mesa board instead???

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

More
05 Nov 2015 06:55 #64780 by andypugh
Replied by andypugh on topic Index Homing odd offset

Maybe I should have purchased an analog Mesa board instead???


Other options are to get this mode working, go back to step-dir and forget about index-homing, or try to find another way to index-home.

Do the drives have any built-in indexing capability?

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

More
05 Nov 2015 08:58 #64783 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
I'm starting to like halscope B)
The encoder signal looks messy
What do you think? The first two are of P0 at 12 ipm, the next are at P50 and the dithering at rest which is around .001" tir.
Attachments:

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

More
05 Nov 2015 18:17 #64804 by andypugh
Replied by andypugh on topic Index Homing odd offset
That seems to suggest that P=50 is much too much.
Try repeating the test at p=0.005, 0.05, 0.5 etc and see at which point the f-error starts to reduce.

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

More
05 Nov 2015 19:21 #64813 by LearningLinuxCNC
You need to add ferror as a trace in halscope. You are tuning to minimize it so you need to see it. If ferror is close to zero all the time then the commanded and actual velocities will match.

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

Time to create page: 0.191 seconds
Powered by Kunena Forum