PID tuning the THC
- snowgoer540
-
Topic Author
- Offline
- Moderator
-
- Posts: 2405
- Thank you received: 790
At any rate, I am not sure if that is the correct approach or, maybe it's best to ask what the recommended approach is? I know in my research for PID tuning a spindle, it gets complicated, and one recommendation was to set the P value as high as possible until it oscillates, drop it down. and then adding in I and D to fine tune it. Seems much more difficult for the THC.
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
- Posts: 5719
- Thank you received: 2093
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
- Posts: 11057
- Thank you received: 3673
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
And configure it so he can modify the THC PID parameters while cutting. That way you don't have to waste time editing settings between runs.Then you need to spend some quality monitoring arc voltage in halscope. I'm not sure if Plasmac has one but it is also good to measure the error (difference between desired volts and actual volts at a higher scale). Also plot the thc enable signal so you know when pid control starts. There are a number of articles on the net that talk about PID tuning. The Wiki has some good diagrams
en.wikipedia.org/wiki/PID_controller.
I've only ever used the plasmac defaults but have earnt my credentials in THC pid tuning pre-plasmac...
Please Log in or Create an account to join the conversation.
- snowgoer540
-
Topic Author
- Offline
- Moderator
-
- Posts: 2405
- Thank you received: 790
If the chief test pilot and keeper of the dinosaurs wishes to play with PID tuning, I would recommend that he installs SIM_PIN in his ini file
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
There's so many things to know about LinuxCNC. It must take years to get your head fully wrapped around everything. And then on top of that, remember all the things you learned in the years previous

In addition, maybe he can move the ball further down the field on his project to add PID control to his Tormach spindle. I got left hanging a bit over in the Pathpilot thread. In fairness, maybe I was asking too many questions at once.And configure it so he can modify the THC PID parameters while cutting. That way you don't have to waste time editing settings between runs.Then you need to spend some quality monitoring arc voltage in halscope. I'm not sure if Plasmac has one but it is also good to measure the error (difference between desired volts and actual volts at a higher scale). Also plot the thc enable signal so you know when pid control starts. There are a number of articles on the net that talk about PID tuning. The Wiki has some good diagrams
en.wikipedia.org/wiki/PID_controller.
Please Log in or Create an account to join the conversation.
- bevins
-
- Offline
- Platinum Member
-
- Posts: 1941
- Thank you received: 336
If the chief test pilot and keeper of the dinosaurs wishes to play with PID tuning, I would recommend that he installs SIM_PIN in his ini file
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
lol, WTF is that? You keep dragging this stuff up I never heard of. Did you write the docs? lol
SIM_PIN.... lol
Please Log in or Create an account to join the conversation.
- snowgoer540
-
Topic Author
- Offline
- Moderator
-
- Posts: 2405
- Thank you received: 790
If the chief test pilot and keeper of the dinosaurs wishes to play with PID tuning, I would recommend that he installs SIM_PIN in his ini file
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
lol, WTF is that? You keep dragging this stuff up I never heard of. Did you write the docs? lol
SIM_PIN.... lol
I'm always under the impression that I'm super out of the loop/behind the curve with this stuff. Good to know I'm not alone anyways lol.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
- Posts: 11057
- Thank you received: 3673
If the chief test pilot and keeper of the dinosaurs wishes to play with PID tuning, I would recommend that he installs SIM_PIN in his ini file
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
lol, WTF is that? You keep dragging this stuff up I never heard of. Did you write the docs? lol
SIM_PIN.... lol
Dewey Garrett made me do it! The original External offset branch he wrote had some SIM_PIN windows that we used to tune the THC PID. It was pretty handy. LIke you I had never heard of it either. I think Bevins the chief router pilot might be able to use it to tune his servos perhaps.
Please Log in or Create an account to join the conversation.