<p>I recently experienced exactly the same problem. For me it was related to an incorrect heater cartridge. I accidentally used a 12&nbsp;V cartridge in a 24&nbsp;V powered system. </p>

<p>The heater element got accidentally mixed up between the higher voltage parts container and I forgot to check the resistance. Inserting the correct voltage heater immediately fixed the problem, but it did require a retune of the hotend.</p>

CC BY-SA 4.0
2020-04-03T09:38:48.517Z
This is the correct solution to my problem, I realised just the other day that I was using a 12V cartridge as opposed to the 24V cartridge I normally use.
FEA42
CC BY-SA 4.0
2020-04-03T09:51:47.717Z
It got me puzzled for a while until I decided to measure the resistance of the cartridge... Glad it fixed it for you too!
0scar
CC BY-SA 4.0
2020-04-03T12:38:48.017Z
I guess this should be one of our FAQ ones XD
Trish
CC BY-SA 4.0
2020-09-01T12:19:22.147Z
same problem.Got my e3dv6 for 12V system and forgot it.....
FrontENG
CC BY-SA 4.0
2020-04-02T22:33:28.303Z
2020-04-02T22:33:28.303Z
0scar
<p>Using the following code to autotune the PID:</p>

<pre><code>M303 E0 S200 C10
</code></pre>

<p>Which is setting my tuning temperature to 200&nbsp;°C using 10 cycles (though this is irrelevant in this scenario).</p>

<p>The temperature overshoots to 250&nbsp;°C then decreases until room temperature.</p>

<p>The following error is returned:</p>

<pre><code>PID Autotune failed! Temperature too high
</code></pre>

<p><a href="https://i.sstatic.net/3yoIo.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3yoIo.jpg" alt="PID Autotune graph"></a></p>

<p>As a test I reset all PID values to zero.</p>

<pre><code>M301 P00.00 I00.00 D00.00

M500
</code></pre>

<p>Then set the printer to reach 200&nbsp;°C</p>

<pre><code>M104 S200
</code></pre>

<p>This produced the following graph, where oscillations can be seen.</p>

<p><a href="https://i.sstatic.net/YkBP6.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YkBP6.jpg" alt="PID All values set to zero"></a></p>

<p>I could attempt to manual tune the PID from here but I'd rather use the autotune command if possible. Any ideas how to fix this?</p>

CC BY-SA 4.0
2020-03-05T14:46:11.620Z
No sure what exactly went wrong here, but increasing the PID_FUNCTIONAL_RANGE may help.
The overshoot may also have triggered overtemp protections (HEATER_0_MAXTEMP)
towe
CC BY-SA 4.0
2020-03-05T17:48:03.213Z
@towe I am receiving the message "PID Autotune failed! Temperature too high" so it looks like you are correct about the overtemp protections. However, I am unsure about how to/what to adjust PID_FUNCTIONAL_RANGE and HEATER_0_MAXTEMP to?
FEA42
CC BY-SA 4.0
2020-03-06T07:13:01.173Z
We'd need to know what printer (/ hotend) model you're using to say for sure what HEATER_0_MAXTEMP would be safe.
PID_FUNCTIONAL_RANGE is just a way of ensure fast heat up times. By default, Marlin heats at 100% power until it's at (Target temperature) - (PID_FUNCTIONAL_RANGE) and only then starts to modulate heating power with PWM. I'm not sure whether that applies to PID tuning though.

How long does the hot end take to heat up to the target temperature (with PID = 0)?
towe
CC BY-SA 4.0
2020-03-06T13:47:09.763Z
@towe The printer I'm using is a Creality Ender 3, the hotend setup is the stock 20W heater cartridge and thermistor, with the Ender 3 having an output power of 24W. The heater block I am using is not stock however, it is a custom one I made myself. With PID=0, the heat up time from room temp to 200°C is approx. 40s
FEA42
<pid>
PID Autotuning not working – large initial overshoot, no oscillations
FEA42
# PID Autotuning not working – large initial overshoot, no oscillations

(Asked by: username_0 on 2020-03-05)

Using the following code to autotune the PID:

```
M303 E0 S200 C10

```

Which is setting my tuning temperature to 200 °C using 10 cycles (though this is irrelevant in this scenario).

The temperature overshoots to 250 °C then decreases until room temperature.

The following error is returned:

```
PID Autotune failed! Temperature too high

```

[![PID Autotune graph](https://i.sstatic.net/3yoIo.jpg)](https://i.sstatic.net/3yoIo.jpg)

As a test I reset all PID values to zero.

```
M301 P00.00 I00.00 D00.00

M500

```

Then set the printer to reach 200 °C

```
M104 S200

```

This produced the following graph, where oscillations can be seen.

[![PID All values set to zero](https://i.sstatic.net/YkBP6.jpg)](https://i.sstatic.net/YkBP6.jpg)

I could attempt to manual tune the PID from here but I'd rather use the autotune command if possible. Any ideas how to fix this?

**Tags:** pid

> **Comments:**
> **username_1**: No sure what exactly went wrong here, but increasing the PID_FUNCTIONAL_RANGE may help. The overshoot may also have triggered overtemp protections (HEATER_0_MAXTEMP)  
> **username_0**: @username_1 I am receiving the message "PID Autotune failed! Temperature too high" so it looks like you are correct about the overtemp protections. However, I am unsure about how to/what to adjust PID_FUNCTIONAL_RANGE and HEATER_0_MAXTEMP to?  
> **username_1**: We'd need to know what printer (/ hotend) model you're using to say for sure what HEATER_0_MAXTEMP would be safe. PID_FUNCTIONAL_RANGE is just a way of ensure fast heat up times. By default, Marlin heats at 100% power until it's at (Target temperature) - (PID_FUNCTIONAL_RANGE) and only then starts to modulate heating power with PWM. I'm not sure whether that applies to PID tuning though.  How long does the hot end take to heat up to the target temperature (with PID = 0)?  
> **username_0**: @username_1 The printer I'm using is a Creality Ender 3, the hotend setup is the stock 20W heater cartridge and thermistor, with the Ender 3 having an output power of 24W. The heater block I am using is not stock however, it is a custom one I made myself. With PID=0, the heat up time from room temp to 200°C is approx. 40s  

---

## 1 answers

### Answer by username_2 on 2020-04-02. Score: 5 | Accepted answer

I recently experienced exactly the same problem. For me it was related to an incorrect heater cartridge. I accidentally used a 12 V cartridge in a 24 V powered system.

The heater element got accidentally mixed up between the higher voltage parts container and I forgot to check the resistance. Inserting the correct voltage heater immediately fixed the problem, but it did require a retune of the hotend.

> **Comments:**
> **username_0**: This is the correct solution to my problem, I realised just the other day that I was using a 12V cartridge as opposed to the 24V cartridge I normally use.  
> **username_2**: It got me puzzled for a while until I decided to measure the resistance of the cartridge... Glad it fixed it for you too!  
> **username_3**: I guess this should be one of our FAQ ones XD  
> **username_4**: same problem.Got my e3dv6 for 12V system and forgot it.....  

---

