Retrofit of Precix 5x10 CNC
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
22 Nov 2019 21:40 #150977
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Awesome, thanks Todd, ya, probably didn't fix that from when I was first setting it up.
It's definitely an encoder problem. With LinuxCNC open and drives not powered, if I manually push the Y axis I can see the DRO change. Same on Z, but not on X, so I am guessing my X encoder lost connection mid run. I am going through trying to check connections now.
It's definitely an encoder problem. With LinuxCNC open and drives not powered, if I manually push the Y axis I can see the DRO change. Same on Z, but not on X, so I am guessing my X encoder lost connection mid run. I am going through trying to check connections now.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
22 Nov 2019 23:45 - 22 Nov 2019 23:49 #150985
by PCW
Replied by PCW on topic Retrofit of Precix 5x10 CNC
Yes, much smaller following error limits should be used so even a small commanded
move will result in a following error if the encoder position does not "follow" the move,
this would likely have prevented your runaways
move will result in a following error if the encoder position does not "follow" the move,
this would likely have prevented your runaways
Last edit: 22 Nov 2019 23:49 by PCW.
Please Log in or Create an account to join the conversation.
- wefixprecix
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
01 Dec 2019 04:19 #151629
by wefixprecix
Replied by wefixprecix on topic Retrofit of Precix 5x10 CNC
Do you think it may be an encoder cable seperating as it bends through the flexible raceway...have a look at my username.
Please Log in or Create an account to join the conversation.
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
07 Dec 2019 19:28 #152277
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Thanks PCW!
I will get those changed, but if the cable lost connection, then would anything have prevented that?
I will get those changed, but if the cable lost connection, then would anything have prevented that?
Please Log in or Create an account to join the conversation.
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
07 Dec 2019 19:30 #152278
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Thanks!
Got your email too, and I will see about getting some spare parts.
With my broken belt, the guy I got the CNC had a spare so I was able to get up and running.
That older servo concerns me, might have to look at getting a replacement. Might be nice to have one on the shelf...
Thanks,
Randy
Got your email too, and I will see about getting some spare parts.
With my broken belt, the guy I got the CNC had a spare so I was able to get up and running.
That older servo concerns me, might have to look at getting a replacement. Might be nice to have one on the shelf...
Thanks,
Randy
Please Log in or Create an account to join the conversation.
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
07 Dec 2019 19:32 #152279
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
07 Dec 2019 19:55 - 07 Dec 2019 19:56 #152281
by PCW
Replied by PCW on topic Retrofit of Precix 5x10 CNC
A non-working encoder in a velocity mode servo can lead to
a runaway situation but typically only slow runaway (drift)
With lost feedback a static axis could drift without the controller noticing
but this would only be at a quite low speed. As soon as the controller
commanded a motion larger than the following error, the loss of encoder
feedback or erroneous feedback should cause an immediate following error
and disable the drives.
If a motion smaller than the following error limit was commanded, you will get
a slow runway with a maximum velocity proportional to the PIDs P term
times the commanded motion.
(this will typically be quite a low velocity with reasonable ferror limits)
This is why it is so important to have reasonable ferror limits...
a runaway situation but typically only slow runaway (drift)
With lost feedback a static axis could drift without the controller noticing
but this would only be at a quite low speed. As soon as the controller
commanded a motion larger than the following error, the loss of encoder
feedback or erroneous feedback should cause an immediate following error
and disable the drives.
If a motion smaller than the following error limit was commanded, you will get
a slow runway with a maximum velocity proportional to the PIDs P term
times the commanded motion.
(this will typically be quite a low velocity with reasonable ferror limits)
This is why it is so important to have reasonable ferror limits...
Last edit: 07 Dec 2019 19:56 by PCW.
Please Log in or Create an account to join the conversation.
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
07 Dec 2019 19:57 #152282
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Thanks for clarifying that PCW, I will get those fixed!
Please Log in or Create an account to join the conversation.
- randypetersen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 15
01 Mar 2020 21:57 #158914
by randypetersen
Replied by randypetersen on topic Retrofit of Precix 5x10 CNC
Hey guys, Had several incidents of an out of control X axis. Twice during homing the X axis ran much faster than my normal homing speed and before I could kill it slammed into stops. Once breaking a tool holder in my ATC. Each time I thought I had it figured out...
Once as I left the machine powered but wasn't doing anything on it for about an hour (had a visitor) and as we talked it just kicked on and went to the + side limit of X. Not just creeping but about 20in/min or faster.
Each time I checked my encoder to make sure it was reporting the values, however this last time I have no X axis encoder response.
So at first I thought I had this figured out because there was a bad looking connection to the X axis encoder and I changed that. It appears that wasn't the problem. It was difficult to figure out, because it would behave for a couple weeks without any issues.
Anyone have any suggestions on debugging? This motor on my X isnt like the other ones, it appears older. So maybe the Y and Z have been replaced. I am going to look to see if I can find an affordable replacement motor similar to the Y.
I included my HAL file and I did update the ferror values as you suggested, do you think the tuning appears to be accurate?
Thanks again for all your help!
Once as I left the machine powered but wasn't doing anything on it for about an hour (had a visitor) and as we talked it just kicked on and went to the + side limit of X. Not just creeping but about 20in/min or faster.
Each time I checked my encoder to make sure it was reporting the values, however this last time I have no X axis encoder response.
So at first I thought I had this figured out because there was a bad looking connection to the X axis encoder and I changed that. It appears that wasn't the problem. It was difficult to figure out, because it would behave for a couple weeks without any issues.
Anyone have any suggestions on debugging? This motor on my X isnt like the other ones, it appears older. So maybe the Y and Z have been replaced. I am going to look to see if I can find an affordable replacement motor similar to the Y.
I included my HAL file and I did update the ferror values as you suggested, do you think the tuning appears to be accurate?
Thanks again for all your help!
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
01 Mar 2020 22:40 #158919
by PCW
Replied by PCW on topic Retrofit of Precix 5x10 CNC
As far as tuning goes, that is checked with halscope
From your existing tuning, it looks like you are using torque mode drives
Its a bit harder to prevent runaway with torque mode drives on encoder failure
but its still possible by monitoring the PID output
Have you looked inside the encoder for possible loose connections, or other problems?
From your existing tuning, it looks like you are using torque mode drives
Its a bit harder to prevent runaway with torque mode drives on encoder failure
but its still possible by monitoring the PID output
Have you looked inside the encoder for possible loose connections, or other problems?
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.095 seconds