- Posts: 711
- Thank you received: 9
Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
- new2linux
- Offline
- Platinum Member
-
Less
More
5 years 11 months ago - 5 years 11 months ago #189237
by new2linux
Replied by new2linux on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Todd & tommylight, many thanks for your help. This attachment is the pic of what I have tried today. I have temporary edited .ini file for greater error values, this seems to have helped a bit. tommylight, I will reread your tuning procedure, I have used it in the past, many thanks!!
Edit: new pic with P=3.5; FF1=.001; Feed 1"/min (as per tommylight method!, many thanks)
2nd edit; What does the "axis f error" represent in the pic, 100u/div scale?
Edit: new pic with P=3.5; FF1=.001; Feed 1"/min (as per tommylight method!, many thanks)
2nd edit; What does the "axis f error" represent in the pic, 100u/div scale?
Last edit: 5 years 11 months ago by new2linux. Reason: add pic; add 2nd pic
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
-
Less
More
- Posts: 711
- Thank you received: 9
5 years 11 months ago - 5 years 11 months ago #189332
by new2linux
Replied by new2linux on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Many thanks for all the help!! Attached is a pic of the hal scope at 4.5"/min. After review of tommylight's tuning guide, I am not able to stop the hal scope (stop the trace) if I use the "auto & roll" in the upper right side of hal Oscope, the trace will just not stop so I can take screen-shot. What worked this time, but need to set up every time is use the "auto & single", this is what I used for this pic. The motors have good resistance to motion by hand, even with the low P value. If you increase the feed rate to say 20"/min, the motors will start oscillating. My goal is to flatten out the "rise of the axis f-error " line, correct?
many thanks
Attached is a pic of the tuning process at 20"/min; P=.089; FF1=.0155; & FF2=.00001. If you re-home the (F2 is down) the DRO will show and you can feel in the hand-wheel for the x axis some oscillation, every time, until it settles down.
If (F2 is down) and try to turn hand wheel (don't move motor, just light pressure) firm resistance is there; but if quickly reverse direction and keep light pressure, it still allow motion for short distance. The screen is difficult to set up for pic, need to use "stop" and then enlarge screen, I have not been able to have "auto" to work. I use a set up file, just for the x axis and save it so easy to find next time.
many thanks
many thanks
Attached is a pic of the tuning process at 20"/min; P=.089; FF1=.0155; & FF2=.00001. If you re-home the (F2 is down) the DRO will show and you can feel in the hand-wheel for the x axis some oscillation, every time, until it settles down.
If (F2 is down) and try to turn hand wheel (don't move motor, just light pressure) firm resistance is there; but if quickly reverse direction and keep light pressure, it still allow motion for short distance. The screen is difficult to set up for pic, need to use "stop" and then enlarge screen, I have not been able to have "auto" to work. I use a set up file, just for the x axis and save it so easy to find next time.
many thanks
Last edit: 5 years 11 months ago by new2linux. Reason: add current pic
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
-
Less
More
- Posts: 711
- Thank you received: 9
5 years 11 months ago #189611
by new2linux
Replied by new2linux on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Many thanks! This is the most recent pic of (hal scope) the x axis, I have tried many ways just not shore of the specific area of the trace I should be looking at. This pic is set at: 15"/min feed, P=.089; I=.015;
.02; FF1=.015555; FF2=.0.0; DEADBAND=0.1 I need a second opinion. The hal scope will not trigger well. Motors have good resistance to motion.
many thanks, all help warmly welcomed.
.02; FF1=.015555; FF2=.0.0; DEADBAND=0.1 I need a second opinion. The hal scope will not trigger well. Motors have good resistance to motion.many thanks, all help warmly welcomed.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
5 years 11 months ago - 5 years 11 months ago #189617
by Todd Zuercher
Replied by Todd Zuercher on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
I think I see some errors in your hal file.
You should comment out any line with
So, for example, change
to
Having the pid.n.command-deriv hal pin connected to a signal that isn't connected to an output hal pin. Has the effect of disabling the FF1.
It might also be helpful to connect pid.x.feedback−deriv to the signal x-vel-fb by adding a line like this to your hal file. (but it should still "work" without it.)
PS: The above errors are the result of a bug in PNCconfig (this was corrected in later versions) that was uncovered by a correction of a long standing bug in the PID component that cause the pid to always ignore the pid.N.command-deriv input and calculate that value internally. It is supposed to only do that if nothing is connected to it. When that was corrected connecting that pin to a null signal (like PNCconfig did) results in a 0 value which causes all sorts of problems.
You should comment out any line with
Code:
net n-vel-cmd => pid.n.command-deriv
So, for example, change
Code:
net x-vel-cmd => pid.x.command-deriv
Code:
#net x-vel-cmd => pid.x.command-deriv
Having the pid.n.command-deriv hal pin connected to a signal that isn't connected to an output hal pin. Has the effect of disabling the FF1.
It might also be helpful to connect pid.x.feedback−deriv to the signal x-vel-fb by adding a line like this to your hal file. (but it should still "work" without it.)
Code:
net x-vel-fb => pid.x.feedback−deriv
PS: The above errors are the result of a bug in PNCconfig (this was corrected in later versions) that was uncovered by a correction of a long standing bug in the PID component that cause the pid to always ignore the pid.N.command-deriv input and calculate that value internally. It is supposed to only do that if nothing is connected to it. When that was corrected connecting that pin to a null signal (like PNCconfig did) results in a 0 value which causes all sorts of problems.
Last edit: 5 years 11 months ago by Todd Zuercher. Reason: Added PS explaination.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
-
Less
More
- Posts: 711
- Thank you received: 9
5 years 11 months ago #189666
by new2linux
Replied by new2linux on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Todd, Many thanks! I am attaching the change as per your suggestion in the hope that it will be reviewed for being correct. I edited both the x & y axis. I plan to revisit the .ini file to use the original "FERROR & MIN_ERROR" if this works ok. I will be working with this change today.
many thanks
many thanks
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
5 years 11 months ago #189672
by Todd Zuercher
Replied by Todd Zuercher on topic Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Looks ok. Hopefully now the PID will respond to FF1 settings and you may have better luck tuning.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
Time to create page: 0.181 seconds