Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot reach target temperature beyond 260 deg C even though Configuration.h says so #1634

Closed
emartinez167 opened this issue Mar 18, 2015 · 27 comments

Comments

@emartinez167
Copy link
Contributor

I am experiencing an issue. With an extruder quite capable of reaching over 400 deg C, I set the target temp to anything above 260 and the extruder just seems to turn off and cycles up and down in a repetitive pattern. I enabled debugging in Configuration.h by uncommenting the following line:

ifdef PIDTEMP

#define PID_DEBUG // Sends debug data to the serial port.

This is what debug writes out:
< 5:21:15 pm: echo: PID_DEBUG 0: Input 269.38 Output 255.00 pTerm 0.00 iTerm 0.00 dTerm 0.00
< 5:21:15 pm: echo: PID_DEBUG 0: Input 270.16 Output 51.41 pTerm 98.44 iTerm 1.65 dTerm 48.68
< 5:21:16 pm: echo: PID_DEBUG 0: Input 269.53 Output 255.00 pTerm 98.44 iTerm 1.65 dTerm 48.68
< 5:21:16 pm: echo: PID_DEBUG 0: Input 269.84 Output 255.00 pTerm 98.44 iTerm 1.65 dTerm 48.68
< 5:21:16 pm: ok T:269.8 /280.0 B:22.2 /0.0 T0:269.8 /280.0 T1:32.1 /0.0 @:127 B@:0
< 5:21:16 pm: echo: PID_DEBUG 0: Input 269.84 Output 255.00 pTerm 98.44 iTerm 1.65 dTerm 48.68
< 5:21:16 pm: echo: PID_DEBUG 0: Input 270.16 Output 34.37 pTerm 98.44 iTerm 1.65 dTerm 65.71
< 5:21:16 pm: echo: PID_DEBUG 0: Input 270.00 Output 50.62 pTerm 100.00 iTerm 3.32 dTerm 52.69
< 5:21:17 pm: echo: PID_DEBUG 0: Input 270.00 Output 54.93 pTerm 100.00 iTerm 4.99 dTerm 50.06
< 5:21:17 pm: echo: PID_DEBUG 0: Input 270.16 Output 47.78 pTerm 98.44 iTerm 6.63 dTerm 57.29

I would like to understand if this is an issue with the thermistor, or is there something else going on?
screenshot 2015-03-18 17 30 56

@Wurstnase
Copy link
Contributor

What kind of thermistor do you use?

@emartinez167
Copy link
Contributor Author

According to the documentation for the HPX2-MAX and self retracting extruders from GDlass3D, they are type 5:

// 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (4.7k pullup)

#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 5

Do they have some physical limitation?

Regards,

Ernesto.

On 18 Mar 2015, at 8:51 pm, Wurstnase [email protected] wrote:

What kind of thermistor do you use?


Reply to this email directly or view it on GitHub #1634 (comment).

@Wurstnase
Copy link
Contributor

Sure. Max temp for this sensor is 300°. Do you autotune your hotend for that temperature with M303?
http://www.atcsemitec.co.uk/gt-2-glass-thermistors.html

@emartinez167
Copy link
Contributor Author

I had tried before, but that led me to the now closed case of the runaway temps. I was trying to disable the runaway because when I tried to do the autotune the printer shut down due to runaway. Now that it has been resolved, I will attempt to do the autotune again.

Regards,

Ernesto

On 18 Mar 2015, at 22:05, Wurstnase [email protected] wrote:

Sure. Max temp for this sensor is 300°. Do you autotune your hotend for that temperature with M303?
http://www.atcsemitec.co.uk/gt-2-glass-thermistors.html


Reply to this email directly or view it on GitHub.

@boelle
Copy link
Contributor

boelle commented Mar 18, 2015

let us know how that goes so we can either close this one or upscale it to a potential and later verified issue

@emartinez167
Copy link
Contributor Author

Will do tonight when I get back home.

Regards,

Ernesto

On 18 Mar 2015, at 23:40, Bo Herrmannsen [email protected] wrote:

let us know how that goes so we can either close this one or upscale it to a potential and later verified issue


Reply to this email directly or view it on GitHub.

@emartinez167
Copy link
Contributor Author

I have done the PID auto tune , recompiled with the new values and the
behavior is still there, even trying with the second extruder. I am
suspecting the thermistors might not be up to the task as I can see that at
some point near the peak of the thermal curve the behavior becomes erratic.
Do you guys favor any thermistor model/brand in particular or would
switching to a different measuring device help?
On Thu, 19 Mar 2015 at 06:21 Ernesto Enrique Martínez Díaz Infante <
[email protected]> wrote:

Will do tonight when I get back home.

Regards,

Ernesto

On 18 Mar 2015, at 23:40, Bo Herrmannsen [email protected] wrote:

let us know how that goes so we can either close this one or upscale it to
a potential and later verified issue


Reply to this email directly or view it on GitHub
#1634 (comment)
.

@emartinez167
Copy link
Contributor Author

Could this be related to the Temperature issues being experienced under #1209?

On 18 Mar 2015, at 11:40 pm, Bo Herrmannsen [email protected] wrote:

let us know how that goes so we can either close this one or upscale it to a potential and later verified issue


Reply to this email directly or view it on GitHub #1634 (comment).

@Wurstnase
Copy link
Contributor

No, if you can't reach the temperature then a.) the heater is too weak, b.) the power supply is too weak, c.) the thermistor is damaged or d.) you made some max_pid configs. I tend to b or d, because your curve is really flat at the end. Normally it should overshot by 10 to 20%.

Also, my Hotend with 12V/40W reaches 250° in 90 seconds. You need 180 seconds. Maybe you ordered or get a 24V-Version and you've just a 12V PS?

@emartinez167
Copy link
Contributor Author

I have seen rather erratic curves lately (spotty, and jumpy) which led me
to think the thermistor was at fault. I'll check power consumption .
On Mon, 23 Mar 2015 at 22:15 Wurstnase [email protected] wrote:

No, if you can't reach the temperature then there is a.) the heater to
weak, b.) the power supply to weak, c.) the thermistor damaged or d.) you
made some max_pid configs. I tend to b or d, because your curve is really
flat at the end. Normally it should overshot by 10 to 20%.


Reply to this email directly or view it on GitHub
#1634 (comment)
.

@thinkyhead
Copy link
Member

@Wurstnase @emartinez167 If you can help figure out the most recent date when this problem didn't exist, I will make a tag for that and then explore the diff closely!

@Wurstnase
Copy link
Contributor

@emartinez167 could post his config.h. But @thinkyhead i don't think there is a problem with the code. I have the same thermistor and my extruder reached without any problem more than 270°. Well, I'm using a Due, but the issue should then be the same.

@emartinez167
Copy link
Contributor Author

I am also suspecting it is a hardware issue. Stuck for now as I need to order new thermistors, and going to a remote site for work until Friday. Hope to get to work in this over the weekend.

Regards,

Ernesto

On 24 Mar 2015, at 14:49, Wurstnase [email protected] wrote:

@emartinez167 could post his config.h. But @thinkyhead i don't think there is a problem with the code. I have the same thermistor and my extruder reached without any problem more than 270°. Well, I'm using a Due, but the issue should then be the same.


Reply to this email directly or view it on GitHub.

@AnHardt
Copy link
Member

AnHardt commented Mar 24, 2015

@emartinez167
If you have current Marlin and compile it with Arduino 1.0.6 - its most likely not a defect thermistor but a bug in Marlin.

@emartinez167
Copy link
Contributor Author

Currently compiling with 1.6.1. I will try 1.0.6 later when I come back
from my trip.
On Tue, 24 Mar 2015 at 20:35 AnHardt [email protected] wrote:

@emartinez167 https://github.com/emartinez167
If you have current Marlin and compile it with Arduino 1.0.6 - its most
likely not a defect thermistor but a bug in Marlin.


Reply to this email directly or view it on GitHub
#1634 (comment)
.

@Wurstnase
Copy link
Contributor

@AnHardt Which bug you are talking about?
The heater have not enough power. You can see that on the picture in the open post.
My guess again, the power supply have not enough power or the power is limited in the config.h.
Here or here

@emartinez167
Copy link
Contributor Author

Manufacturer confirmed the thermistor can only go up to 300 deg so whatI
think we see in the thermistor failing (reading becomes erratic beyond a
certain point do it could be damaged?)
On Tue, 24 Mar 2015 at 20:52 Wurstnase [email protected] wrote:

@AnHardt https://github.com/AnHardt Which bug you are talking about?
The heater have not enough power. You can see that on the picture in the
open post.
My guess again, the power supply have not enough power or the power is
limited in the config.h.
Here
https://github.com/MarlinFirmware/Marlin/blob/Development/Marlin/Configuration.h#L175
or here
https://github.com/MarlinFirmware/Marlin/blob/Development/Marlin/Configuration.h#L176


Reply to this email directly or view it on GitHub
#1634 (comment)
.

@AnHardt
Copy link
Member

AnHardt commented Mar 24, 2015

@Wurstnase
See #1660.
@emartinez167
Don't try 1.0.6.

@Wurstnase
Copy link
Contributor

@AnHardt This is #1634?!?
@emartinez167 yes, it could be damaged.

@emartinez167
Copy link
Contributor Author

LOL!

Regards,

Ernesto

On 24 Mar 2015, at 21:17, Wurstnase [email protected] wrote:

@AnHardt This is #1634?!?


Reply to this email directly or view it on GitHub.

@emartinez167
Copy link
Contributor Author

I have been following #1660... So there is no resolution yet?

I will still put new thermistors when I get back, just to be sure we have a good reference.

Regards,

Ernesto

On 24 Mar 2015, at 21:18, AnHardt [email protected] wrote:

F..! #1660


Reply to this email directly or view it on GitHub.

@nophead
Copy link
Contributor

nophead commented Mar 25, 2015

It just looks like bad PID tuning causing it to oscillate to me.

I think maybe the lack of ADC resolution at high temperatures may upset the PID stability because steps in the temperature will create large D values. What happens if you set kD to zero?

@thinkyhead
Copy link
Member

Awaiting more feedback on this and #1695 since the code has been patched to fix up some buffer overruns and other issues.

@thinkyhead thinkyhead added Bug: Potential ? Needs: Work More work is needed Needs: More Data We need more data in order to proceed labels Mar 28, 2015
@emartinez167
Copy link
Contributor Author

I just finished applying the changes and compile went good; however I have to go out. I will report back in a few hours.

Regards,

Ernesto

On 28 Mar 2015, at 11:45, Scott Lahteine [email protected] wrote:

Awaiting more feedback on this and #1695 since the code has been patched to fix up some buffer overruns and other issues.


Reply to this email directly or view it on GitHub.

@thinkyhead
Copy link
Member

👍

@emartinez167
Copy link
Contributor Author

I can now print. I am still having an issue where the PID autotune is failing due to high temperature, but I suspect it is a bad thermistor. This can be closed as far as I can tell. I will test with a new thermistor (in fact, I got an E3D v6 incoming next week) so I will tell you once I get a chance to test against that one.

Regards,

Ernesto

On 28 Mar 2015, at 12:01, Scott Lahteine [email protected] wrote:


Reply to this email directly or view it on GitHub.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants