Stepper Motors Oscillating

More
6 years 1 month ago #182462 by tjones
I have been noticing lately that when I am running at the higher end of machine travel I am getting oscillation in my stepper motors. I have only seen oscillation on the Servo side of things when they aren't tuned right. When I turn down my max speed it doesn't happen as much. It will even happen when I am just jogging, say to touch off a tool all of a sudden it is oscillating. It doesn't seem to effect the positional accuracy as I have measured a position before/after oscillation and its the same. I never saw this kind of issue with my last control setup (Parallel BOB). I can only think it has something to do with the initiation files I recently upgraded to using a 7i76E with the latest version of LinuxCNC. I did config through PNCCONF with only minor changes to get my spindle VFD working. When running a open loop system, should there be any values in the PID sections?

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

More
6 years 1 month ago #182466 by PCW
Replied by PCW on topic Stepper Motors Oscillating
Can you post you hal and ini files?

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

More
6 years 1 month ago #182467 by tommylight
Edit the hal file and omit or remove the lines with
setp pid.x.maxerror .0005
or similar for each axis, see if that gets rid of oscillations.

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

More
6 years 1 month ago #182691 by tjones
Replied by tjones on topic Stepper Motors Oscillating

File Attachment:

File Name: Tosh-Mill.hal
File Size:9.73 KB

File Attachment:

File Name: Tosh-Mill.ini
File Size:4.3 KB


Files are attached

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

More
6 years 1 month ago #182701 by PCW
Replied by PCW on topic Stepper Motors Oscillating
I cannot see anything obvious wrong
Can you plot the following error in halscope?

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

More
5 years 2 months ago #216722 by tjones
Replied by tjones on topic Stepper Motors Oscillating
I changed my settings to comment out the pid.x.maxerror line and that fixed my oscillation issue. The problem I get now is I get "Joint 0 following error." It is not all the time and this last time it did it I checked the line it ended on and it was only and X Y direction it was a simultaneous XYZ movement, which I though might be the issue. I can re-run the same code and it will fail at different points.

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

Time to create page: 0.378 seconds
Powered by Kunena Forum