- Posts: 37
- Thank you received: 0
f-error
- pmcstoneinc
- Topic Author
- Offline
- Junior Member
-
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
If you get that with ballscrews, misalignment or end bearings are due for a check.
Regards
Please Log in to join the conversation.
- pmcstoneinc
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
can be built in HAL. All of the PID comps tuning variables are HAL pins which
means they can be connected to hal signals with net commands and changed
dynamically.
so as a first approximation:
Xcmd and Xfb .--> near comp --> mux comp --> PID P term
edit:
(commanded velocity near 0 might be a better "in position" flag as it would not change during a move)
In fact if you wanted to get fancy you could feed the commanded velocity into the lincurve comp to
set the P (or D or I) value based on velocity
Often these sorts of PID gain scheduling are done to get good high speed tracking without excessive buzzyness when static
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
- pmcstoneinc
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
PCW wrote:
Often these sorts of PID gain scheduling are done to get good high speed tracking without excessive buzzyness when static
This is the issue I have currently, I have a lot of hunting/buzzing going on while static or in position/stand still. Peter always a great help, thanks as always!
Please Log in to join the conversation.
Todd Zuercher wrote: Most anything is possible if your smart and clever enough to figure it out yourself. But there still isn't a ready made equivalent suitable for the unwashed masses to use.
Yeah, there's always a tension between providing specific ready made features or providing
the tools to build almost any feature
LinuxCNC and HAL definitely tilt in the toolkit direction
Please Log in to join the conversation.
pmcstoneinc wrote: This is the issue I have currently, I have a lot of hunting/buzzing going on while static or in position/stand still. Peter always a great help, thanks as always!
"lincurve" was written mainly to allow you to vary PID parameters based on velocity or error.[strike] (this is why it has the -io output pins, as the gain pins in PID are (for no good reason) bidirectional pins. [/strike](Fixed in versions 2.6 onwards)
linuxcnc.org/docs/2.7/html/man/man9/lincurve.9.html
Please Log in to join the conversation.
