Ralim / IronOS

Open Source Soldering Iron firmware
https://ralim.github.io/IronOS/
GNU General Public License v3.0
7.24k stars 718 forks source link

Soldering iron tip becomes red hot #556

Closed whitequark closed 4 years ago

whitequark commented 4 years ago

On the idle screen, you can hold the settings button and it will show you the firmware version.

whitequark commented 4 years ago

In case you're wondering, the tip actually started sugaring at the shoulder between the shaped end of the tip and the cylindrical portion, with the "blisters" characteristic for stainless steel overheated in air, and a layer of green patina. In spite of that I managed to recover it by some vigorous tinning, so it's still perfectly usable. That was an exciting experience though :)

Ralim commented 4 years ago

Eugh, sorry 😬 Actually saw this on twitter before the email :|.

I'll dig a bit more into it and get a fix out soon.

In explanation of whats happening:

Because the tip temp is effectively thermocouple feedback + handle temp, it will rise to approximately the ADC maximum (i.e. maximum that can be measured), and then can rise slightly as handle (cold junction) temp also rises.

I thought I had this constrained in my testing here. I'll get back to you when I have a patch figured out.

whitequark commented 4 years ago

Eugh, sorry Actually saw this on twitter before the email :|.

I don't mind. Bugs happen. This one didn't even cost me any tips (well, I guess the life of that BC2 is reduced, but probably not by much).

I'm actually impressed just how hot it got. I now want to take a tip and heat it until the point of destruction while measuring the temperature. Is it actually going to melt the stainless at one point?

Because the tip temp is effectively thermocouple feedback + handle temp, it will rise to approximately the ADC maximum (i.e. maximum that can be measured), and then can rise slightly as handle (cold junction) temp also rises.

Does this mean TS100 just can't get any higher than 420°C around room temp, and 400°C at zero (probably the lowest temp it makes sense to support)? I imagine then limiting the temperature selector to 420°C at most and also throttling the loop at ADC maximum makes the most sense, but you understand this better.

Ralim commented 4 years ago

I now want to take a tip and heat it until the point of destruction while measuring the temperature. Is it actually going to melt the stainless at one point?

Dont know if it will melt the stainless, but they do get a very nice cherry red very quickly. Haven't yet been game to destroy a tip just yet.

Does this mean TS100 just can't get any higher than 420°C around room temp, and 400°C at zero (probably the lowest temp it makes sense to support)

This would be most likely the path I'll go down long term (limiting to 420°C). However at the moment, i felt keeping the 450 as the max was easier. What the actual max is per iron also depends on the ADC offset calibration, and the tip type itself (not all tip types have the same slope, but most of them are quite close, especially the Miniware ones). The non-linear Hakko tip does let you get slightly higher on the same hardware technically.

I've added ADC limiting and fixed a race condition now :) If you have some time could you sanity check this (attached) fixes the issue for you. It works for me, here, but then again I missed the issue the first time around... TS100_red_fix.zip

whitequark commented 4 years ago

If you have some time could you sanity check this (attached) fixes the issue for you.

Works for me.