How to code a PID controller using int and diff function?
古いコメントを表示
dt = 1;
for i=1:dt:20
e1=x1d-y(1);
Ux=kp5*e1+ki5*integral(e1,0,Inf)+kd5*diff(e1)
回答 (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!