<p>Issue was with PID tuning nothing to do with the hardware. I switched to a duet wifi and used the auto tuning of the reprap firmware and now it is just working beautifully. I guess I was doing the manually tuning in such a bad way and the auto tuning on marlin was not working correctly for me.</p>

CC BY-SA 4.0
2019-05-27T10:28:43.710Z
Welcome to 3D Printing .SE! Thanks for sharing your solution with us!
0scar
CC BY-SA 4.0
2019-04-27T09:05:57.220Z
2019-04-27T09:05:57.220Z
anthony yaghi
<p>I have a TEVO Tornado that I messed a bit with, so basically now I have:</p>

<ul>
<li>MKS GEN 1.4 board</li>
<li>TMC2130 stepper drivers</li>
<li>E3D v6 hotend</li>
</ul>

<p>A few days ago the heater cartridge so I replace it with the old one that was on the hotend of the TEVO Tornado. Now ideally both should be 40&nbsp;W from what I found online but after I replaced it the heating didn't work as expect so I set out to re-tune the PID parameters but no matter what value I try the temperature is always oscillating below the desired temp. Say the desired temp is 200&nbsp;&deg;C then the head temp will oscillate between 187-200&nbsp;&deg;C. I tried <code>M303</code> auto tuning but with no luck for some reason the temperature can't go above 160-170&nbsp;&deg;C when auto tuning so I get a thermal runaway error. </p>

<p>I tried setting the D term to 0 and then to 1000 but the difference in behavior didn't change a lot which I think is weird... I thought the board might be going crazy so the timing for the PID controller is messed up but the thing is that is was working fine with the old heater cartridge. Any ideas?</p>

CC BY-SA 4.0
2019-04-21T18:59:35.143Z
what did the PID tune return?
Trish
CC BY-SA 4.0
2019-04-21T20:31:57.187Z
There is also this question in the robotics group: https://robotics.stackexchange.com/questions/167/what-are-good-strategies-for-tuning-pid-loops
Perry Webb
CC BY-SA 4.0
2019-04-26T11:09:26.103Z
Disable PID in your firmware.
Attempt to heat up.
Can you reach reasonable temperatues, e.g. 230°C?

If not, your heater cartridge or thermistor might not work correctly. You can check the resistance of the heater cartridge to calculate how much power it has (P = U^2 / R)
towe
<troubleshooting><hotend>
Tuning PID parameters for hotend
anthony yaghi
# Tuning PID parameters for hotend

(Asked by: username_0 on 2019-04-21)

I have a TEVO Tornado that I messed a bit with, so basically now I have:

* MKS GEN 1.4 board
* TMC2130 stepper drivers
* E3D v6 hotend

A few days ago the heater cartridge so I replace it with the old one that was on the hotend of the TEVO Tornado. Now ideally both should be 40 W from what I found online but after I replaced it the heating didn't work as expect so I set out to re-tune the PID parameters but no matter what value I try the temperature is always oscillating below the desired temp. Say the desired temp is 200 °C then the head temp will oscillate between 187-200 °C. I tried `M303` auto tuning but with no luck for some reason the temperature can't go above 160-170 °C when auto tuning so I get a thermal runaway error.

I tried setting the D term to 0 and then to 1000 but the difference in behavior didn't change a lot which I think is weird... I thought the board might be going crazy so the timing for the PID controller is messed up but the thing is that is was working fine with the old heater cartridge. Any ideas?

**Tags:** troubleshooting, hotend
> **Comments:**
> **username_1**: what did the PID tune return?  
> **username_2**: There is also this question in the robotics group: https://robotics.stackexchange.com/questions/167/what-are-good-strategies-for-tuning-pid-loops  
> **username_3**: Disable PID in your firmware. Attempt to heat up. Can you reach reasonable temperatues, e.g. 230°C?  If not, your heater cartridge or thermistor might not work correctly. You can check the resistance of the heater cartridge to calculate how much power it has (P = U^2 / R)  

---

## 1 answers

### Answer by username_0 on 2019-04-27. Score: 1

Issue was with PID tuning nothing to do with the hardware. I switched to a duet wifi and used the auto tuning of the reprap firmware and now it is just working beautifully. I guess I was doing the manually tuning in such a bad way and the auto tuning on marlin was not working correctly for me.

> **Comments:**
> **username_4**: Welcome to 3D Printing .SE! Thanks for sharing your solution with us!  

---

