Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AntiBotCaptcha has a deprecated constructor in /homepages/8/d680172117/htdocs/QA/qa-plugin/q2a-captcha-antibot-master/AntiBotCaptcha.php on line 22
PID control help - Electronoobs Q&A

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.



+1 vote
Hii. How do i change the PID constants for three 135 W 220VAC band heater in your ac pid temperature project. Do you have sample solving or what. Thank you for your non stop help to us beginners :) God bless
asked by (220 points)

1 Answer

0 votes
Best answer
Well, go in the code and start tuning the Kp, Ki and Kd constants. Start with Ki and Kd = 0 and Kp = 1. Then start increasing the values till you get good PID result, so the temperature is not oscillating, not overheating or underheating. You will have to make a lot of tests till you get good results. Keep up!
answered by (30.8k points)
Do i have to change the kp, ki, and kd all at the same time or once at a time. Is there a formula on how to get those constants? Thank you for your answer :)
Well there are formulas but that's very difficult and you should make the graphs.

Just do it one by one. Have in mind the P is proportional so it will oscillate if too big. The I is integral so it will slowly add a tiny value each loop so it should be small and act only for small errors. Let's say you have 3 degrees error. You want the integral slowly add up till you get eror 0. And the derivative will affect the speed. So at the beggining is high and then it will get low. Make some tests. Keep up!
Thank youuu. I'll inform you right a way once i've achieve it