PIDKiln icon indicating copy to clipboard operation
PIDKiln copied to clipboard

Auto-tuning?

Open TurboNerd95 opened this issue 3 years ago • 4 comments

I have 2 of those cheap crappy PID controllers like this one https://www.auberins.com/index.php?main_page=product_info&products_id=4.

I've never bothered to try and tune my kilns manually, so I use their built in auto-tuning feature. It's not supposed to be very accurate, but it works find for my needs.

Have you considered maybe adding in the PID-auto-tuning library for Arduino? https://github.com/br3ttb/Arduino-PID-AutoTune-Library

I found one good example sketch of the auto-tuning library for a kiln here; https://www.megunolink.com/articles/malt-kiln/

TurboNerd95 avatar Feb 23 '22 17:02 TurboNerd95

I've given some thought, during coding, about auto-tune. But, perhaps wrongly, I've assumed it's to big temperature scale (like 20C-1200C window) and too slow process to do reliable auto-tune. But I've assumed it without full understanding of autotune process.

Saur0o0n avatar Feb 28 '22 20:02 Saur0o0n

I'd e happy to do some beta testing if you needed it for this feature

pyr0ball avatar Jul 01 '22 06:07 pyr0ball

Hi, sorry for the late reply @pyr0ball .Adding autotune would be a really useful feature I think, so feel free to prototype it! From memory, the PIDautotune library requires about an hour to perform the Autotuning process. I think by following the example I linked, it would be quite easy to integrate it into this project, though I also don't have a great understanding of how PID works.

TurboNerd95 avatar Aug 02 '22 07:08 TurboNerd95

Thankfully @TurboNerd95, I've got a pretty decent amount of experience with heater PID tuning from my 3D printing. If I get stuck adding it to the project, would you mind if I reach out for assistance?

pyr0ball avatar Aug 06 '22 10:08 pyr0ball