PID self Tuner
显示 更早的评论
hi guys,
i have got an error message when i connecte the model to the PID tuner trying to linearize the model but i got a message (The plant model in the PID loop linearizes to zero, and therefore cannot be used in PID controller design. This problem occurs when one or more blocks in the PID loop have zero gain or the feedback loop is not physically closed),
it was working fine nut after i modify the abit of my model as i will show you below it doesnt work any more:
i am sure the problem is here because if i delet the first line command it will work fine, and i want to use these commands
if c>1 c=1; end if c<0 c=0; end
if c<0.5
y =0.8*(30^(-c/0.5))*(u1-u2);
elseif c>0.5
y =0.15*30^(c/0.5-2)*(u3-u2);
else
y=0;
end
so please help
if its not clear please let me know i will try to explain more
thanks
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!