Discussion of dual-loop PID and temperature control in the dryer

Interesting, I always assumed the heater’s inertia is very small compared to the inertia of the chamber itself, so the main thing to track is the chamber, and only watch the heater so it doesn’t overshoot while it’s coming up to temp.
I have an ancient dryer, and the control there is just dumb on/off, and it measures the temperature at the heatsink exhaust, so it swings by ±2 degrees. If it had PID, that would’ve been more than enough without monitoring the heatsink temperature.

🇷🇺 Оригинал

Интересно, всегда полагал, что инерция нагревателя очень мала по сравнению с инерцией самой термокамеры, поэтому следить нужно в первую очередь за камерой, а за нагревателем только чтоб не перегреть, когда на режим выходит.
У меня есть древняя сушилка, там управление вообще тупой on/off и меряется температура на выдуве у радиатора, так она гуляет ±2градуса, был бы пид - за глаза хватило без контроля температуры радиатора.

I was absolutely sure this question would come from you)

  1. I’m interested in making it better than in your dryer;)

  2. I don’t separate the logic of a big printer chamber and a small dryer, I just try to do it well. Within my understanding of the process. That’s why you joined the project too, right?

So I’m going to run a dual-loop PID in standalone, monitor the heater temperature, aim for ±0.5, and try to squeeze something similar out of Klipper. Something like that.

On the other hand, you do have the option to write your own logic like @Xatang (https://t.me/Xatang) did — he made it for himself and then gave the result of his work to the community.

🇷🇺 Оригинал

я прям был уверен что этот вопрос от тебя будет)

1 мне интересно сделать лучше чем в твоей сушилке;)

2 я не делю логику большой камеры принтера и маленькой сушилки, а просто стараюсь сделать хорошо. В рамках своего понимания процесса. Ты же в проект пришел поэтому?

Поэтому я буду рулить двухконтурным пидом в стендалон, проверять температуру грелки , добиваться ± 0.5 и пытаться выжать что-то похожее из клиппер. Ну как-то так.

С другой стороны у тебя есть вариант написать свою логику как это сделал @Xatang (https://t.me/Xatang) , сделал для себя и подарил результат своего труда сообществу.

I used about the same logic for the dryer, just with the focus that every plastic has a maximum delta you mustn’t go beyond, because the air coming out of the heater can soften it. It’s a working approach, but it depends on the volumes involved; in a single unit it works well and successfully holds temp for me within ±1 degree.

🇷🇺 Оригинал

я примерно такую же логику делал для сушилки, только с упором на то что у каждого пластика есть максимальная дельта, куда нельзя лезть ибо вылетающий из грейки воздух может его поплавить. Это рабочая история, но вопрос объемов, в юните это хорошо работает и оно успешно держит мне темп ±1 градус

https://portal.idryer.org/share/session/KpWRVIIL0xuEHijo
For me it’s around 50 degrees, but from 70 and up it stays within 0.5 literally just a few minutes after reaching the target.
The heater uses similar logic, just a bit simpler.
Here’s the realtime.

🇷🇺 Оригинал

https://portal.idryer.org/share/session/KpWRVIIL0xuEHijo
У меня на 50 примерно градус, но от 70 и выше в пределах 0.5 буквально спустя несколько минут после выхода на таргет.
В грелке логика похожая, но чуть проще.
Вот реалтайм.

I said ±1 just so I definitely wouldn’t be misleading anyone — I honestly don’t remember how much it was fluctuating there in tenths, that was visible during debugging. In the final firmware everything is heavily rounded so the graphs don’t go crazy)

🇷🇺 Оригинал

± 1 я сказал чтобы точно не ввести в заблуждение, я честно не помню на сколько оно там плавает в десятых, это во время отладки видно было. В итоговой прошивке все сильно округлено, чтобы графики с ума не сходили)

Ok, well then you’re exactly the right person to do some research on how much the temperature of the heater core itself differs from the louvered frame, because right now the little bead is mostly measuring the radiator temperature, whereas ideally you should be measuring the heater itself, if you’re aiming for goals like that.

🇷🇺 Оригинал

Ок, ну тогда тебе сам бог велел провести исследования как разнится температура самого “сердечника” нагревателя и обрешётки, потому как сейчас капля больше меряет температуру радиатора, а по хорошему надо мерять нагреватель, раз уж такие цели заявлены.