Jump to content

PID - Heater and PWM output - Doesn't stabilize the temperature after autotune.


Recommended Posts


I implemented default PID. After 3 cycles of autotune the PID can't control the temperature.

I followed help:



And Video:




Autotune and PID control result

Function that I am using.


Controlling the SSR. Output of PWM is connected to A2 of the SSR






Link to comment
Share on other sites

  • MVP 2023

Autotune is not the end-all do-all in the process world.  All it does it get you close, it's not a guaranteed that your controller will be Awesome when it completes.

If you haven't any experience with tuning a PID loop I would do some Googling and learn a bit about what the parameters do.  Looking at your graphs above I think your Proportional Band is still too small.  I don't even use the Derivative parameter for most loops as it's not needed and complicates things.  Autotune calculates one anyway - the first thing I do is set this to zero.

Post the loop parameters you have.  How tightly are you trying to control?

Joe T.

Link to comment
Share on other sites

  • 2 weeks later...

I guess there is "to parts" of a stable closed loop control system. Half of it is the controller and the other half is the process itself, what is contains of time constants and dead time.

If it is a some kind of heating fan with a temperature sensor, it might give a proses that easy get unstable.


Maybe the problem is more related to the process than to the controller?    

A more detailed information about the process itself might make things a bit clearer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...