# PID auto tuning for a slow System

**URL:** <https://community.particle.io/t/pid-auto-tuning-for-a-slow-system/49130>\
**Category:** Troubleshooting\
**Created:** [April 15, 2019, 10:18pm UTC](https://community.particle.io/t/pid-auto-tuning-for-a-slow-system/49130 "2019-04-15T22:18:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Div\_IoT](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@Div\_IoT](https://community.particle.io/u/Div_IoT)\
**Post date:** [April 15, 2019, 10:18pm UTC](https://community.particle.io/t/pid-auto-tuning-for-a-slow-system/49130/1 "2019-04-15T22:18:59Z")

</div>

Hey guys,  
I am using the PID library and the PID-AutoTune library to tune a system which is slow temperature monitoring system. It takes about 1 and half hours to get to set temperature.

When I am using the library it stops tuning after a few minutes and set the variables.  
I have basically changed nothing in the library and using the example in the library to tune it. I have change the input ( to my temp probe) , setpoint to my target temp , the output to my heatsource and the gain values to my manual tune values.

To those who have used the library previously could you give any input into how I could tackle this situation.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![armor](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/armor/32/18398_2.png) [@armor](https://community.particle.io/u/armor)\
**Post date:** [April 17, 2019, 9:53pm UTC](https://community.particle.io/t/pid-auto-tuning-for-a-slow-system/49130/2 "2019-04-17T21:53:01Z")

</div>

What tuning parameters are you giving your system on the scale aggressive to conservative?

When you say ‘slow temperature system’ can you explain this a bit more. How long would you expect or want the system to get to the set temperature?

Could you post the application code you are using - it helps others to understand or spot things that are wrong.
