-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
Hi temp sensor DYZE design T-D500 room temperature not detected correctly #23737
Comments
Try reverting the changes from #23585 |
Marlin currently has a real problem with sensors that are NOT fairly standard 100K thermistors, with a 4.7K pull-up. The DYZE design high temperature thermistor has a room temperature value of about 3 to 4 MEGA OHMS, so the controller board analog to digital converter (ADC) has only microvolts to work with (if that), to discriminate individual degrees of temperature, let alone fractions of a degree. At about 100C, the DYZE thermistor is down to about 100K of resistance, and the temperatures should be fairly accurate and reasonable, IF the temp table is correct. At about 300C, the DYZE thermistor resistance goes VERY low, again asking the ADC function to discriminate between very small resistance changes as the temperature rises. These problems have always been there, and are in general, a limitation of the ADC's used on common controller boards. However, somewhere after Marlin 2.0.7.2 these issues got really bad, with up to 20 degree swings between successive ADC readings in later bugfix releases. Something got broken, and I can't find it. On my printer, I fixed it with a custom amplifier, and a custom thermistor table (with only two data points; 0 count at 0C, and 1023 count at 500C). The temperature "bounce" (as reported by the ADC readings), is about 0.5 degree, and in physical reality is more like 0.050 degree. Depending on the controller board, there may be a pretty severe interaction between the bed temperature readings and the hot end temperature readings, which may be expected, as they often use the same ADC input on the controller, and rapidly switch between the two. This is not a Marlin issue, but one of bad board design, and associated pin assignments. However, there is indeed an issue in Marlin after 2.0.7.2 that makes the problem much worse than it was. 2.0.7.2 would eventually settle and agree to print. After that release, no way. |
Hi.I also noticed that 100k ntc sensors are reporting temps correctly in Marlin. Thanks for this info. It explains a lot. I will check also #23585 issue to try and resolve this.
Funny thing that manufacturer didn't say anything about this issue as this sensor was sold as a perfect replacement of the 100k ntc sensor for hi temp application.
Kind regards: Samppa
…________________________________
From: rq3 ***@***.***>
Sent: Tuesday, February 15, 2022 12:40:06 AM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Author ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Marlin currently has a real problem with sensors that are NOT fairly standard 100K thermistors, with a 4.7K pull-up. The DYZE design high temperature thermistor has a room temperature value of about 3 to 4 MEGA OHMS, so the controller board analog to digital converter (ADC) has only microvolts to work with (if that), to discriminate individual degrees of temperature, let alone fractions of a degree.
At about 100C, the DYZE thermistor is down to about 100K of resistance, and the temperatures should be fairly accurate and reasonable, IF the temp table is correct. At about 300C, the DYZE thermistor resistance goes VERY low, again asking the ADC function to discriminate between very small resistance changes as the temperature rises.
These problems have always been there, and are in general, a limitation of the ADC's used on common controller boards. However, somewhere after Marlin 2.0.7.2 these issues got really bad, with up to 20 degree swings between successive ADC readings in later bugfix releases. Something got broken, and I can't find it.
On my printer, I fixed it with a custom amplifier, and a custom thermistor table. The temperature "bounce" (as reported by the ADC readings), is about 0.5 degree, and in physical reality is more like 0.050 degree.
Depending on the controller board, there may be a pretty severe interaction between the bed temperature readings and the hot end temperature readings, which may be expected, as they often use the same ADC input on the controller, and rapidly switch between the two. This is not a Marlin issue, but one of bad board design, and associated pin assignments.
However, there is indeed an issue in Marlin after 2.0.7.2 that makes the problem much worse than it was. 2.0.7.2 would eventually settle and agree to print. After that release, no way.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIDRZTL2AVTFTOQSX3LU3GAENANCNFSM5OMAZSYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks.I will test it when i have the time.
Kind regards: Samppa
…________________________________
From: Keith Bennett ***@***.***>
Sent: Monday, February 14, 2022 11:42:26 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Author ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Try reverting the changes from #23585<#23585>
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIDRJOQNAWHIA7ZQAR3U3FZMFANCNFSM5OMAZSYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Does this issue affect PID calibration? My printer sensor T-D500 displays incorrect value only at home temperature.
Kind regards: Samppa
…________________________________
From: rq3 ***@***.***>
Sent: Tuesday, February 15, 2022 12:40:06 AM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Author ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Marlin currently has a real problem with sensors that are NOT fairly standard 100K thermistors, with a 4.7K pull-up. The DYZE design high temperature thermistor has a room temperature value of about 3 to 4 MEGA OHMS, so the controller board analog to digital converter (ADC) has only microvolts to work with (if that), to discriminate individual degrees of temperature, let alone fractions of a degree.
At about 100C, the DYZE thermistor is down to about 100K of resistance, and the temperatures should be fairly accurate and reasonable, IF the temp table is correct. At about 300C, the DYZE thermistor resistance goes VERY low, again asking the ADC function to discriminate between very small resistance changes as the temperature rises.
These problems have always been there, and are in general, a limitation of the ADC's used on common controller boards. However, somewhere after Marlin 2.0.7.2 these issues got really bad, with up to 20 degree swings between successive ADC readings in later bugfix releases. Something got broken, and I can't find it.
On my printer, I fixed it with a custom amplifier, and a custom thermistor table. The temperature "bounce" (as reported by the ADC readings), is about 0.5 degree, and in physical reality is more like 0.050 degree.
Depending on the controller board, there may be a pretty severe interaction between the bed temperature readings and the hot end temperature readings, which may be expected, as they often use the same ADC input on the controller, and rapidly switch between the two. This is not a Marlin issue, but one of bad board design, and associated pin assignments.
However, there is indeed an issue in Marlin after 2.0.7.2 that makes the problem much worse than it was. 2.0.7.2 would eventually settle and agree to print. After that release, no way.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIDRZTL2AVTFTOQSX3LU3GAENANCNFSM5OMAZSYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
PID should work fine with a target temperature of 240C. |
Hi.thats good to know. Well at this point there is no need for temperature above 240C so i can print some parts in that temp range until i found some solution for this t-d500 sensor issue or just swap a replacement from other manufacturer. Is there a temp cartridge sensor 3x15mm in dimensions that is actually supported correctly in marlin and where can i purchase one?
Kind regards: Samppa
…________________________________
From: rq3 ***@***.***>
Sent: Tuesday, February 15, 2022 5:47:42 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Author ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Does this issue affect PID calibration? My printer sensor T-D500 displays incorrect value only at home temperature. Kind regards: Samppa
PID should work fine with a target temperature of 240C.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIAMVPOOBPRN2TGRXY3U3JYR5ANCNFSM5OMAZSYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I am not aware of any high temperature sensor, of any kind, that directly actually works with most 32 bit controllers and Marlin. I currently use a PT1000 platinum RTD which is 3mm x 15mm, but it requires an amplifier and a custom thermistor table. |
Hi. So in that case most likely custom thermistor table is needed at least and if this doesn't help then an amplifier.
I never done any custom thermistor table settings change in marlin. I can see that there is a settings in configuration.h at 484 mark "custom sensor 1000" and config.adv at mark 56
// Custom Thermistor 1000 parameters.
So how can i calculate Custom Thermistor 1000 parameters,any guide?
I have manufacturer thermistor resistance values for this sensor
***@***.***
Lähettäjä: ***@***.***>
Lähetetty: tiistai 15. helmikuuta 2022 21.22
Vastaanottaja: ***@***.***>
Kopio: ***@***.***>; ***@***.***>
Aihe: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Hi.thats good to know. Well at this point there is no need for temperature above 240C so i can print some parts in that temp range until i found some solution for this t-d500 sensor issue or just swap a replacement from other manufacturer. Is there a temp cartridge sensor 3x15mm in dimensions that is actually supported correctly in marlin and where can i purchase one? Kind regards: Samppa
I am not aware of any high temperature sensor, of any kind, that directly actually works with most 32 bit controllers and Marlin. I currently use a PT1000 platinum RTD which is 3mm x 15mm, but it requires an amplifier and a custom thermistor table.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIAMWUIPPZXNEYCQRHDU3KRYRANCNFSM5OMAZSYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I would just use Table 66, and accept that temperatures below 100 and above about 300 may be unstable and/or inaccurate, depending upon your control boards's ADC. |
Please be advised that pull request #23871 has been recently merged. This actually fixes many of the ongoing issues that Marln has been having with temperature control by utilizing the full 12 bit ADC capability of many controllers., which had previously been "fixed", but actually was not. Soon Marlin will have a new temperature control method called MPC (#23751) created by @tombrazier (who also recognized the root cause of Marlin's 12 bit error), which will be a replacement for either PID or bang-bang on the hot end. These two changes are major improvements in Marlin's temperature control, with no flakey PID tuning required. I am currently utilizing both changes, and can say that the results are nothing short of stunning. |
That`s a good news. If we are lucky with next Marlin version this bug issue will be resolved permanently. |
So what’s changed since the last time you’ve tested this if you’re now seeing 0 temp readings (as reported in #24043)? |
Hi. Well everyone says bugfix version is the best as it implement latest fixes so i decided to install bugfix 2.0 on my printer and see for my self if it is really more stable then the normal marlin firmware. So I installed bugfix2.0x,restore eeprom,save settings. Hardware side is the same,nothing changed all firmware configuration changes are the same as in 2.9.3. Issue reveled itself after update. As this is related to hotend temp reading and i have issues with temp sensor reporting fluctuating values on room temperature with 2.9.3 marlin then maybe swapping the sensor for new one might help, maybe marlin implement changes that doesn't work well with this sensor or this sensor is something else then what triangle labs support say. Is there temp sensor that is supported with latest fixes and work's with 32 bit board's?
…________________________________
From: Keith Bennett ***@***.***>
Sent: Friday, April 15, 2022 6:19:01 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Author ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
So what’s changed since the last time you’ve tested this if you’re now seeing 0 temp readings (as reported in #24043<#24043>)?
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIG4NWULW6QUIH3JYXDVFGCGLANCNFSM5OMAZSYA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@SamppaD78 , this is correct behavior for the Dyze sensor. At room temperature its resistance is so very high that as far as the ADC converter is concerned, it's not there at all. Marlin should report the very highest ADC count for the #66 thermistor table, or 0 degrees. At about 100C, the sensor resistance has become low enough that the ADC can make a real reading, and will start to report correct temperatures. To repeat, this is NOT a Marlin issue, and in fact the latest bugfix makes Marlin actually report what the ADC is telling it to report. This is new behavior for Marlin, and may take some getting used to, as Marlin used to report flakey temperatures that didn't make any real sense. Now it reports what it should. I don't know why room temperature is so important to you, other than to provide a "warm and fuzzy feeling" that the sensor is doing something, or anything. Marlin does, however, keep track of the hotend temperature when you tell it to heat, and if the temperature doesn't go up a certain number of degrees within a certain amount of time, Marlin will report a heater failure and shut everything off. As mentioned before, if you truly want to see accurate temperatures between the freezing point of water, and 500C, you will need a platinum RTD sensor, the appropriate amplifier, and a temp table for the combination that tells Marlin what to expect from it. The Dyze high temperature sensor is just that, a high temperature sensor, and a very good one. It is NOT, and does not claim to be, a good sensor for comfortable room temperatures. Hope this helps. |
It is as you say,i just get a bad feeling when thermistor is reporting values that are not stable. But no fuzz here about this room temp issue. What i noticed is that after update to bugfix2.0 this dyze sensor failed totally to report any kind of temperature on the screen.Heater on or off. Only after flashing the non bugfix 2.9.3 got readings on the screen. This is not normal,and you cant use printer if it reports 0C all the time. My guess is that something has changed in bugfix firmware so that this dyze sensor if it really is that what support claimed is not working. hoewer i ordered new p1000 thermistor to see if it solves this bugfix issue.
…________________________________
From: rq3 ***@***.***>
Sent: Saturday, April 16, 2022 3:52:27 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Mention ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
@SamppaD78<https://github.com/SamppaD78> , this is correct behavior for the Dyze sensor. At room temperature its resistance is so very high that as far as the ADC converter is concerned, it's not there at all. Marlin should report the very highest ADC count for the #66<#66> thermistor table, or 0 degrees.
At about 100C, the sensor resistance has become low enough that the ADC can make a real reading, and will start to report correct temperatures.
To repeat, this is NOT a Marlin issue, and in fact the latest bugfix makes Marlin actually report what the ADC is telling it to report. This is new behavior for Marlin, and may take some getting used to, as Marlin used to report flakey temperatures that didn't make any real sense. Now it reports what it should.
I don't know why room temperature is so important to you, other than to provide a "warm and fuzzy feeling" that the sensor is doing something, or anything. Marlin does, however, keep track of the hotend temperature when you tell it to heat, and if the temperature doesn't go up a certain number of degrees within a certain amount of time, Marlin will report a heater failure and shut everything off.
As mentioned before, if you truly want to see accurate temperatures between the freezing point of water, and 500C, you will need a platinum RTD sensor, the appropriate amplifier, and a temp table for the combination that tells Marlin what to expect from it.
The Dyze high temperature sensor is just that, a high temperature sensor, and a very good one. It is NOT, and does not claim to be, a good sensor for comfortable room temperatures.
Hope this helps.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIHU4F5DDDTIEYT4JI3VFKZYXANCNFSM5OMAZSYA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
With the latest bugfix, how much time did you give it to heat? It will report 0C (with some "bouncing" from ADC noise) from room temperature up to about 80C or so, then should start reporting reasonable temperatures. That may take a minute or so. If you don't get an immediate heater failure, then things are probably working as they should. With the latest bugfix, actual printing temperatures should appear to be much more stable than they used to. You can see the effect of all of this in your video. The very bouncy "room temperature" readings are basically just ADC noise. When you set 60C and the sensor warmed up, the readings become much more stable, and should be even better at higher temperatures. With the latest bugfixes, the very old 12 bit error in Marlin has really, truly been fixed, and the readings should be even better. |
It was heating until heater failure triggered printer halt error about 15sec. In marlin i have enabled
#define MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED 2
#define MILLISECONDS_PREHEAT_TIME 2000
So maybe adjusting this to a higher setting will allow it to heat-
up to the temperature when sensor can actually get a reading?
Normally my hotend will heat up really fast to 230C. With in few sec. from activating heating, heater thermistor will report temperatures about 50C . Target temperature will be reached under 1 minute to 230C. Heating element is 50W
From: rq3 ***@***.***>
Sent: Saturday, April 16, 2022 4:56:33 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Mention ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
With the latest bugfix, how much time did you give it to heat? It will report 0C (with some "bouncing" from ADC noise) from room temperature up to about 80C or so, then should start reporting reasonable temperatures. That may take a minute or so. If you don't get an immediate heater failure, then things are probably working as they should.
With the latest bugfix, actual printing temperatures should appear to be much more stable than they used to. You can see the effect of all of this in your video. The very bouncy "room temperature" readings are basically just ADC noise. When you set 60C and the sensor warmed up, the readings become much more stable, and should be even better at higher temperatures.
With the latest bugfixes, the very old 12 bit error in Marlin has really, truly been fixed, and the readings should be even better.
I would not spend money on a PT1000 unless you also get an amplifier for it. You will be disappointed.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIFB6F7L2EDJK4KTGVDVFLBJDANCNFSM5OMAZSYA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Both of those are normally unused by default in Marlin. 2000 milliseconds is 2 seconds, so you are telling Marlin that if it doesn't get a stable and useable climb in temperature within 2 seconds, declare a heater failure and shut down. Try setting that to 20000 or 30000 and see what happens. I have a 40 watt heater with a silicone sock on a custom pure silver, very small heat block. It takes almost exactly 60 seconds to go from room temperature (20C) to 200C. This really isn't the place for troubleshooting your printer. You may want to start this discussion on Discord, or the RepRap forum. |
Yes that correct,as it was sufficient time for my hotend to heatup with marlin 2.9.3.and 50w heater cartridge.I run a pid and after that I observed heating process and make a note when my thermistor is able to pick up stable reading based on value reported on the display. I will change setting to what you suggested and test again.
Thanks for advice.
…________________________________
From: rq3 ***@***.***>
Sent: Saturday, April 16, 2022 5:46:03 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: SamppaD78 ***@***.***>; Mention ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] Hi temp sensor DYZE design T-D500 room temperature not detected correctly (Issue #23737)
Both of those are normally unused by default in Marlin. 2000 milliseconds is 2 seconds, so you are telling Marlin that if it doesn't get a stable and useable climb in temperature within 2 seconds, declare a heater failure and shut down.
Try setting that to 20000 or 30000 and see what happens.
—
Reply to this email directly, view it on GitHub<#23737 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5SWIHMLR52X6LY2M6DPJ3VFLHCXANCNFSM5OMAZSYA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
From Amazon's listing for this thermistor:
|
Closing as this is a configuration issue. |
Any chance for the BIN file, or all the files in a zip? I'm having a hell of a time fixing mine up like that |
@Acarter97: This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
|
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. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Latest marlin,compiled for DYZE design T-D500 temperature sensor. Sensor table number 66. After installation and main board reset,restoring new eeprom values and storing settings noticed incorrect temperature values reported by this T-D500 sensor.
Sensor is reporting values of 26-36C at room temperature of 22C. I have,recompile marlin to make sure that thermistor value is set to 66, swap the thermistor for a new one,run PID and issue persist.
Bug Timeline
Started after replacing new thermal sensor on a latest Marlin firmware
Expected behavior
Expected stable temp at room temperatures and stable temps at printing temperature. I don't know if this issue is affecting PID calibration as the starting temperature is not correct.
Actual behavior
Reported temperature is not correct at room temperature also fluctuate between 26 and 36C at stable room temperature of 22C
Steps to Reproduce
Compile Marlin to support dyze temperature enabling sensor 66 for hotend
upload firmwire and restore settings from eeprom. Store new settings and look at temperature of the hotend when printer is at room temperature. Hotend will show 26-36C and bed will be at room temperature of 22C
Version of Marlin Firmware
2.0.9.3
Printer model
Creality ender 3 Pro
Electronics
SKR mini E3 2.0
Add-ons
no
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
Pronterface
Additional information & file uploads
Here is a T-D500 resistance values from manufacturer
vid-20220214-165344-J7HIM6aA.mp4
The text was updated successfully, but these errors were encountered: