Author Topic: Autotune PID c code example  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 490
Autotune PID c code example
« on: December 15, 2019, 01:28:04 pm »
1. Looking for some autotune PID C code working ones. Which works directly or some minor modifications.
2. Application is heater.
3.I have tried arduino autotune pid library, but everytime it autotunes different PID values on same settings.
4. Tried some from this also: https://github.com/search?q=autotune+pid  but not working properly.
 

Offline jonroger

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: Autotune PID c code example
« Reply #1 on: December 15, 2019, 02:23:42 pm »
You can often outperform PID with some simple code.   For example, heater full on or off when there is a large error and switching to small fixed adjustments per sample period to a duty cycle when error is small.
I am available for custom hardware/firmware development.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf