br3ttb / Arduino-PID-AutoTune-Library

420 stars 225 forks source link

How to run Autotune? #28

Open Marco-rc opened 2 months ago

Marco-rc commented 2 months ago

Hello. For the autotune sketch, should I run it with the heater on or does it work even if I am not powering the heater? I am concerned the heater may get too hot while performing the autotune and something could melt above the desired temperatures. Here is the design I am using this with: https://www.randseq.org/2020/02/3d-printer-filament-joiner.html?sc=1724725179594#c2170354465333568295

Marco-rc commented 2 months ago

Thank you. By doing that I got the following parameters which seem to me out of range:

define KP 0.62

define KI 0.25

define KD 0.39

As soon as I power the heater circuit on, the heater temperature starts going up even if the "Heater off" is displayed in the monitor. COuld it be that the MOSFET is connected the wrong way? Marco Dominguez

On Wed, Aug 28, 2024 at 12:32 AM Unexpected Maker @.***> wrote:

Yes the heater has to be on. How can it tune if it's not actually doing the thing you are wanting to tune for?

— Reply to this email directly, view it on GitHub https://github.com/br3ttb/Arduino-PID-AutoTune-Library/issues/28#issuecomment-2314426866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP35JIFQHVX4KCLKLAQIHUTZTVVGDAVCNFSM6AAAAABNFEVGWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJUGQZDMOBWGY . You are receiving this because you authored the thread.Message ID: @.***>

Marco-rc commented 2 months ago

Thank you for your reply.

By having the heater on I got the following parameters which seem to me out of range:

define KP 0.62

define KI 0.25

define KD 0.39

I noticed that ss soon as I power the heater circuit on, the heater temperature starts going up even if the "Heater off" is displayed in the monitor. Could it be that the MOSFET is connected the wrong way?