Page 1 of 1

PID Autotune

Posted: September 9th, 2016, 12:05 pm
by MTVDNA
Hey guys,

yesterday I installed the 35 W heater from 3dsolex that I bought a while back, so now I need to adjust the PID values. I tried the following command using pronterface:

Code: Select all

M303 S200 C8
This cycles the PID autotune 8 times and outputs the results. The PID values were pretty close each time, so I 'eyeballed' average values of P10, I0.75 and D32. I then set them using:

Code: Select all

M301 P10 I0.75 D32
However, when I then set the temperature to e.g. 200, it overshoots a lot (up to 230 ish). It then cools down to 190 or so and then it settles pretty well. This would work, but imo there should be better values. When finely tuned there should not be any overshoot. Any advice on how to find these values? (I did take a course on systems and control, but that was a long time ago...)

Re: PID Autotune

Posted: September 9th, 2016, 12:44 pm
by Neotko
https://ultimaker.com/en/community/1862 ... une-failed

I think all 35W um2 heaters do overshoot a bit, at least the two solex I have do overshoot at first but they stay pretty nice after that. I use the default PID numbers that um2+ uses on 3 machines

// Ultimaker2 JarJar
#define DEFAULT_Kp 10.03
#define DEFAULT_Ki 1.50
#define DEFAULT_Kd 70.0

Re: PID Autotune

Posted: October 15th, 2016, 11:11 am
by MTVDNA
Since I started using Simplify3D I can now easily see the temperature as the bed and the nozzle heat up, and it actually doesn't overshoot at all. Apparently the PID values I found are pretty much spot on. I suspect the error had something to do with pronterface, I've had some weird issues when using it before.