In matlab coding of PID, can I convolve error with pid equation
1 次查看(过去 30 天)
显示 更早的评论
I want to write Matlab code for pid controller.Since I am new to controllers so can anyone please guide me that to write code shall I take Laplace inverse of the equation C=Kp + Ki/s + Kd*s; And then convolve it with the error which is a scalar value e.g 3. Is this an appropriate way or not?
1 个评论
Arkadiy Turevskiy
2013-1-2
It is not clear what exactly you are trying to do. Please be more specific in what you are trying to calculate/design/simulate.
If you want to simulate a closed loop control system, your error term would not be constant and you do not need to do convolutions to calculate time-domain responses.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!