how we can create u(n) function in matlab to use in design of descrete pid control design and keeping n as a variable
1 view (last 30 days)
Show older comments
for eqn Second order plant equation: y(n)=9*u(n-1)-9*u(n-2)+2*y(n-1)+y(n-2) PID controller equation in discrete: u(n)=u(n-1)+Kp*[e(n)-e(n-1)]+Ki*e(n)+Kd*[e(n)-2e(n-1)+e(n-2)]
0 Comments
Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!