Viesturz:
rapido
Here are some links that I found. It doesn’t look like the developers are very interested in this.
The main question here is “Does it affect your printing?”
I’m never against improvements, but they have to be kept in perspective of the ultimate goal you’re trying to achieve here.
Otherwise you’re just “chasing zeros” for accuracy with diminishing returns.
Case in point, Hotend temps.
Ultimate goal: Melt a thermoplastic past it’s glass transition temp to extrude it.
Glass transition temp isn’t a sharp cut off point, It’s a smooth curve.
[image]
If you look up a glass transition temp, I…
DangerKlippers:master
← jslaker:positional-pid
opened 04:15AM - 11 Apr 24 UTC
This PR adds @Dans98 's Positional PID algorithm updated with support for PID pr… ofiles to DangerKlipper. This code was originally part of Klipper3d/klipper#5955 along with pid_v and the new calibration routine, but was removed from the subsequent PRs that were merged into DK.
This algorithm functions largely the same as the standard PID loop from mainline Klipper, but corrects a few fundamental implementation errors that cause temperature overshoot and instability on some setups.
Because this change is high impact/risk in nature, I've implemented this as an additional ControlPositionalPID heater class instead of replacing the mainline loop outright. The core PID algorithm has nearly two years of testing behind it at this point and should be solid, but it'd probably be wise to allow an extended testing period to make sure my changes to add in PID profiles haven't caused any side effects before/if the current loop is replaced.
Users can select this algorithm by setting `control = pid_p`.
Over the last month or so, I’ve dug into the pid calibrate and the pid control sections of the codebase. I’ve come up with some significant, but not blatantly obvious performance improvements. I can only test and validate so much myself, so I wanted to make it available to the community for additional testing and feedback.
pid calibrate
If you set the WRITE_FILE flag when running a tune, you can plot the output and get a good idea of the systems dynamics. The following two plots are of tuning …
Klipper3d:master
← dans98:Final-PID-Improvements
opened 07:32PM - 24 Dec 22 UTC
This PR is related to improving PID control within the constraints Klipper
curr… ently operates under. I've made changes to the calibration algorithm as
well standard positional form algorithm. Additionally I've added a standard
velocity form algorithm, that eliminates to potential for integral windup.
Please see one of the 2 commit messages for greater details, test results, and
links to relevant papers.
-Dan S.
Klipper3d:master
← dans98:Klipper-Velocity-PID
opened 11:44PM - 26 Jun 23 UTC
A stand alone pr the contentions the minimum amount of changes required to incor… porate the velocity pid control algorithm.
The reason I ask is that on my motherboard, the ADC is only 9 bits, i.e. 0 to 1023. This, combined with a very non-linear NTC, makes temperature measurement for high temperatures very inaccurate. (If you have something better, this does not apply to you.) I do not know if it is measured several times to improve this.
If there is noise/inaccurate temperature measurements, (change in) software can help. But it is perhaps better/easier to improve hardware. I got improved temperature stability very much, probably 10 times better, or more.
1 Like